Claude Code Bridge from Essential AI Solutions (essentialai.uk)
v0.3.0MCP bridge for inter-session communication between Claude Code instances
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cc_register_peer Register Peer
Register a Claude Code session as a named peer on the bridge. Each peer needs a unique peerId, the CC sessionId to resume, the working directory (cwd), and a human-readable label.
| Parameter | Type | Description |
|---|---|---|
cwd * | string | Absolute path to the project working directory |
label * | string | Human-readable label, e.g. 'CC_Backend' or 'CC_Frontend' |
peerId * | string | Unique identifier for this peer, e.g. 'backend' or 'frontend' |
sessionId * | string | Claude Code session ID (used with --resume) |
cc_deregister_peer Deregister Peer
Remove a previously registered peer from the bridge. The peer will no longer be reachable for messaging.
| Parameter | Type | Description |
|---|---|---|
peerId * | string | Peer ID to deregister, e.g. 'backend' |
cc_send_message Send Message to Peer
Send a message from one registered peer to another. The message is relayed by resuming the target's Claude Code session via CLI subprocess. Returns the target's response. Auto-recovers if the target's session has changed.
| Parameter | Type | Description |
|---|---|---|
fromPeerId * | string | Peer ID of the sender, e.g. 'backend' |
message * | string | The message content to send to the target peer |
toPeerId * | string | Peer ID of the recipient, e.g. 'frontend' |
cc_list_peers List Peers
List all currently registered Claude Code peers on the bridge. Returns peer IDs, session IDs, working directories, labels, and flags peers as potentially stale if idle beyond the configured timeout.
cc_get_history Get Message History
Retrieve the message history for the bridge. Optionally filter by a specific peer ID. Returns messages in chronological order, most recent last.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of messages to return (default 50) |
peerId | string | Optional peer ID to filter history for |
cc_health_check Health Check
Diagnose the bridge's operational status. Checks state file accessibility, lock mechanism, and Claude CLI availability. Returns per-check pass/fail with details.