Open-source Slack alternative for enterprise messaging.
## Mattermost MCP Server: Open Source Collaboration The **Mattermost MCP Server** integrates Mattermost's open-source messaging platform into Google Antigravity. This enables team communication, bot development, and workflow automation on a self-hosted platform with enterprise features. ### Why Mattermost MCP? Mattermost offers open-source flexibility: - **Self-Hosted**: Full control over data - **Open Source**: Customize everything - **Enterprise Features**: SSO, compliance, high availability - **Integrations**: Webhooks, bots, plugins - **Security**: On-premise deployment option ### Key Features #### 1. Send Messages ```python from mattermostdriver import Driver driver = Driver({ "url": "https://mattermost.example.com", "token": "your-token" }) driver.login() # Post message driver.posts.create_post({ "channel_id": "channel-id", "message": "Deployment complete! :rocket:" }) ``` #### 2. Webhooks ```python import requests # Incoming webhook webhook_url = "https://mattermost.example.com/hooks/xxx" requests.post(webhook_url, json={ "text": "Build Status Update", "attachments": [{ "color": "#00FF00", "title": "Build #123 Passed", "fields": [ {"short": True, "title": "Tests", "value": "142 passed"}, {"short": True, "title": "Coverage", "value": "87%"} ] }] }) ``` #### 3. Bot Development ```python from mmpy_bot import Bot, Settings, listen_to settings = Settings( MATTERMOST_URL="https://mattermost.example.com", BOT_TOKEN="your-bot-token" ) @listen_to("deploy (.*)") async def deploy(message, env): await message.respond(f"Deploying to {env}...") # Trigger deployment await message.respond("Deployment complete!") bot = Bot(settings=settings) bot.run() ``` ### Configuration ```json { "mcpServers": { "mattermost": { "command": "npx", "args": ["-y", "@anthropic/mcp-mattermost"], "env": { "MATTERMOST_URL": "https://mattermost.example.com", "MATTERMOST_TOKEN": "your-token" } } } } ``` ### Use Cases **DevOps Notifications**: Post build and deploy status. **Security Alerts**: Self-hosted incident communication. **Custom Bots**: Build bots with full control. The Mattermost MCP Server brings open-source collaboration to Antigravity.
{
"mcpServers": {
"mattermost": {}
}
}