Publish a message to a RabbitMQ queue or exchange
Consume a message from a RabbitMQ queue
Create a new queue in RabbitMQ
List all queues in the RabbitMQ server
Delete a queue from RabbitMQ
A Model Context Protocol server implementation that enables AI assistants to interact with RabbitMQ message brokers. This MCP allows Claude and other compatible AI assistants to publish messages to queues, consume messages, and manage RabbitMQ resources directly through natural language conversations. With this integration, you can leverage the power of message queuing for asynchronous communication between systems while using AI assistants as an interface. The MCP supports core RabbitMQ operations and provides a seamless way to incorporate message broker functionality into your AI workflows.
The RabbitMQ MCP Server allows AI assistants like Claude to interact with RabbitMQ message brokers. This enables you to publish messages to queues, consume messages, and manage RabbitMQ resources through natural language conversations with your AI assistant.
The easiest way to install the RabbitMQ MCP Server is through Smithery:
npx -y @smithery/cli install @kenliao94/mcp-server-rabbitmq --client claude
This command automatically configures the MCP server for use with the Claude desktop app.
Clone the repository:
git clone https://github.com/kenliao94/mcp-server-rabbitmq.git
cd mcp-server-rabbitmq
Add the following configuration to your Claude desktop configuration file:
~/Library/Application\ Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"rabbitmq": {
"command": "uv",
"args": [
"--directory",
"/path/to/repo/mcp-server-rabbitmq",
"run",
"mcp-server-rabbitmq",
"--rabbitmq-host",
"your-rabbitmq-host",
"--port",
"5672",
"--username",
"your-rabbitmq-username",
"--password",
"your-rabbitmq-password",
"--use-tls",
"false"
]
}
}
}
Replace the placeholder values with your actual RabbitMQ connection details:
your-rabbitmq-host
: Your RabbitMQ server hostname (e.g., "localhost" or "rabbitmq.example.com")5672
: The port number for RabbitMQ (default is 5672)your-rabbitmq-username
: Your RabbitMQ usernameyour-rabbitmq-password
: Your RabbitMQ password--use-tls
: Set to "true" if using AMQPS (secure connection), otherwise "false"Once installed, you can interact with RabbitMQ through natural language conversations with Claude. Here are some example prompts:
The MCP server handles the translation between your natural language requests and the appropriate RabbitMQ API calls.
If you encounter issues with the MCP server:
For more advanced debugging, you can use the debugging tools provided in the MCP documentation at https://modelcontextprotocol.io/docs/tools/debugging.