Agent Mq logo

Agent Mq

by bababoi-bibilabu

Lets coding agents register, exchange, receive, and review messages across sessions and machines through a self-hosted or configured queue.

Install Agent Mq

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "bababoi-bibilabu-agent-mq": {
      "command": "npx",
      "args": [
        "--yes",
        "--package",
        "@agent-mq/mcp",
        "--",
        "agent-mq-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

bababoi-bibilabu/agent-mq connects AI coding assistants through a message queue with UUID-based authentication. Agents can register, send messages by agent name, receive and consume queued messages, list participants, and inspect delivered history. Use it when Claude Code, Cursor, Codex, or other configured agents need to coordinate across sessions or machines. The server can use its default configuration or a self-hosted endpoint.

Use cases

  • Register coding agents that need to coordinate across sessions
  • Send implementation notes from one agent to another
  • Poll for queued messages on a separate machine
  • Review delivered message history

Key features

  • UUID-token authentication
  • Agent registration and listing
  • Named agent-to-agent messaging
  • Message receive-and-consume polling
  • Delivered message history
  • Self-hosted Docker Compose deployment

Tools7

What Agent Mq lets your agent do. Expand a tool for its parameters.

Verified live~373 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 112d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · @agent-mq/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads88Package downloads in the last 30 days.
Last commit15d agoMost recent push to the default branch.
Tools exposed7Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Agent Mq works

What bababoi-bibilabu/agent-mq does

bababoi-bibilabu/agent-mq provides a shared message queue for AI coding assistants. Each agent can register with the queue, address another registered agent by name, and retrieve messages intended for it. The design supports communication across separate sessions and machines rather than limiting coordination to one active conversation.

Authentication uses UUID-based tokens. The MCP client can log in to the configured service or to a server that you operate yourself. The repository includes a server that can be started with Docker Compose, and the MCP package is available through npm.

How it works

The MCP interface maps queue operations to tools. An agent first uses mq_add to join the queue, then calls mq_send with a target agent name and message. The recipient uses mq_recv to retrieve and consume its pending messages; the README advises polling periodically for new messages. mq_ls returns registered agents, while mq_history exposes delivered-message history.

The connection can be managed with mq_login and mq_logout. Login accepts a token and can accept a server URL, allowing an agent to select a self-hosted endpoint instead of the default configuration. The underlying server API uses bearer authorization for authenticated operations. It exposes endpoints for agent registration, sending, receiving, listing agents, history, status, statistics, and health checks.

Setup and configuration

For an MCP client, add a server entry that runs npx --yes --package @agent-mq/mcp -- agent-mq-mcp. The README specifically shows MCP configuration paths for Claude and Cursor, including ~/.claude/mcp.json and ~/.cursor/mcp.json. It also documents installation as a Claude Code plugin through the repository’s marketplace URL.

To self-host, clone the repository, change to its server directory, and run docker compose up -d. After the service is available, call mq_login with a UUID token and the server address, such as an HTTP endpoint on port 8000.

Tools and capabilities

  • mq_add: register an agent with the queue.
  • mq_send: send a message to an agent by name.
  • mq_recv: receive and consume messages for an agent.
  • mq_ls: list registered agents.
  • mq_history: view delivered message history.
  • mq_login: authenticate with a token and optionally select a server.
  • mq_logout: disconnect from the server.

Limitations and notes

Receiving new messages requires the agent to poll with mq_recv. The material also does not specify retention rules, delivery guarantees, message schemas, or access controls beyond bearer-token authentication.

A self-hosted deployment requires Docker Compose and a reachable server URL. Public statistics and health checks do not require authentication, while the documented agent, messaging, history, and status endpoints do. The project is released under the MIT license.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agent Mq

bababoi-bibilabu/agent-mq is an MCP server that connects AI coding assistants through a shared, UUID-authenticated message queue. Its main tools register agents, send messages by agent name, receive and consume queued messages, list agents, view history, and manage login or logout against a configured or self-hosted server.

Install it by adding an MCP configuration entry that runs the npm package with npx: `npx --yes --package @agent-mq/mcp -- agent-mq-mcp`.

Self-host it by cloning the repository, entering its `server` directory, and running `docker compose up -d`. Then call `mq_login` with your UUID token and the URL of the running server, such as `http://your-server:8000`.

Add the documented stdio command to that file, then configure or log in to the desired queue server.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgent Mq AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/bababoi-bibilabu-agent-mq?style=directory)](https://allmcps.com/mcp/bababoi-bibilabu-agent-mq)
HTML Embed
<a href="https://allmcps.com/mcp/bababoi-bibilabu-agent-mq"><img src="https://allmcps.com/api/badge/bababoi-bibilabu-agent-mq?style=directory" alt="Agent Mq on AllMCPs" /></a>