MCP Proxy Server logo

MCP Proxy Server

by adamwattis

The MCP Proxy Server aggregates and serves multiple MCP resource servers through a single interface. It acts as a central hub to connect, manage, and expose the combined capabilities of backend servers through a unified interface.

View on GitHub

Last updated: N/A

What is MCP Proxy Server?

The MCP Proxy Server is a tool that aggregates and serves multiple MCP (Model Context Protocol) resource servers through a single interface. It simplifies access to multiple MCP servers by providing a unified endpoint.

How to use MCP Proxy Server?

  1. Configure the server by creating a config.json file specifying the MCP servers to connect to. 2. Install dependencies using npm install. 3. Build the server using npm run build. 4. Run the server using MCP_CONFIG_PATH=./config.json mcp-proxy-server. 5. Optionally, integrate with Claude Desktop by adding the server configuration to the claude_desktop_config.json file.

Key features of MCP Proxy Server

  • Resource Management: Discover, connect, and aggregate resources from multiple MCP servers.

  • Tool Aggregation: Expose tools from all connected servers and route tool calls.

  • Prompt Handling: Aggregate prompts from multiple servers and handle multi-server prompt responses.

  • Unified Interface: Provides a single endpoint for accessing multiple MCP servers.

Use cases of MCP Proxy Server

  • Simplifying access to multiple MCP resource servers.

  • Centralizing resource management for MCP servers.

  • Providing a unified interface for interacting with multiple MCP servers.

  • Integrating multiple MCP servers with applications like Claude Desktop.

FAQ from MCP Proxy Server

What is an MCP server?

An MCP (Model Context Protocol) server provides resources and tools that can be used by applications.

How do I configure the server?

You need to create a config.json file that specifies the MCP servers to connect to. An example config is provided in the README.

How do I run the server?

After building the server, you can run it using the command MCP_CONFIG_PATH=./config.json mcp-proxy-server.

How do I debug the server?

The README recommends using the MCP Inspector, which can be run using npm run inspector.

Can I use this with Claude Desktop?

Yes, the README provides instructions on how to integrate the MCP Proxy Server with Claude Desktop by modifying the claude_desktop_config.json file.