{
"mcpServers": {
"mcp-sse-proxy": {
"env": {
"BRAVE_API_KEY": "BSAxxxx",
"OPENAI_API_KEY": "sk-xxx",
"ST_PROXY_ENV_PREFIXES": "OPENAI_,BRAVE_"
},
"args": [
"C:\\mcp-sse-proxy-claude\\src\\mcp_sse_proxy.py",
"--base-url",
"http://<IP_ADDRESS>:8000",
"--debug-enabled"
],
"command": "C:\\Users\\<USERNAME>\\AppData\\Local\\Programs\\Python\\Python312\\python.exe"
}
},
"globalShortcut": ""
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP2SSE Proxy ClaudeAI client
Is it safe?
No known CVEs for mcp-sse-proxy.
No authentication — any process on your machine can connect.
MIT. View license →
Is it maintained?
Last commit 340 days ago. 3 stars.
Will it work with my client?
Transport: stdio, sse. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'mcp-sse-proxy' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Dynamic problem-solving through sequential thought chains
A Model Context Protocol server for searching and analyzing arXiv papers
An open-source AI agent that brings the power of Gemini directly into your terminal.
The official Python SDK for Model Context Protocol servers and clients
MCP Security Weekly
Get CVE alerts and security updates for Mcp Sse Proxy and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
This script acts as a proxy between an MCP (Model Context Protocol) server using STDIO (standard input/output) transport and a client using SSE (Server-Sent Events) transport. It bridges the communication gap by converting MCP STDIO communication to the SSE protocol, enabling real-time data streaming over web connections.
Communication Diagram:
[App](STDIO) ----<>---- (STDIO)[PROXY](SSE) ----<>---- (SSE)[SSE-Server]
flowchart LR
App -- STDIO --> PROXY
PROXY -- SSE --> SSEServer
PROXY -- STDIO --> App
SSEServer -- SSE --> PROXY
SSEServer["SSE-Server"]
App["APP"]
App@{ icon: "gcp:tools-for-powershell", form: "square", pos: "b"}
SSEServer@{ icon: "aws:res-toolkit", form: "square", pos: "b"}
To run the MCP SSE Proxy, execute the mcp_sse_proxy.py script with the required --sse-url or ST_PROXY_SSE_URL environment variable, which specifies the URL of your SSE server endpoint. This is the only required mandatory parameter.
pip3 install mcp-sse-proxy
python3 -m mcp_sse_proxy -h
The package installer (pip) creates an executable script in the bin directory of your virtual environment (or Python installation). If you are in a virtual environment, you can run the script using directly as a command.
mcp-sse-proxy -h
If you do installation by copy-past, remember to install dependencies:
pip3 install -r requirements.txt
--sse-url <url>: (Required) The URL of the external SSE endpoint to connect to. You can also set this using the ST_PROXY_SSE_URL environment variable.--debug-enabled: Enable debug logging. You can also set this using the ST_PROXY_DEBUG_ENABLED environment variable (set to true to enable).--ping-interval <seconds>: Set the interval (in seconds) for sending ping messages to maintain the SSE connection. Default is 10 seconds. You can also set this using the ST_PROXY_PING_INTERVAL environment variable.The proxy can be configured using the following environment variables:
ST_PROXY_SSE_URL: URL of the external SSE endpoint.ST_PROXY_DEBUG_ENABLED: Enable debug logging (set to true to enable).ST_PROXY_DEBUG_FILENAME: Filename for the debug log file. Defaults to mcp_sse_proxy.log.ST_PROXY_PING_INTERVAL: Ping interval in seconds.ST_PROXY_ENV_PREFIXES: Comma-separated list of environment variable prefixes to forward to the proxied application. This allows you to pass specific environment variables through the proxy. For example: ANTHROPIC_,OPENAI_,GEMINI_.Windows Config location: C:\Users<USERNAME>\AppData\Roaming\Claude\claude_desktop_config [or open via clinent menu: File->Settings then Developer->Edit Config] Config example for Windows:
{
"globalShortcut": "",
"mcpServers": {
"mcp-sse-proxy": {
"command": "C:\\Users\\<USERNAME>\\AppData\\Local\\Programs\\Python\\Python312\\python.exe",
"args": [
"C:\\mcp-sse-proxy-claude\\src\\mcp_sse_proxy.py",
"--base-url", "http://<IP_ADDRESS>:8000",
"--debug-enabled"
],
"env": {
"OPENAI_API_KEY": "sk-xxx",
"BRAVE_API_KEY": "BSAxxxx",
"ST_PROXY_ENV_PREFIXES": "OPENAI_,BRAVE_"
}
}
}
}
Debug logging can be enabled using the --debug-enabled command-line argument or by setting the ST_PROXY_DEBUG_ENABLED environment variable to true. When enabled, detailed logs are written to the file specified by the ST_PROXY_DEBUG_FILENAME environment variable (default: mcp_sse_proxy.log).
To ensure the SSE connection remains active, the proxy sends ping messages to the SSE server at regular intervals. The default interval is 10 seconds, configurable via the --ping-interval argument or the `ST_PROXY_PING_INTERV