Bridge for connecting Claude Desktop to remote MCP HTTP servers
npm install @dvasc/mcp-bridgeBridge for connecting Claude Desktop to remote MCP HTTP servers.
Claude Desktop only supports stdio connections, but many MCP servers run over HTTP. This bridge translates between stdio (used by Claude) and Streamable HTTP (used by remote MCP servers).
No installation needed! The bridge runs automatically via npx.
Add this to your Claude Desktop config:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
``json`
{
"mcpServers": {
"your-server-name": {
"command": "npx",
"args": [
"-y",
"@dyegovasconcelos/mcp-bridge",
"https://your-server.com/mcp"
],
"env": {
"API_KEY": "your-api-key-here"
}
}
}
}
Replace:
- your-server-name with a name for your serverhttps://your-server.com/mcp
- with your MCP server URLyour-api-key-here
- with your actual API key (if required)
1. Claude Desktop spawns the bridge process via npx
2. The bridge connects stdio to your remote HTTP MCP server
3. Messages flow bidirectionally: Claude ↔ Bridge ↔ Remote Server
| Variable | Required | Description |
|----------|----------|-------------|
| API_KEY | No | API key sent as Authorization: Bearer header |
- Node.js 18+ (for built-in fetch`)
MIT