What is MCP Proxy Server?
MCP Proxy Server is a central hub that aggregates and serves multiple MCP resource servers through a single unified interface. It connects to, manages, and routes requests to backend MCP servers, combining their capabilities for clients.
How to use MCP Proxy Server?
Install dependencies with npm install, build with npm run build, then run with MCP_CONFIG_PATH=./config.json mcp-proxy-server. Provide a JSON configuration file (copy config.example.json) listing the MCP servers to connect. For Claude Desktop, add the server config to claude_desktop_config.json.
Key features of MCP Proxy Server
- Discover and connect to multiple MCP resource servers
- Aggregate resources from all connected servers
- Route tool calls to appropriate backend servers
- Aggregate prompts from all connected servers
- Handle multi-server prompt responses
- Maintain consistent URI schemes across servers
Use cases of MCP Proxy Server
- Centralize access to multiple MCP resource servers behind one endpoint
- Combine tools from different MCP servers into a single interface
- Simplify client integration by reducing the number of server connections
- Route prompt requests to the correct backend automatically
评论