Slack 消息

平台与服务编辑精选

Slack

by Anthropic

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

92.1kGitHub

什么是 Slack 消息?

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

如何使用 Slack 消息

运行方式

在终端运行。加 --scope project 可写入项目根目录的 .mcp.json,与团队共享。

终端命令
claude mcp add --transport stdio slack -- npx -y @modelcontextprotocol/server-slack

README

Model Context Protocol servers

This repository is a collection of reference implementations for the Model Context Protocol (MCP), as well as references to community-built servers and additional resources.

[!IMPORTANT] If you are looking for a list of MCP servers, you can browse published servers on the MCP Registry. The repository served by this README is dedicated to housing just the small number of reference servers maintained by the MCP steering group.

[!WARNING] The servers in this repository are intended as reference implementations to demonstrate MCP features and SDK usage. They are meant to serve as educational examples for developers building their own MCP servers, not as production-ready solutions. Developers should evaluate their own security requirements and implement appropriate safeguards based on their specific threat model and use case.

The servers in this repository showcase the versatility and extensibility of MCP, demonstrating how it can be used to give Large Language Models (LLMs) secure, controlled access to tools and data sources. Typically, each MCP server is implemented with an MCP SDK:

🌟 Reference Servers

These servers aim to demonstrate MCP features and the official SDKs.

  • Everything - Reference / test server with prompts, resources, and tools.
  • Fetch - Web content fetching and conversion for efficient LLM usage.
  • Filesystem - Secure file operations with configurable access controls.
  • Git - Tools to read, search, and manipulate Git repositories.
  • Memory - Knowledge graph-based persistent memory system.
  • Sequential Thinking - Dynamic and reflective problem-solving through thought sequences.
  • Time - Time and timezone conversion capabilities.

Archived

The following reference servers are now archived and can be found at servers-archived.

  • AWS KB Retrieval - Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
  • Brave Search - Web and local search using Brave's Search API. Has been replaced by the official server (@brave/brave-search-mcp-server).
  • EverArt - AI image generation using various models.
  • GitHub - Repository management, file operations, and GitHub API integration.
  • GitLab - GitLab API, enabling project management.
  • Google Drive - File access and search capabilities for Google Drive.
  • Google Maps - Location services, directions, and place details.
  • PostgreSQL - Read-only database access with schema inspection.
  • Puppeteer - Browser automation and web scraping.
  • Redis - Interact with Redis key-value stores.
  • Sentry - Retrieving and analyzing issues from Sentry.io.
  • Slack - Channel management and messaging capabilities. Now maintained by Zencoder
  • SQLite - Database interaction and business intelligence capabilities.

🚀 Getting Started

Using MCP Servers in this Repository

TypeScript-based servers in this repository can be started with npx.

For example, this will start the Memory server:

sh
npx -y @modelcontextprotocol/server-memory

Python-based servers in this repository can be started with uvx or pip. uvx is recommended for ease of use and setup.

For example, this will start the Git server:

sh
# With uvx
uvx mcp-server-git

# With pip
pip install mcp-server-git
python -m mcp_server_git

Follow these instructions to install uv / uvx and these to install pip.

Using an MCP Client

However, running a server on its own isn't very useful, and should instead be configured into an MCP client. For example, here's the Claude Desktop configuration to use the above server:

json
{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-memory"]
    }
  }
}

On Windows, wrap npx with cmd /c:

json
{
  "mcpServers": {
    "memory": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "@modelcontextprotocol/server-memory"]
    }
  }
}

Additional examples of using the Claude Desktop as an MCP client might look like:

json
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/files"]
    },
    "git": {
      "command": "uvx",
      "args": ["mcp-server-git", "--repository", "path/to/git/repo"]
    },
    "fetch": {
      "command": "uvx",
      "args": ["mcp-server-fetch"]
    }
  }
}

On Windows, apply the same wrapper to the npx-based filesystem entry above by changing its "command" to "cmd" and prepending "/c", "npx" to its existing args. Leave the uvx entries unchanged.

Transports: stdio and Streamable HTTP

An MCP server talks to its client over a transport. The protocol defines two standard ones, and they run very differently:

TransportHow the server runsHow a client reaches it
stdioThe client launches the server as a subprocess and talks to it over the process's stdin and stdout. The server opens no port.A command and args in the client's configuration, as in the examples above
Streamable HTTPThe server runs on its own as an HTTP service, and can serve many clientsA URL, such as http://localhost:3001/mcp

Every server in this repository serves stdio by default, and every one can also serve Streamable HTTP on http://127.0.0.1:3001/mcp (set PORT and HOST to move it): Everything with its streamableHttp argument (its README also covers its deprecated HTTP+SSE transport), and the others with --transport streamable-http, as each server's README shows. Started without one, a server uses stdio, so when you run uvx mcp-server-git or npx -y @modelcontextprotocol/server-memory in a terminal, it opens no port, prints at most a one-line startup notice, and then appears to hang. That is expected: it is waiting for a client to send it messages on stdin. You do not normally start a stdio server yourself; your MCP client starts it from its configuration and stops it when it is done.

To try a server without setting up a client, use the MCP Inspector. Given a stdio server's command, it launches the server for you and lets you browse and call its tools; given a URL, it connects to a running Streamable HTTP server:

