A lightweight proxy that enables STDIO-based MCP clients (like Claude Desktop, Cline, LM Studio) to connect to HTTP-based MCP servers.
Many MCP clients only support STDIO transport, but you want to connect to remote MCP servers running over HTTP (like Cloud Run deployments).
This tiny proxy bridges the gap:
- Accepts JSON-RPC messages via STDIO
- Forwards them to your HTTP MCP server
- Returns responses back via STDIO
npx mcp-http-proxy https://your-mcp-server.com/mcp
{
"mcpServers": {
"my-server": {
"command": "npx",
"args": [
"-y",
"mcp-http-proxy",
"https://your-mcp-server.com/mcp"
]
}
}
}
{
"mcpServers": {
"perplexity": {
"command": "npx",
"args": [
"-y",
"mcp-http-proxy",
"https://mcp-perplexity-37svygdpla-uc.a.run.app/mcp"
]
}
}
}
- ✅ Zero dependencies
- ✅ Works with any HTTP MCP server
- ✅ Supports both HTTP and HTTPS
- ✅ Tiny footprint (~50 lines)
- ✅ No configuration needed
MCP Client (STDIO) → mcp-http-proxy → HTTP MCP Server
↓
Your Cloud Run / HTTP endpoint
- Node.js 14+
MIT