mcp-proxy
A bridge between Streamable HTTP and stdio MCP transports
Overview
The mcp-proxy is a tool that enables MCP servers to operate with SSE (Server-Sent Events) when clients do not support this protocol, acting as a bridge between them.
To use mcp-proxy, install it via the command line using the provided installation command, then configure your client application (e.g., Claude Desktop) to recognize the mcp-proxy server and connect to the MCP server through it.
- Facilitates connection between MCP servers using SSE transport and clients that lack support. - Easy installation through command line. - Provides configuration options for different environments.
- Connecting Claude Desktop to MCP servers that require SSE.
- Serving as a workaround for clients needing to interact with incompatible MCP servers.
- Enabling real-time data feed for applications that rely on SSE but lack direct support for it.
Add to your AI client
Use these steps to connect mcp-proxy in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-proxy-sparfenyuk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-proxy-sparfenyuk"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-proxy-sparfenyuk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-proxy-sparfenyuk"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-proxy-sparfenyuk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-proxy-sparfenyuk"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-proxy-sparfenyuk": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-proxy-sparfenyuk"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-proxy-sparfenyuk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-proxy-sparfenyuk"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-proxy-sparfenyuk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-proxy-sparfenyuk"
]
}
}
}FAQ
What is the purpose of mcp-proxy?
mcp-proxy is designed to enable connections to MCP servers that operate on SSE by serving as an intermediary for clients lacking native support.
How do I install mcp-proxy?
You can install mcp-proxy using the command `uv tool install git+https://github.com/sparfenyuk/mcp-proxy`.
Is there a way to configure environment variables?
Yes! You can specify environment variables like `SSE_URL` and `API_ACCESS_TOKEN` in the configuration file to manage connection settings.