mcp-proxy-stdio
v1.0.4
Published
A Node.js command-line tool that creates a proxy for Server-Sent Events (SSE) connections through standard I/O.
Readme
mcp-proxy-stdio
A Node.js command-line tool that creates a proxy for Server-Sent Events (SSE) connections through standard I/O.
Installation
No installation needed. You can run it directly using npx:
npx mcp-proxy-stdioExamples
Start proxy and connect to an event source:
# Terminal - Connect to events
npx mcp-proxy-stdio http://localhost:3000/sseUse In McpConfig
{
"my-proxy": {
"command": "npx",
"args": ["mcp-proxy-stdio", "http://localhost:3000/sse"],
"disabled": false,
"autoApprove": []
}
}debug
Log File Option
Use --log ./temp.txt to specify a log file for debug purposes. This allows you to:
- Save program output to a file instead of console
- Review execution details later for debugging
- Set custom log file path and name
- Capture log messages during program execution
Example:
npx mcp-proxy-stdio http://localhost:3000/sse --log ./debug.log