mcp-server-server
by rgarcia
This repo provides a proof of concept MCP server that exposes another stdio MCP server over a websocket. It aims to simplify the use of MCP servers by enabling communication over the network instead of stdio.
Last updated: N/A
What is mcp-server-server?
mcp-server-server is a wrapper program that converts a stdio-based MCP server into a websocket-based MCP server. This allows MCP clients to interact with MCP servers over the network, simplifying process management and improving performance.
How to use mcp-server-server?
- Convert a stdio MCP server to a websocket MCP server using the
mcp-server-wrapper
script. 2. Interact with the MCP server programmatically using a websocket client. 3. Optionally, build the MCP server and wrapper into a Docker image for easy deployment.
Key features of mcp-server-server
Exposes stdio MCP servers over websockets
Simplifies MCP server process management
Improves MCP server startup time
Enables programmatic interaction with MCP servers
Use cases of mcp-server-server
Centralized MCP server management for multiple users
Simplified integration of MCP servers into client applications
Faster MCP server startup times
Remote access to MCP servers
FAQ from mcp-server-server
Why use a websocket MCP server?
Why use a websocket MCP server?
Websockets simplify process management, improve performance, and enable easier programmatic interaction compared to stdio-based MCP servers.
How do I convert a stdio MCP server to a websocket MCP server?
How do I convert a stdio MCP server to a websocket MCP server?
Use the mcp-server-wrapper
script provided in this repository.
Can I deploy this as a Docker container?
Can I deploy this as a Docker container?
Yes, the repository includes a script to generate a Dockerfile for a given MCP server configuration.
What are the benefits of using this approach?
What are the benefits of using this approach?
Reduced process management overhead, faster startup times, and easier integration with client applications.
Where can I find a list of official MCP servers?
Where can I find a list of official MCP servers?
A list of official MCP servers can be found at https://github.com/modelcontextprotocol/servers/tree/main/src/.