🔄
统一接口
聚合多个 MCP 服务器的单一端点,简化 AI 助手集成
问题:AI 助手需要连接到多个 MCP 服务器,但管理数十个独立连接是复杂、不可靠且安全性密集的。
解决方案:1MCP 作为统一的代理/多路复用器,将多个 MCP 服务器聚合在单一、可靠的接口后面。
从简单配置开始:
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp@latest"],
"tags": ["context7", "docs", "development", "code"],
"disabled": false
},
"git": {
"command": "uvx",
"args": ["mcp-server-git", "--repository", "/path/to/your/awesome-project"],
"tags": ["git", "awesome-project"],
"disabled": false
},
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"],
"tags": ["files", "tmpdir"],
"disabled": false
},
"server-sequential-thinking": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"],
"tags": ["thinking"],
"disabled": false
},
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest"],
"tags": ["playwright", "frontend", "web", "ui", "browser"],
"disabled": false
}
}
}
# 启动代理
npx -y @1mcp/agent --config mcp.json --port 3000
现在您的代理正在运行。将您的 MCP 客户端连接到 http://localhost:3000
开始使用您聚合的工具。