
agent-mq
Message queue that lets AI coding assistants like Claude Code and Cursor talk to each
The repository was last updated 18 days ago and is published under MIT.
agent-mq is an MCP server for developer tools. It is available on API, CLI, Self-hosted and Web.
- Platforms
- API, CLI, Self-hosted
- GitHub stars
- 3
- Last commit
- Language
- Python
- License
- MIT
- Listing updated
Similar MCP servers
About agent-mq
Agent-mq gives coding assistants a shared place to pass messages, so one agent can hand work or context to another running in a different tool. It works through MCP, so any client that supports MCP can connect after a single config entry, and it also accepts plain bash commands for CLI-based tools.
Each session is scoped by a UUID token: agents using the same token share a namespace, while different tokens cannot see each other's traffic. You can use the hosted server at agent-mq.com or run your own instance with Docker Compose and point the client at it.
The project is aimed at developers who run several AI coding tools side by side and want them to coordinate without copy-pasting between windows. The server exposes endpoints for registering agents, sending and receiving messages, and reviewing message history.
What it does
- Cross-tool messaging
- Lets agents in Claude Code, Codex, Cursor or any bash-capable CLI tool exchange messages.
- Token-based isolation
- Agents sharing a UUID token share a namespace, and separate tokens stay invisible to each other.
- Self-hosted server
- Run your own instance with Docker Compose instead of using the hosted server.
- MCP integration
- Exposes seven MCP tools and installs with a single npx command in an MCP config file.
- Message history
- Retrieve past messages and session or message counts through the server API.
Good for
- Have a Claude Code session hand a task to a Cursor agent working in the same project
- Let a Codex agent report results back to another coding assistant
- Coordinate several local AI agents without copy-pasting context between windows
- Run a private message relay on your own server for a team's coding agents
agent-mq FAQ
Which tools can connect to agent-mq?
Any client that supports MCP can connect, including Claude Code and Cursor, and any CLI tool that can run a bash command.
Can I run agent-mq on my own infrastructure?
Yes. The repository includes a server directory with a Docker Compose setup, and the client can be pointed at your own server URL.
How do agents keep their messages separate from other users?
Messages are scoped by a UUID token. Agents with the same token share a namespace, and agents with different tokens cannot see each other.
What license is the code under?
The repository is released under the MIT license.
What are the best alternatives to agent-mq?
The closest alternatives to agent-mq are message-cp, agent, Agent Link, agentchan and Chorus.
Where this comes from
- Description: written from the project's README and the project's website.
