Back to MCP directory
publicPublicdnsLocal runtime

docker-mcp-servers

Docker容器化的MCP服务集合,支持Slack、Notion和GitHub的集成

article

README

🚀 MCP服务器配置说明

本配置文件展示了MCP(Multi - Client Platform,多客户端平台)服务器在不同服务(Slack、Notion、GitHub)下的Docker运行配置。通过此配置,你可以快速启动相应的服务。

🚀 快速开始

1. 启动Slack服务

使用以下命令启动Slack服务:

docker run -i --rm -e SLACK_BOT_TOKEN=your-slack-bot-token -e SLACK_TEAM_ID=your-slack-team-id ghcr.io/tatsuiman/docker-mcp-notion-server-slack:main

请将your-slack-bot-token替换为你的Slack机器人令牌,your-slack-team-id替换为你的Slack团队ID。

2. 启动Notion服务

使用以下命令启动Notion服务:

docker run -i --rm -e NOTION_API_TOKEN=your-integration-token ghcr.io/tatsuiman/docker-mcp-notion-server-notion-server:main

请将your-integration-token替换为你的Notion集成令牌。

3. 启动GitHub服务

使用以下命令启动GitHub服务:

docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=your-github-token ghcr.io/tatsuiman/docker-mcp-notion-server-github:main

请将your-github-token替换为你的GitHub个人访问令牌。

💻 使用示例

基础用法

假设你已经获取了所有必要的令牌,以下是完整的启动示例:

启动Slack服务

docker run -i --rm -e SLACK_BOT_TOKEN=xoxb-1234567890-abcdefghijklmnop -e SLACK_TEAM_ID=T12345678 ghcr.io/tatsuiman/docker-mcp-notion-server-slack:main

启动Notion服务

docker run -i --rm -e NOTION_API_TOKEN=secret_abcdefghijklmnopqrstuvwxyz1234567890 ghcr.io/tatsuiman/docker-mcp-notion-server-notion-server:main

启动GitHub服务

docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=ghp_abcdefghijklmnopqrstuvwxyz1234567890 ghcr.io/tatsuiman/docker-mcp-notion-server-github:main

高级用法

如果你需要在特定的网络环境或挂载数据卷,可以在docker run命令中添加相应的参数。例如,挂载一个数据卷到容器中:

启动Slack服务并挂载数据卷

docker run -i --rm -e SLACK_BOT_TOKEN=your-slack-bot-token -e SLACK_TEAM_ID=your-slack-team-id -v /host/path:/container/path ghcr.io/tatsuiman/docker-mcp-notion-server-slack:main

启动Notion服务并挂载数据卷

docker run -i --rm -e NOTION_API_TOKEN=your-integration-token -v /host/path:/container/path ghcr.io/tatsuiman/docker-mcp-notion-server-notion-server:main

启动GitHub服务并挂载数据卷

docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=your-github-token -v /host/path:/container/path ghcr.io/tatsuiman/docker-mcp-notion-server-github:main

⚠️ 重要提示

  • 请妥善保管你的令牌信息,避免泄露。
  • 确保你的Docker环境已经正确配置,并且可以访问ghcr.io镜像仓库。

💡 使用建议

  • 可以将这些命令保存为脚本文件,方便后续使用。
  • 定期更新镜像以获取最新的功能和安全补丁。
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client