/install mcp-bridge
mcp-bridge-openclaw
CLI tool for connecting to MCP servers with built-in resilience.
Installation
npm install -g mcp-bridge-openclaw
Verified publisher: npm user jaggu37
Commands
Connect to MCP server
mcp-bridge --config config.json
List available servers
mcp-bridge --config config.json --list
Run with verbose logging
mcp-bridge --verbose --config config.json
Configuration
Create config.json:
{
"servers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"],
"env": {}
}
}
}
Security tip: Use environment variables for tokens instead of plaintext in config:
{
"servers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
}
}
}
}
Then run: GITHUB_TOKEN=your_token mcp-bridge --config config.json
Programmatic Usage
import { MCPBridge } from 'mcp-bridge-openclaw';
const bridge = new MCPBridge({
configPath: './config.json',
onServerConnect: (name) => console.log(`Connected to ${name}`),
});
await bridge.connect();
await bridge.disconnect();
Key Features
- Auto-reconnect on disconnect
- Configurable retry logic
- Type-safe JSON config
- CLI + programmatic API
- Multiple server support
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install mcp-bridge - After installation, invoke the skill by name or use
/mcp-bridge - Provide required inputs per the skill's parameter spec and get structured output
What is mcp-bridge?
Use mcp-bridge-openclaw CLI to connect to and manage Model Context Protocol (MCP) servers with auto-reconnection and retry logic. Install via npm install -g... It is an AI Agent Skill for Claude Code / OpenClaw, with 556 downloads so far.
How do I install mcp-bridge?
Run "/install mcp-bridge" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is mcp-bridge free?
Yes, mcp-bridge is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does mcp-bridge support?
mcp-bridge is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created mcp-bridge?
It is built and maintained by jaggu1999 (@jaggu1999); the current version is v1.0.1.