{"id":30868954,"url":"https://github.com/jexp/slack-mcp-host","last_synced_at":"2026-03-11T01:01:35.702Z","repository":{"id":286705096,"uuid":"962280049","full_name":"jexp/slack-mcp-host","owner":"jexp","description":"MCP Host Server Application for Slack","archived":false,"fork":false,"pushed_at":"2025-04-07T23:42:05.000Z","size":24,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-07T22:23:23.683Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jexp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-07T23:26:08.000Z","updated_at":"2025-07-13T10:54:42.000Z","dependencies_parsed_at":"2025-04-08T00:37:59.182Z","dependency_job_id":null,"html_url":"https://github.com/jexp/slack-mcp-host","commit_stats":null,"previous_names":["jexp/slack-mcp-host"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jexp/slack-mcp-host","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fslack-mcp-host","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fslack-mcp-host/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fslack-mcp-host/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fslack-mcp-host/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jexp","download_url":"https://codeload.github.com/jexp/slack-mcp-host/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fslack-mcp-host/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30364598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-07T22:03:58.330Z","updated_at":"2026-03-11T01:01:35.592Z","avatar_url":"https://github.com/jexp.png","language":"Python","funding_links":[],"categories":["🤖 AI/ML"],"sub_categories":[],"readme":"# Slack MCP Host\n\nA Slack bot that integrates MCP (Machine Control Protocol) servers with Slack, providing LLM-powered interactions in dedicated channels. The bot can execute tools from configured MCP servers and present results in a user-friendly format.\n\n## Features\n\n- 🤖 LLM-powered conversations in Slack\n- 🔧 Integration with multiple MCP servers\n- 📝 Markdown rendering support\n- 🔍 Collapsible tool execution results\n- 💾 Conversation history maintenance\n- 🔐 Secure configuration management\n\n## Prerequisites\n\n- Python 3.11+\n- [uv](https://github.com/astral-sh/uv) for dependency management\n- A Slack workspace with admin access\n- OpenAI API access\n- One or more MCP servers\n\n## Setup\n\n1. **Clone the repository**\n```bash\ngit clone https://github.com/yourusername/slack-mcp-host.git\ncd slack-mcp-host\n```\n\n2. **Create and activate virtual environment**\n```bash\nuv venv\nsource .venv/bin/activate  # On Windows: .venv\\Scripts\\activate\n```\n\n3. **Install dependencies**\n```bash\nuv sync\n```\n\n4. **Configure environment**\n```bash\ncp .env.example .env\n```\nEdit `.env` with your credentials:\n```bash\nSLACK_API_KEY=xoxb-your-slack-bot-token\nOPENAI_API_KEY=your-openai-api-key\nOPENAI_BASE_URL=https://api.openai.com/v1\nOPENAI_MODEL=gpt-4\n\n# MCP Servers\nSLACK_MCP_NEO4J_MOVIES=uvx mcp-neo4j-cypher --url neo4j+s://demo.neo4jlabs.com --username movies --password movies\nSLACK_MCP_TIME=uvx mcp-server-time\n```\n\n5. **Create Slack App**\n- Go to [api.slack.com/apps](https://api.slack.com/apps)\n- Click \"Create New App\" → \"From an app manifest\"\n- Select your workspace\n- Copy and paste the contents of `manifest.yml`\n- Create the app and install it to your workspace\n\n## Deployment\n\n### Cloudflare Workers\n\n1. **Install Wrangler**\n```bash\nnpm install -g wrangler\n```\n\n2. **Login to Cloudflare**\n```bash\nwrangler login\n```\n\n3. **Set secrets**\n```bash\nwrangler secret put SLACK_API_KEY\nwrangler secret put OPENAI_API_KEY\n```\n\n4. **Deploy**\n```bash\nwrangler deploy\n```\n\n5. **Update Slack App configuration**\n- Go to your Slack App settings\n- Update the Event Subscription URL to your Cloudflare Workers URL:\n  `https://slack-mcp-host.\u003cyour-worker-subdomain\u003e.workers.dev/slack/events`\n\n## Usage Example\n\nHere's an example interaction flow:\n\n1. **User starts conversation**\n```\nUser: Can you help me find movies directed by Christopher Nolan?\n```\n\n2. **Bot responds with tool execution**\n```\nBot: I'll help you find movies directed by Christopher Nolan using the Neo4j Movies database.\n\n\u003cdetails\u003e\u003csummary\u003eTool Results\u003c/summary\u003e\nTool neo4j_movies result:\n- Inception (2010)\n- The Dark Knight (2008)\n- Interstellar (2014)\n- Memento (2000)\n- The Prestige (2006)\n\u003c/details\u003e\n\nWould you like to know more details about any of these movies?\n```\n\n3. **User follows up**\n```\nUser: Tell me more about Inception\n```\n\n4. **Bot executes another query**\n```\nBot: I'll get the details about Inception for you.\n\n\u003cdetails\u003e\u003csummary\u003eTool Results\u003c/summary\u003e\nTool neo4j_movies result:\nTitle: Inception (2010)\nDirector: Christopher Nolan\nCast: Leonardo DiCaprio, Joseph Gordon-Levitt, Ellen Page\nPlot: A thief who steals corporate secrets through dream-sharing technology is given the inverse task of planting an idea into the mind of a C.E.O.\n\u003c/details\u003e\n\nThe movie received critical acclaim for its innovative storytelling and visual effects. Would you like to know about any other movies or specific aspects of Inception?\n```\n\n## Development\n\nTo run locally for development:\n\n```bash\nuvicorn src.api:app --reload --port 8000\n```\n\nUse [ngrok](https://ngrok.com/) or similar to expose your local server:\n```bash\nngrok http 8000\n```\n\nUpdate your Slack App's Event Subscription URL with the ngrok URL.\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjexp%2Fslack-mcp-host","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjexp%2Fslack-mcp-host","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjexp%2Fslack-mcp-host/lists"}