
slack_mcp
一个支持手动命令和AI交互的Slack工具集,集成Claude和Agno。
Repository Info
About This Server
一个支持手动命令和AI交互的Slack工具集,集成Claude和Agno。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
🤖 Slack_MCP Server
A smart Slack toolset that supports manual commands and AI-powered interactions via Claude and Agno, acting as a Middleware Command Processor (MCP).
⚙️ Project Overview
This project integrates with Slack in two flexible ways:
- 🔧 Manual Tools — Trigger custom logic with predefined Slack commands.
- 🤖 AI-powered — Use Claude (via Agno) to process natural language commands.
Ideal for automating workflows, responding intelligently in threads, and enhancing Slack-based productivity.
🗃️ Project Structure
| File | Description |
|---|---|
main.py | App entry point — routes messages to the appropriate handler |
slack.py | Slack event handling and API communication |
slack_manual.py | Manual command handlers (e.g., /status, /report) |
README.md | You are here 📘 |
pyproject.toml | Project dependencies and settings |
uv.lock | Locked dependency versions |
.gitignore | Files ignored by Git |
.python-version | Python version used for virtual environment |
🚀 How It Works
🛠 Manual Slack Tools
- Uses Slack slash commands or message keywords.
- Routes messages to specific functions inside
slack_manual.py. - Example:
➝ Generates a manual task report./report today
🧠 Claude (via Agno) Integration
- Connects to Claude using Agno as a middleware API.
- Accepts flexible natural language like:
"Summarize this channel’s last 5 messages." "Create a ClickUp task from this message." - Claude processes the intent and Slack_MCP executes the right logic.
🔧 Setup
1. Clone the Repo
git clone https://github.com/your-username/slack_mcp.git
cd slack_mcp
2. Install dependencies
pip install -r requirements.txt # or use `uv` if preferred
🔐 Environment Variables
Set up a .env file with:
# Slack
SLACK_BOT_TOKEN=xoxb-...
SLACK_SIGNING_SECRET=...
# Claude / Agno
AGNO_API_KEY=...
CLAUDE_MODEL_ID=claude-2
# Optional
LOG_LEVEL=info
🧪 Running Locally
python main.py
Or using uvicorn (if using FastAPI):
uvicorn main:app --reload
📎 Useful Commands
| Command | Description |
|---|---|
/status | Shows current server and AI status |
/mcp help | Lists available manual and Claude commands |
| Natural messages | Routed through Claude via Agno |
📬 Future Improvements
- Slack thread-context memory
- Claude fallback when manual commands fail
- ClickUp/Jira integration
📝 License
MIT License
Built by SukeshOfficial ⚡
Quick Start
Clone the repository
git clone https://github.com/sukeshofficial/slack_mcpInstall dependencies
cd slack_mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.