Integrating Other Clients
Relevant source files
The following files were used as context for generating this wiki page:
The mcpmcp-server enables seamless discovery and integration of Model Context Protocol (MCP) servers with various AI clients. By acting as a remote bridge, it allows local AI applications to communicate with remote MCP services, effectively expanding the local AI's capability toolkit through a standardized interface.
Integration is primarily achieved by configuring the client to execute a remote proxy command that tunnels requests to the mcpmcp.io service. This architecture centralizes the discovery and setup of diverse MCP servers, making them accessible to any client supporting the MCP specification.
Sources: README.md:1-5
Client Configuration Architecture
Integration relies on the client's ability to spawn a child process that runs the mcp-remote utility. This utility establishes a connection to the remote MCP hub and exposes the remote tools as if they were local.
Configuration Structure
Clients typically require a JSON configuration defining the server entry. The configuration specifies the executable command and the necessary arguments to point to the remote endpoint.
| Parameter | Value | Description |
|---|---|---|
command | npx | The Node.js package runner used to execute the proxy. |
args | ["-y", "mcp-remote@latest", "https://mcpmcp.io/mcp"] | Arguments to fetch the latest proxy and connect to the hub. |
Sources: README.md:9-17
Communication Flow
The following diagram illustrates how a local client (like Claude Desktop) interacts with remote MCP servers through the mcpmcp bridge.
The client manages the lifecycle of the npx process, which maintains a persistent connection to the remote hub to stream tool definitions and execution results.
Sources: README.md:11-15
Implementation Details
The integration is powered by the mcp-remote package. When initialized, it performs a handshake with the URL provided in the arguments to register the available tools to the client's environment.
Sequence of Integration
The sequence demonstrates that the client perceives the mcp-remote process as the server itself, while the proxy handles all network overhead to the actual remote services.
Sources: README.md:11-17
Platform Specifics
While the standard configuration is verified for macOS (specifically Claude Desktop), the integration pattern remains consistent across platforms that support npx. For platforms where global environment variables or pathing differ, the hub provides tailored installation instructions.
Supported Client Examples
- Claude Desktop (macOS): Uses the standard
mcpServersJSON config in the application support directory. - Other MCP Clients: Any client that supports the MCP "stdio" transport can integrate by running the
mcp-remotecommand.
Sources: README.md:19-21
Conclusion
Integrating other clients with mcpmcp-server transforms a local AI environment into a distributed system capable of reaching remote MCP tools. By utilizing the mcp-remote proxy via a simple JSON configuration, developers can bypass complex local setups and leverage a centralized repository of AI capabilities.