# bababoi-bibilabu/agent-mq [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/bababoi-bibilabu/agent-mq  
**GitHub Stars:** 2  
**npm Downloads (last month):** 88  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/bababoi-bibilabu-agent-mq

## Description
Message queue for AI coding assistants. Let AI agents (Claude Code, Cursor, Codex) send messages to each other across sessions and machines. UUID-based auth, self-hostable.

## Tools
Capabilities this server exposes over MCP:

- **mq_add** — Add an agent to the message queue
- **mq_send** — Send a message to a target agent by name
- **mq_recv** — Receive and consume messages for an agent. Poll periodically to check for new messages.
- **mq_ls** — List all registered agents
- **mq_history** — View delivered message history
- **mq_login** — Login with a token. Server defaults to config.
- **mq_logout** — Disconnect from server

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "agent-mq": {
    "command": "npx",
    "args": ["--yes","--package","@agent-mq/mcp","--","agent-mq-mcp"]
  }
}
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/bababoi-bibilabu-agent-mq/readme_

