agent-mesh-mcp
Provides tools for inter-agent communication via RabbitMQ, enabling agents to ask questions routed by topic.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-mesh-mcpask backend agent about deployment status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agent-mesh-mcp
MCP server for inter-agent communication via RabbitMQ. Two transports:
stdio (
index.mjs) — for local Claude Code / Cursor sessionsHTTP (
server.mjs) — for remote access from Claude.ai, Claude Desktop, or mobile via Streamable HTTP + Keycloak OAuth
Install
npm install -g agent-mesh-mcpRelated MCP server: gptqueue
Local Usage (stdio)
Claude Code (~/.claude/settings.local.json)
{
"mcpServers": {
"agent-mesh": {
"command": "agent-mesh-mcp",
"env": {
"RABBITMQ_URL": "amqp://user:pass@your-rabbitmq:5672/",
"RABBITMQ_MGMT_URL": "http://your-rabbitmq:15672",
"EXCHANGE_NAME": "agents",
"AGENT_NAME": "human"
}
}
}
}Cursor (.cursor/mcp.json)
Same format as above.
Remote Usage (HTTP)
Run server.mjs as a standalone HTTP server with Keycloak OAuth:
MCP_PORT=3100 \
KEYCLOAK_URL=https://your-keycloak \
KEYCLOAK_REALM=master \
KEYCLOAK_CLIENT_ID=agent-mesh \
KEYCLOAK_CLIENT_SECRET=your-secret \
RABBITMQ_URL=amqp://user:pass@your-rabbitmq:5672/ \
RABBITMQ_MGMT_URL=http://your-rabbitmq:15672 \
EXCHANGE_NAME=agents \
node server.mjsThen add to Claude Code (.mcp.json or .claude.json):
{
"mcpServers": {
"agent-mesh": {
"type": "http",
"url": "https://mesh.openbiocure.ai/mcp"
}
}
}Claude Code auto-discovers OAuth via /.well-known/oauth-authorization-server and handles the Keycloak login flow in your browser.
Architecture
Claude.ai / Phone / Desktop
|
v HTTPS
your-domain/mcp (Cloudflare Tunnel or reverse proxy)
|
v
server.mjs (Streamable HTTP + OAuth)
|
v AMQP
RabbitMQ --> All workers (any machine)OAuth Flow
The server proxies OAuth to Keycloak:
GET /authorize— redirects to Keycloak loginPOST /token— exchanges auth code for access token via KeycloakPOST /register— dynamic client registrationGET /.well-known/oauth-authorization-server— OAuth metadataGET /health— health check (no auth)
All /mcp requests require a valid Keycloak bearer token.
Tools
list_agents()
List all online agents and their topics.
ask_agent(topic, message, timeout?)
Ask another agent a question via RabbitMQ.
Parameters:
topic— routing key (e.g.datalake,platform,ops,prod)message— the message to sendtimeout— seconds to wait for reply (default: 900)
Returns: the agent's reply, or a timeout message.
How It Works
Caller --> ask_agent(topic, message)
|
v
RabbitMQ (topic exchange)
|
v
Worker on ask.<topic> queue
|
v
Agent processes message (Claude Agent SDK)
|
v
Reply --> RabbitMQ --> CallerEnvironment Variables
Variable | Default | Description |
|
| RabbitMQ connection URL |
|
| RabbitMQ management API |
|
| Name of the calling agent |
|
| Reply timeout in seconds |
|
| RabbitMQ exchange name |
|
| HTTP server port (server.mjs only) |
|
| Keycloak base URL (server.mjs only) |
|
| Keycloak realm (server.mjs only) |
|
| OAuth client ID (server.mjs only) |
| — | OAuth client secret (server.mjs only) |
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables AI agents to communicate with each other through Slack-like room-based channels with messaging, mentions, presence management, and long-polling for real-time collaboration.Last updated104MIT
- Alicense-qualityDmaintenanceEnables AI agents to discover each other and exchange typed messages through a Redis-backed queue via MCP tool calls, with support for registration, heartbeat, and queue management.Last updated1MIT
- Alicense-qualityBmaintenanceEnables Cursor agents to communicate via a shared chat room, allowing them to ask questions, share status, and warn about conflicts while collaborating on the same repo.Last updated905MIT
- Alicense-qualityBmaintenanceEnables LLM agents to manage RabbitMQ queues, exchanges, and shovels via MCP tools, with restricted mode for production environments.Last updatedApache 2.0
Related MCP Connectors
Agent-native collaboration network: orchestrate a team of long-running agents from any MCP client.
Agent-to-agent network for teams: dm, who-knows-X routing, shared rooms. Human-in-the-loop.
Durable agent-to-agent handoffs and shared scratchpad for multi-agent workflows.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/openbiocure/agent-mesh-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server