sh
# A stdio server: the Inspector launches it
npx @modelcontextprotocol/inspector uvx mcp-server-git

# A Streamable HTTP server: start it first, then connect to its URL
npx @modelcontextprotocol/server-everything streamableHttp   # or: uvx mcp-server-time --transport streamable-http
npx @modelcontextprotocol/inspector --transport http --server-url http://localhost:3001/mcp

For more, see the transport layer in the MCP architecture overview, and Transports in the specification.

🛠️ Creating Your Own Server

Interested in creating your own MCP server? Visit the official documentation at modelcontextprotocol.io for comprehensive guides, best practices, and technical details on implementing MCP servers.

📚 Learn More

See ADDITIONAL.md for a curated list of frameworks and resources that simplify building MCP servers and clients.

🤝 Contributing

See CONTRIBUTING.md for information about contributing to this repository.

📦 Releasing

See RELEASING.md for how packages are published (OIDC trusted publishing from CI — no registry tokens) and how to retry a failed publish.

🔒 Security

See SECURITY.md for reporting security vulnerabilities.

📜 License

This project is licensed under the Apache License, Version 2.0 for new contributions, with existing code under MIT - see the LICENSE file for details.

💬 Community

⭐ Support

If you find MCP servers useful, please consider starring the repository and contributing new servers or improvements!


Managed by Anthropic, but built together with the community. The Model Context Protocol is open source and we encourage everyone to contribute their own servers and improvements!

常见问题

Slack 消息 是什么?

发送消息、读取频道、管理 Slack 工作区。

如何安装 Slack 消息?

运行命令:npx -y @modelcontextprotocol/server-slack

安装排障(国内网络)

npx 拉包很慢、超时或报 ETIMEDOUT 怎么办?

国内直连 npm 官方源经常超时。把 registry 切到 npmmirror(淘宝镜像)即可。全局切换对所有客户端生效;只想对这个 MCP 生效,就在配置的 env 里加 NPM_CONFIG_REGISTRY。bun 和 pnpm 用各自的写法。

全局切换(npm / npx)
npm config set registry https://registry.npmmirror.com
单次使用
npx --registry=https://registry.npmmirror.com -y @modelcontextprotocol/server-slack
只对这个 MCP 生效(写进配置的 env)
"env": {
  "NPM_CONFIG_REGISTRY": "https://registry.npmmirror.com"
}
pnpm
pnpm config set registry https://registry.npmmirror.com
bunx(~/.bunfig.toml)
[install]
registry = "https://registry.npmmirror.com"
终端里开了代理,客户端里的 MCP 还是连不上?

从 Dock、开始菜单启动的 Claude Desktop、Cursor 等客户端不会继承终端里 export 的代理变量,MCP 进程拿不到代理。把代理地址写进该 MCP 配置的 env(端口换成你自己的)。注意 Node 自带的 fetch 默认不读 HTTPS_PROXY,Node 24 及以上可再加 NODE_USE_ENV_PROXY=1;仍不行就开代理软件的 TUN / 增强模式。

写进配置的 env
"env": {
  "HTTPS_PROXY": "http://127.0.0.1:7890",
  "HTTP_PROXY": "http://127.0.0.1:7890",
  "NODE_USE_ENV_PROXY": "1"
}
只让 npm 下载走代理
npm config set proxy http://127.0.0.1:7890
npm config set https-proxy http://127.0.0.1:7890
报 SyntaxError、fetch is not defined 或 Unsupported engine?

多半是 Node 版本太低。大多数 MCP Server 需要 Node 18 以上,建议用 LTS(20 或 22)。用 nvm 装好后,客户端可能仍在用系统自带的旧 Node:用 which npx 查出完整路径,把配置里的 command 换成这个绝对路径。

查看版本
node -v
用 nvm 安装 LTS
nvm install --lts
nvm alias default 'lts/*'
查出 npx 绝对路径
which npx
Windows 上提示 spawn npx ENOENT 或客户端无法启动?

Windows 下 npx 实际是 npx.cmd,部分客户端不能直接启动它。把 command 改成 cmd,在 args 前面加上 /c 和 npx。

Windows 配置写法
"command": "cmd",
"args": ["/c","npx","-y","@modelcontextprotocol/server-slack"]

相关 Skills

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描197.8k

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描197.8k

官方技能议题

by anthropics

Universal
热门

接入 Claude Code 官方 Skill 仓库的问题反馈流程,帮你提交 bug、功能建议和疑问,跟踪处理进度,并找到已有的解决方案,避免重复提问。

✎ 把仓库里的反馈、缺陷和支持请求集中到一处管理,直接贴合代码协作流程,团队跟进更顺手。

平台与服务
未扫描197.8k

相关 MCP Server

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
104.5k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
81.5k
热门

Chrome DevTools MCP 是让 AI 助手直接控制 Chrome 浏览器进行自动化调试和性能分析的工具。

✎ 这个工具解决了 AI 助手无法直接操作浏览器进行实时调试的痛点,特别适合前端开发者让 Claude 自动抓取页面性能数据或模拟用户交互。但要注意它默认会收集使用统计数据,隐私敏感的项目需要手动禁用。

平台与服务
58.4k

评论