MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

S
Slack Cli MCP Wrapper
作者 @CLIAI

Docker-wrapped Slack MCP server exposed as CLI for token-efficient LLM agent interaction

创建于 1/23/2026
更新于 about 1 month ago
Repository documentation and setup instructions

slack-cli-mcp

"We've been using MCP wrong. Loading all tool definitions upfront consumed ~150,000 tokens before any user request." — Anthropic Engineering Blog

A Docker-wrapped Slack MCP server exposed as CLI, achieving 98.7% token reduction for LLM agents.

Quick Start

# 1. Build
./slack-cli-mcp docker build

# 2. Start + Login
./slack-cli-mcp docker start
./slack-cli-mcp docker creds-login

# 3. Use
./slack-cli-mcp list-channels

Why CLI Over MCP?

| Approach | Token Usage | LLM Accuracy | |----------|-------------|--------------| | Traditional MCP | ~150,000 tokens | Degrades with >2-3 servers | | CLI Interface | ~2,000 tokens | Consistent |

Benefits:

  • Token efficiency: Only load what you need
  • Scriptable: LLMs compose commands, write wrappers
  • Composable: Pipes, redirects, standard shell tools

For the full rationale, see MCP Considered Suboptimal — a technical knowledge base with industry analysis and Anthropic engineering evidence.

Architecture

User/Agent → slack-cli-mcp → Docker Container → Slack API
                               ├── slack-mcp-server
                               └── mcptools

See docs/architecture.md for details.

Documentation

Components

Future Work

See FUTURE_WORK.md for roadmap including:

  • Slack server mock for testing
  • Network isolation
  • Official Slack MCP integration (when available)

Note: Slack is developing an official MCP server. When available, we'll evaluate integration. File an issue if you'd like to help!

Research

This project is informed by:

License

MIT

快速设置
此服务器的安装指南

安装包 (如果需要)

uvx slack-cli-mcp-wrapper

Cursor 配置 (mcp.json)

{ "mcpServers": { "cliai-slack-cli-mcp-wrapper": { "command": "uvx", "args": [ "slack-cli-mcp-wrapper" ] } } }