Labsco
zkeviny logo

Zero‑Exposure Slack Sender (MGC Secure Edition)

1

from zkeviny

Send Slack messages securely using MGC Blackbox. No plaintext credentials, no leaks.

🔥🔥✓ VerifiedFreeQuick setup

Zero‑Exposure Slack Sender (MGC Secure Edition)

Send Slack messages safely without exposing webhook URLs or bot tokens.
All credentials are stored locally in MGC Blackbox, ensuring zero plaintext secrets and zero accidental leaks.


✨ Features

  • Zero‑Exposure: Slack credentials never appear in code or logs
  • Local encryption: Powered by MGC Blackbox secure vault
  • Supports Webhook & Bot Token
  • CLI + MCP Tool dual usage
  • Mock mode for development without real Slack

🔐 Store Slack Credentials in MGC

Create a JSON file:

Copy & paste — that's it
{
  "webhook_url": "https://hooks.slack.com/services/T.../B.../xxxx",
  "bot_token": "xoxb-...",
  "default_channel": "#general"
}

Store it securely:

Copy & paste — that's it
mgc_save info_type=config info_owner=slack_bot < slack_config.json

info_type and info_owner are identifiers you define yourself, used to retrieve encrypted data from MGC.


🛠 MCP Tool: send_slack_message

Example:

Copy & paste — that's it
from mcp import MCPClient

client = MCPClient("http://localhost:57219")

result = client.call_tool("send_slack_message", {
    "text": "Deployment complete!",
    "channel": "#deployments",
    "username": "Deploy Bot",
    "icon_emoji": ":rocket:"
})

print(result)

Tool parameters:

NameTypeDescription
textstringMessage text
channelstringSlack channel (optional)
usernamestringCustom bot name (optional)
icon_emojistringEmoji icon (optional)

📁 Files

FileDescription
README.mdThis file
SKILL.mdSkill documentation for AI clients
mcp_server.pyMCP server implementation
example.pyCLI demo script

🔒 Security

  • Credentials stored only in local MGC Blackbox
  • No plaintext secrets in code or logs
  • No cloud upload
  • No subprocess / exec / shell usage
  • Safe for AI automation workflows

📄 License

MIT
Author: MirginCipher

Copy & paste — that's it

---