MCP Tool Router
Configure OpenClaw as an MCP server and route tools to any MCP-compatible platform.
Why This Exists
OpenClaw v3.28 shipped native MCP server capability. JulianGoldieSEO made 3 videos in one week covering this transition. Business owners using Make, n8n, ChatGPT, and Claude Code now need OpenClaw integration tooling — but no skill exists to configure routing, authentication, and tool exposure. This skill fills that gap.
Commands
# Show MCP server status and exposed tools
openclaw skill run mcp-tool-router status
# Start MCP server (exposes OpenClaw tools)
openclaw skill run mcp-tool-router serve --port 3100
# List available tools for MCP exposure
openclaw skill run mcp-tool-router tools list
# Expose specific skills as MCP tools
openclaw skill run mcp-tool-router tools expose --skills memory-compressor,production-monitor
# Hide tools from MCP exposure
openclaw skill run mcp-tool-router tools hide --skills "all"
openclaw skill run mcp-tool-router tools hide --skills agent-learning-loop
# Connect to an external MCP server
openclaw skill run mcp-tool-router connect --url https://mcp.example.com --token abc123
# List connected external MCP servers
openclaw skill run mcp-tool-router servers list
# Test MCP connection
openclaw skill run mcp-tool-router test --server https://mcp.example.com
# Generate MCP config for Claude Code integration
openclaw skill run mcp-tool-router config claude-code
# Generate MCP config for n8n integration
openclaw skill run mcp-tool-router config n8n
# Set auth token for inbound MCP calls
openclaw skill run mcp-tool-router auth set --token mySecretToken123
# View routing rules
openclaw skill run mcp-tool-router routes list
# Add routing rule (redirect tool calls to specific skill)
openclaw skill run mcp-tool-router routes add --tool web_search --skill web-researcher
Integration Templates
Claude Code
{
"mcpServers": {
"openclaw": {
"url": "http://localhost:3100/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}
n8n (v2.13.4+)
Use the MCP Client node with:
- Server URL:
http://localhost:3100/mcp - Auth: Bearer token (set via
auth setcommand)
Make (Integromat)
Use the HTTP module with MCP protocol headers.
Security
- All inbound MCP calls require auth token
- Tool exposure is allowlist-based (opt-in, not opt-out)
- Rate limiting: 60 requests/minute per client by default
- Audit log: all MCP calls logged to
memory/mcp-tool-router-audit.md
Files
scripts/mcp-tool-router.py— main routing scriptmemory/mcp-tool-router-config.json— server config and routing rules (auto-created)memory/mcp-tool-router-audit.md— MCP call audit log (auto-created)