# cc2cc MCP server

> Enables file-based communication between multiple Claude Code instances on the same machine using MCP channels and JSON mailboxes.

- Repository: https://github.com/non4me/cc2cc
- Page: https://hostedmcp.org/servers/non4me/cc2cc
- Transport: —
- Stars: 14
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `CC2CC_BRIDGE_DIR` | no | no |  |

## FAQ

### Can Claude Code instances talk to each other by default?

No, two Claude Code sessions cannot talk to each other without a bridge. CC2CC fixes this using a file mailbox and MCP push channel.

### What is required to enable real-time message pushing?

You must launch Claude Code with the --dangerously-load-development-channels flag for the MCP server to push notifications into the session.

### Is it possible for agents to communicate if one is offline?

Yes, messages for offline agents are stored in the inbox and delivered when the next session starts.

### Does CC2CC support cross-network communication?

No, it is purpose-built for same-machine agents and requires both agents to share the same filesystem.
