统一MCP
STDIO统一多个MCP服务器的聚合代理服务器
统一多个MCP服务器的聚合代理服务器
A unified Model Context Protocol server implementation that aggregates multiple MCP servers into one.
1MCP (One MCP) is designed to simplify the way you work with AI assistants. Instead of configuring multiple MCP servers for different clients (Claude Desktop, Cherry Studio, Cursor, Roo Code, Claude, etc.), 1MCP provides a single, unified server.
Binary (Recommended - No Node.js Required):
# Linux/macOS curl -L https://github.com/1mcp-app/agent/releases/latest/download/1mcp-linux-x64.tar.gz | tar -xz sudo mv 1mcp /usr/local/bin/ # Windows (PowerShell) Invoke-WebRequest -Uri "https://github.com/1mcp-app/agent/releases/latest/download/1mcp-win32-x64.zip" -OutFile "1mcp.zip" Expand-Archive -Path "1mcp.zip" -DestinationPath "."
NPM:
npx -y @1mcp/agent --help
1mcp mcp add context7 -- npx -y @upstash/context7-mcp 1mcp mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem ~/Documents
1mcp
For Cursor, add to ~/.cursor/mcp.json:
{ "mcpServers": { "1mcp": { "url": "http://127.0.0.1:3050/mcp?app=cursor" } } }
For VSCode, add to settings.json:
{ "servers": { "1mcp": { "url": "http://127.0.0.1:3050/mcp?app=vscode" } } }
For Claude Code:
claude mcp add -t http 1mcp "http://127.0.0.1:3050/mcp?app=claude-code"
That's it! All your MCP servers are now available through one unified endpoint. 🎉
1mcp [serve] - Start the 1MCP server (default command)1mcp mcp add <name> - Add a new MCP server to configuration1mcp mcp list - List all configured MCP servers1mcp mcp status [name] - Show server status and detailsFor detailed command usage, run: 1mcp <command> --help
📚 Complete Documentation - Comprehensive guides, API reference, and examples
1MCP acts as a proxy, managing and aggregating multiple MCP servers. It starts and stops these servers as subprocesses and forwards requests from AI assistants to the appropriate server. This architecture allows for a single point of entry for all MCP traffic, simplifying management and reducing overhead.
Contributions are welcome! Please read our CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.