fleet-bridge
fleet-bridge is a stateless stdio MCP server that exposes OpenClaw and Hermes fleet agents as callable tools for any MCP client.
List OpenClaw agents with name, role, tier, host, and port while stripping tokens.
Check a named agent gateway's health and return its
/healthJSON.Generate a
session_keyfor multi-turn OpenClaw conversations, with optional agent-name validation.Invoke an OpenClaw agent with a prompt, optional
session_key, and optionaltimeout_ms; supports progress notifications via_meta.progressToken.List Hermes agents with name, role, model, and host while stripping SSH details.
Invoke a Hermes agent one-shot over SSH with a prompt and optional
timeout_ms; always stateless.Configure fleets through
agents.json,hermes-agents.json, and environment variables; missing or empty rosters still allow startup.
Allows listing Hermes agents and sending one-shot prompts to them over SSH, returning their responses as MCP tool results; agent roster details (roles, models, hosts) are exposed while SSH user and binary paths are stripped from output.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fleet-bridge list the agents and check if the research agent is healthy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
npx fleet-bridgeYour agents already exist. They live on an OpenClaw gateway, or on a box somewhere running Hermes. The problem is getting at them: every client wants a different integration, every runtime speaks a different protocol.
fleet-bridge says no to all of that. It's one stdio MCP server. Point Zed, Claude Code, or any MCP client at it, and every agent on your fleet shows up as a tool you call by name.
Tokens never leave the box running the bridge. Every tool output strips agent tokens and SSH details before the client sees them.
How it fits together
flowchart LR
subgraph openclaw["OpenClaw gateway agents"]
OA["/v1/chat/completions<br/>+ /health"]
end
subgraph hermes["Hermes agents"]
HA["ssh {user}@{host}<br/>{binary} -z 'prompt'"]
end
BRIDGE["fleet-bridge<br/>stdio MCP server<br/><br/>reads agents.json +<br/>hermes-agents.json<br/>at startup"]
subgraph clients["MCP clients"]
Z["Zed"]
C["Claude Code"]
X["any MCP client"]
end
OA -- "http :port/v1/chat/completions<br/>(Bearer token)" --> BRIDGE
HA -- "SSH" --> BRIDGE
BRIDGE -- "stdio JSON-RPC (MCP)" --> clientsThree properties worth knowing:
Stateless. The bridge reads its rosters once at startup and holds nothing. Multi-turn conversation state lives in the agent gateways, where it already was.
File-driven. Two JSON files define your fleet. Edit, restart, done.
Two runtimes, one shape. OpenClaw agents over HTTP, Hermes agents over SSH — both flatten into the same six-tool surface.
Related MCP server: openclaw-mcp
Tools
Tool | What it does |
| List OpenClaw agents — |
| Hit the agent gateway's |
| Mint a |
| Prompt an OpenClaw agent; streams, supports |
| List Hermes agents — |
| One-shot prompt to a Hermes agent; always stateless |
Both invoke tools emit notifications/progress when the client passes
_meta.progressToken; without it you get the same final result, just quieter.
Point it at your fleet
The bridge reads two roster files at startup — both chmod 600, both
gitignored, because they hold tokens and SSH details:
agents.json— OpenClaw:{"agents": [{"name", "role", "tier", "model?", "port", "host", "token"}]}hermes-agents.json— Hermes:{"agents": [{"name", "role", "model?", "host", "ssh_user", "binary"}]}
Missing file, empty roster — the bridge starts anyway. Full field reference in
docs/CONFIG.md.
On the box running your OpenClaw agents, build the roster from the live gateway configs:
bash scripts/build-agents.json.sh /tmp/agents.jsonIt scans $HOME/.openclaw-*/openclaw.json for ports and tokens. Set
FLEET_HOST if agents aren't on 127.0.0.1. Add or rotate an agent: change
the OpenClaw config, re-run, redeploy, restart your client.
Variable | Default | Purpose |
|
| Path to the OpenClaw roster |
|
| Path to the Hermes roster |
|
| Abort timeout for |
|
| Default invoke timeout when the call omits |
Prove it works
No MCP client needed. Build, swap in an agent name from your roster:
npm install && npm run build
printf '%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"smoke","version":"0"}}}' \
'{"jsonrpc":"2.0","method":"notifications/initialized"}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"invoke_agent","arguments":{"name":"my-agent","prompt":"reply with exactly: pong"}}}' \
| node dist/index.jsExpect pong from a real agent. Add "_meta":{"progressToken":"t1"} to the
tools/call params to watch streaming progress notifications roll in.
Beyond that: agent-side faults usually show in journalctl on the agent host
(OpenClaw runs as systemd units).
Security
Agent traffic is plain http:// by design. Run the bridge where the agents
are — loopback, LAN, or a private overlay. Don't expose agent gateways to the
public internet; there is no TLS option in v0.1. Keep roster files chmod 600
and out of any synced tree you don't control.
License
Available Tools
6 toolsagent_healthB
Check whether a specific fleet agent is healthy. Returns the agent gateway's /health JSON.
Inputs: name (required).
invoke_agentA
Send a prompt to a fleet agent and return its reply. Streams internally; emits progress notifications if client passes _meta.progressToken. Pass session_key from start_session for multi-turn conversations.
Inputs: name (required), prompt (required), timeout_ms, session_key.
invoke_hermesA
Send a one-shot prompt to a Hermes agent via SSH. Always stateless — Hermes -z mode does not preserve context across calls.
Inputs: name (required), prompt (required), timeout_ms.
list_agentsA
List fleet agents reachable through this bridge. Returns name, role, tier, host, port for each.
Inputs: no named parameters.
list_hermes_agentsA
List Hermes agents (different runtime than OpenClaw — invoked via SSH + hermes CLI). Returns name, role, model, host for each.
Inputs: no named parameters.
start_sessionA
Generate a fresh session_key for multi-turn conversation with a fleet agent. Pass the returned key to subsequent invoke_agent calls to preserve context. Conversation state is persisted server-side by the agent gateway under this key.
Inputs: agent.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
list_agents vs list_hermes_agents and invoke_agent vs invoke_hermes could be confused at a glance, but descriptions clearly distinguish the runtimes. agent_health and start_session have distinct purposes, so misselection is unlikely.
Most tools follow a verb_noun pattern (list_agents, start_session, invoke_agent, list_hermes_agents, invoke_hermes). agent_health breaks the verb-first convention, and the Hermes suffix is less systematic than a dedicated prefix, but overall it is readable and consistent.
Six tools is well-scoped for a bridge that lists agents, checks health, manages sessions, and invokes two runtimes. Each tool has a clear place without obvious redundancy.
Core list/health/session/invoke operations are covered, but session lifecycle is incomplete (no end_session or session listing) and there is no health-check tool for Hermes agents. Agents can work around these gaps via auto-expiry and invoke failures, but they are notable.
Maintenance
Related MCP Connectors
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Toolstile is a managed MCP gateway that connects remote MCP servers behind one endpoint, with per-agent permissions, shared accounts and activity logs. Connect at https://mcp.toolstile.com/mcp over Streamable HTTP with OAuth; sign in at https://toolstile.com, select a workspace and connect your upstream servers. Available tools, resources and prompts depend on that workspace and the agent's granted access.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Open-source MCP gateway with per-agent tool permissions, call approvals and tool-change review.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA lightweight MCP gateway that aggregates multiple MCP services into a unified stdio interface, automatically prefixing tool names with the service name to avoid conflicts.13 npmMIT
- AlicenseAqualityDmaintenanceMCP server for Claude Code to interact with OpenClaw AI agents (Daemon, Soren, Ash, etc.) via the gateway API, providing tools to ask agents, list them, and check their status.3MIT
- FlicenseNot gradedqualityCmaintenanceExposes OpenClaw gateway tools to MCP clients like Claude Code and Codex, enabling local tool calls, file operations, and subagent session management through a stdio MCP server.-
- AlicenseNot gradedqualityCmaintenanceEnables AI tools to uniformly discover, inspect, and call tools, prompts, and resources from multiple upstream MCP servers through a small set of fixed MCP tools, over stdio or HTTP.2MIT