Channel management and messaging within Slack workspaces
## Slack MCP Server: Team Communication Hub The **Slack MCP Server** integrates Slack's team communication platform into Google Antigravity. This enables AI-assisted team collaboration, automated messaging, and workflow integration directly from your development environment. ### Why Slack MCP? Slack is essential for modern teams: - **Real-Time Messaging**: Instant team communication - **Channels**: Organize conversations by topic - **Integrations**: Connect 2000+ tools - **Workflows**: Automate repetitive tasks - **Searchable**: Find any message or file ### Key Features #### 1. Send Messages ```python from slack_sdk import WebClient client = WebClient(token="xoxb-your-token") # Send to channel response = client.chat_postMessage( channel="#engineering", text="Deployment completed successfully! :rocket:", blocks=[ {"type": "section", "text": {"type": "mrkdwn", "text": "*Deploy Status*"}} ] ) ``` #### 2. Channel Management ```python # Create channel channel = client.conversations_create( name="project-alpha", is_private=False ) # Invite users client.conversations_invite( channel=channel["channel"]["id"], users=["U123", "U456"] ) ``` #### 3. Workflow Automation ```python # Listen for events @app.event("message") def handle_message(event, say): if "deploy" in event["text"].lower(): say("Starting deployment process...") # Trigger deployment ``` ### Configuration ```json { "mcpServers": { "slack": { "command": "npx", "args": ["-y", "@anthropic/mcp-slack"], "env": { "SLACK_BOT_TOKEN": "xoxb-your-token", "SLACK_SIGNING_SECRET": "your-secret" } } } } ``` ### Use Cases **Deployment Notifications**: Alert team when deployments complete. **Incident Response**: Automate alerts and coordination. **Code Reviews**: Notify reviewers and track discussions. The Slack MCP Server brings team communication to Antigravity.
{
"mcpServers": {
"slack": {
"env": {
"SLACK_TEAM_ID": "T01234567",
"SLACK_BOT_TOKEN": "xoxb-your-bot-token"
},
"args": [
"-y",
"@modelcontextprotocol/server-slack"
],
"command": "npx"
}
}
}SLACK_TEAM_IDT01234567SLACK_BOT_TOKENxoxb-your-bot-token