mcp-proxy
Verified Safeby sparfenyuk
Overview
The mcp-proxy allows switching between MCP server transports, primarily enabling communication between stdio and SSE/StreamableHTTP endpoints.
Installation
mcp-proxy --port=8080 uvx mcp-server-fetchEnvironment Variables
- API_ACCESS_TOKEN
- SSE_URL
Security Notes
The server's 'SSE to stdio' mode allows arbitrary local commands to be executed via a network endpoint. If the `--host` is set to `0.0.0.0` or a public IP, and authentication (OAuth2) is not configured, or `--allow-origin='*'` is used, this could allow unauthenticated users on the network to execute arbitrary commands on the host system where `mcp-proxy` is running. While `shlex.split` is used for command parsing, preventing basic shell injection, the core functionality allows specifying any executable. Care must be taken to secure network exposure and command inputs.
Similar Servers
mcphub
A hub for managing, orchestrating, and providing a unified API for various Model Context Protocol (MCP) servers and their tools, including user management, OAuth services, and discovery of external servers.
mcp-proxy
A proxy server that translates Model Context Protocol (MCP) messages from stdio-based backend servers into streamable HTTP and Server-Sent Events (SSE) endpoints.
modular-mcp
A proxy server that efficiently manages and loads large tool collections from multiple Model Context Protocol (MCP) servers on-demand for LLMs, reducing context overhead.
mcp-connect
Acts as a proxy and multiplexing server for the Model Context Protocol (MCP), enabling local MCP clients (IDEs, agents) to connect to and aggregate capabilities from multiple remote HTTP MCP servers.