Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 98 additions & 1 deletion content/docs/(get-started)/example-servers.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,102 @@
---
title: MCP服务器示例
description: MCP服务器示例
---
MCP 服务器和实现示例

本页面展示了各种 Model Context Protocol (MCP) 服务器,体现了该协议的能力和多功能性。这些服务器使得大型语言模型 (LLM) 能安全地访问工具和数据源。
## 参考实现 ##
这些官方参考服务器展示了 MCP 的核心功能及 SDK 的使用方法:
### 数据和文件系统 ###
- [文件系统](https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem) - 通过可配置的访问控制安全地进行文件操作
- [PostgreSQL](https://github.com/modelcontextprotocol/servers/tree/main/src/postgres) - 支持模式检查的对数据库的只读访问
- [SQLite](https://github.com/modelcontextprotocol/servers/tree/main/src/sqlite) - 数据库交互和商业智能功能
- [Google Drive](https://github.com/modelcontextprotocol/servers/tree/main/src/gdrive) - 支持 Google Drive 的文件访问和搜索
### 开发工具 ###
- [Git](https://github.com/modelcontextprotocol/servers/tree/main/src/git) - 用于读取、搜索和操作 Git 仓库的工具
- [GitHub](https://github.com/modelcontextprotocol/servers/tree/main/src/github) - 仓库管理、文件操作及 GitHub API 集成
- [GitLab](https://github.com/modelcontextprotocol/servers/tree/main/src/gitlab) - 支持项目管理的 GitLab API 集成
- [Sentry](https://github.com/modelcontextprotocol/servers/tree/main/src/sentry) - 从 Sentry.io 检索和分析问题
### 网络和浏览器自动化 ###
- [Brave Search](https://github.com/modelcontextprotocol/servers/tree/main/src/brave-search) - 使用 Brave Search API 的网络和本地搜索
- [Fetch](https://github.com/modelcontextprotocol/servers/tree/main/src/fetch) - 优化网页内容获取与转换以供LLM使用
- [Puppeteer](https://github.com/modelcontextprotocol/servers/tree/main/src/puppeteer) - 浏览器自动化和网页抓取功能
### 生产力与沟通 ###
- [Slack](https://github.com/modelcontextprotocol/servers/tree/main/src/slack) - 渠道管理和消息传递功能
- [Google Maps](https://github.com/modelcontextprotocol/servers/tree/main/src/google-maps) - 定位服务、路线规划及地点详情
- [Memory](https://github.com/modelcontextprotocol/servers/tree/main/src/memory) - 基于知识图谱的持久化存储系统
### AI 和专用工具 ###
- [EverArt](https://github.com/modelcontextprotocol/servers/tree/main/src/everart) - 使用多种模型生成 AI 图片
- [Sequential Thinking](https://github.com/modelcontextprotocol/servers/tree/main/src/sequentialthinking) - 通过思考序列动态解决问题
- [AWS KB Retrieval](https://github.com/modelcontextprotocol/servers/tree/main/src/aws-kb-retrieval-server) - 使用 Bedrock Agent Runtime 从 AWS 知识库检索信息
## 官方集成 ##
这些 MCP 服务器由各公司维护,用于其自身平台:
- [Axiom](https://github.com/axiomhq/mcp-server-axiom) - 使用自然语言查询和分析日志、跟踪和事件数据
- [Browserbase](https://github.com/browserbase/mcp-server-browserbase) - 云端的交互自动化浏览器
- [Cloudflare](https://github.com/cloudflare/mcp-server-cloudflare) - 在 Cloudflare 开发者平台部署和管理资源
- [E2B](https://github.com/e2b-dev/mcp-server) - 在安全的云沙箱环境执行代码
- [Neon](https://github.com/neondatabase/mcp-server-neon) - 与 Neon serverless Postgres 平台交互
- [Obsidian Markdown Notes](https://github.com/calclavia/mcp-obsidian) - 读取和搜索 Obsidian 仓库中的 Markdown 笔记
- [Qdrant](https://github.com/qdrant/mcp-server-qdrant/) - 使用 Qdrant 向量搜索引擎实现语义记忆
- [Raygun](https://github.com/MindscapeHQ/mcp-server-raygun) - 访问崩溃报告和监控数据
- [Search1API](https://github.com/fatwang2/search1api-mcp) - 用于搜索、抓取和站点地图的统一 API
- [Stripe](https://github.com/stripe/agent-toolkit) - 与 Stripe API 交互
- [Tinybird](https://github.com/tinybirdco/mcp-tinybird) - 与 Tinybird 无服务器 ClickHouse 平台交互
- [Weaviate](https://github.com/weaviate/mcp-server-weaviate) - 通过 Weaviate 集合实现主动式检索增强生成(Agentic RAG)
## 社区精选 ##
社区开发服务器生态的不断发展扩展了 MCP 的功能:
- [Docker](https://github.com/ckreiling/mcp-server-docker) - 管理容器、镜像、卷和网络
- [Kubernetes](https://github.com/Flux159/mcp-server-kubernetes) - 管理 pod、部署和服务
- [Linear](https://github.com/jerhadf/linear-mcp-server) - 项目管理和问题追踪
- [Snowflake](https://github.com/datawiz168/mcp-snowflake-service) - 与 Snowflake 数据库交互
- [Spotify](https://github.com/varunneal/spotify-mcp) - 控制 Spotify 播放和管理播放列表
- [Todoist](https://github.com/abhiz123/todoist-mcp-server) - 任务管理集成
> 注意: 社区服务器未经测试,请自行承担风险。这些服务器与 Anthropic 无关,也未获得其认可。

完整的社区服务器列表,请访问 MCP Servers Repository。
## 快速入门 ##
### 使用参考服务器 ###
基于 TypeScript 的服务器可直接通过 npx 使用:
```js
npx -y @modelcontextprotocol/server-memory
```
基于 Python 的服务器可使用 uvx(推荐)或 pip:
```js
# Using uvx
uvx mcp-server-git

# Using pip
pip install mcp-server-git
python -m mcp_server_git
```
### 使用 Claude 配置 ###
要在 Claude 中使用 MCP 服务器,请将其添加到配置中:
```js
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
},
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/files"]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
```
## 附加资源 ##
- [MCP Servers Repository](https://github.com/modelcontextprotocol/servers) - 参考实现和社区服务器的完整集合
- [Awesome MCP Servers](https://github.com/punkpeye/awesome-mcp-servers) - MCP 服务器列表
- [MCP CLI](https://github.com/wong2/mcp-cli) - 用于测试MCP服务器的命令行调试器
- [MCP Get](https://mcp-get.com/) - MCP服务器安装和管理工具
- [Supergateway](https://github.com/supercorp-ai/supergateway) - 通过SSE上运行MCP stdio 服务器
- [Zapier MCP](https://zapier.com/mcp) - 拥有超过7000 +应用程序和30000 +操作的MCP服务器

访问 [GitHub Discussions](https://github.com/orgs/modelcontextprotocol/discussions) 与 MCP 社区交流。