awesome-awesome-mcp-servers

awesome-awesome-mcp-servers

一份精心整理的极好的MCP-Servers(模型上下文协议服务器)列表

GitHub stars

什么是 MCP?

MCP (Model Context Protocol) 是一个标准化协议,用于与各种 AI 模型进行交互。

快速开始

1. 选择一个 MCP 服务器

从以下优秀的 MCP 服务器实现中选择一个:

2. 安装

# 使用 git 克隆仓库
git clone https://github.com/modelcontextprotocol/servers.git
cd servers

# 安装依赖
pip install -r requirements.txt

3. 配置

创建配置文件,例如 config.json

{
  "model": "your_model_name",
  "api_key": "your_api_key",
  "port": 8000
}

4. 运行服务器

python mcp_server.py --config config.json

5. 使用 API

发送请求到服务器:

curl -X POST http://localhost:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "messages": [{"role": "user", "content": "Hello, world!"}]
  }'

更多资源

查看我们的 awesome-awesome-mcp-servers 仓库获取更多实现和资源。