M
MCP Bridge
作者 @tappunk
A lightweight, zero-overhead HTTP-to-stdio MCP bridge written in Rust.
创建于 6/11/2026
更新于 about 2 hours ago
README
Repository documentation and setup instructions
Warning: This project is experimental and should not be used in production.
mcp-bridge
A Model Context Protocol (MCP) bridge that connects remote streamable HTTP servers to MCP clients using stdio transport.
Features
- Fast: Starts in <1ms, faster than Node.js runtimes.
- Lightweight: Uses 2-5 MB of RAM.
- Single Binary: No dependency on Node or NPM. Drop in a compiled binary.
Installation & Building
Install the Rust toolchain, clone the repository, and run:
# Compile an optimized production binary
cargo build --release
Build the binary at ./target/release/mcp-bridge.
Configuration
Update your client's MCP configuration to register a remote HTTP server as an MCP transport bridge:
{
"mcp": {
"searxng": {
"type": "local",
"command": [
"/path/to/mcp-bridge/target/release/mcp-bridge",
"http://127.0.0.1:18765/mcp"
]
}
}
}
Replace /path/to/... with the absolute path to your compiled binary, and http://127.0.0.1:18765/mcp with your actual remote MCP endpoint.
快速设置
此服务器的安装指南
安装命令 (包未发布)
git clone https://github.com/tappunk/mcp-bridge
手动安装: 请查看 README 获取详细的设置说明和所需的其他依赖项。
Cursor 配置 (mcp.json)
{
"mcpServers": {
"tappunk-mcp-bridge": {
"command": "git",
"args": [
"clone",
"https://github.com/tappunk/mcp-bridge"
]
}
}
}