Learn how to install and configure RabbitMQ MCP Server for Claude Desktop integration
The RabbitMQ MCP Server is an implementation that enables models such as Claude Desktop, Continue, Cursor and other AI applications to connect to data sources and tools hosted in a RabbitMQ instance using the Model Context Protocol (MCP). This server acts as a bridge between the AI application’s logic and the backend services, ensuring seamless communication and data exchange. By leveraging RabbitMQ for message passing, this MCP server enhances performance, scalability, and reliability, making it an ideal choice for integrations that require robust messaging capabilities.
The primary feature of the RabbitMQ MCP Server is its ability to handle MCP client requests by routing messages through RabbitMQ’s high-performance messaging system. This setup supports both read and write operations, enabling AI applications to perform actions such as publishing messages to queues or topics and subscribing to receive notifications from various sources.
The server supports compatibility with a range of MCP clients, including Claude Desktop, Continue, Cursor, and others, providing a standardized framework for data exchange.
This architecture leverages the Model Context Protocol to ensure seamless communication between AI applications and backend services. The protocol defines how requests are formatted, routed, and processed, making it easier for developers to integrate with RabbitMQ’s robust ecosystem.
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
graph TD
M[RabbitMQ] -->|Messages-Queue||Data-Publish| N[MCP Server]
N --> O[Data Source/Tool]
P[Claude Desktop/Continue/Cursor] -->|MCP Client| Q[MCP Protocol]
Q --> R[MCP Server]
style M fill:#f7e6f0
style N fill:#f4e1ff
style O fill:#ffeae2
style P fill:#effce5
style Q fill:#eaf0ff
To quickly set up the RabbitMQ MCP Server for use with Claude Desktop, you can install it using Smithery. The following command automatically configures and initializes the server:
npx -y @smithery/cli install @kenliao94/mcp-server-rabbitmq --client claude
You can also try out the RabbitMQ MCP Server via a live demo hosted on Smithery.
https://smithery.ai/server/@kenliao94/mcp-server-rabbitmq
For those preferring a manual setup, you can clone this repository and configure the server as shown below:
Clone the Repository:
git clone https://github.com/your-repo/mcp-server-rabbitmq.git
cd mcp-server-rabbitmq
Configure claude_desktop_config.json
:
Add the following configuration to your claude_desktop_config.json
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",
"<hostname ex. test.rabbit.com, localhost>",
"--port",
"<port number ex. 5672>",
"--username",
"<rabbitmq username>",
"--password",
"<rabbitmq password>",
"--use-tls",
"<true if uses amqps, false otherwise>"
]
}
}
}
Launch the Claude desktop application and try an operation to confirm that it is working.
Use the built-in debugging tools provided with MCP documentation for troubleshooting any issues or configuration problems.
Imagine you are developing a personalized reminder system that uses an AI assistant like Claude Desktop to schedule tasks based on user inputs. You could configure the RabbitMQ MCP Server to connect a calendar application with your AI assistant:
In another scenario, you might want to build an automated data processing pipeline for anomaly detection:
The RabbitMQ MCP Server supports multiple MCP clients such as Claude Desktop, Continue, Cursor, and others. This compatibility ensures that you can integrate with a variety of tools to build more comprehensive applications.
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ☑ | ❌ | Full Support |
Cursor | ❌ | 😕 | ❌ | Tools Only |
The server is optimized for performance and compatibility, ensuring that the data exchange is both efficient and reliable. It supports various configurations such as TLS to secure communications over networks.
Here’s an example of a basic MCP configuration with RabbitMQ:
{
"mcpServers": {
"rabbitmq": {
"command": "uv",
"args": [
"--directory",
"/path/to/repo/mcp-server-rabbitmq",
"run",
"mcp-server-rabbitmq",
"--rabbitmq-host",
"<hostname ex. test.rabbit.com, localhost>",
"--port",
"<port number ex. 5672>",
"--username",
"<rabbitmq username>",
"--password",
"<rabbitmq password>",
"--use-tls",
"<true if uses amqps, false otherwise>"
]
}
}
}
To further enhance the server's capabilities and security:
You can add environment variables to customize certain aspects of the server’s operations, such as adding an API key:
{
"mcpServers": {
"[server-name]": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-[name]"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
How do I resolve connection issues between MCP Client and Server?
What happens when messages are lost during transmission?
Can the same server handle multiple MCP clients?
How do I secure data through RabbitMQ for MCP communication?
What happens if the RabbitMQ instance goes down?
Contributions are welcome! If you wish to contribute, please follow these guidelines:
Clone the Repository:
git clone https://github.com/your-repo/mcp-server-rabbitmq.git
cd mcp-server-rabbitmq
Set Up Your Environment:
Ensure you have Node.js and necessary dependencies installed.
npm test
For more information on the Model Context Protocol, visit:
Explore the broader ecosystem of tools and protocols designed for AI application integration:
By using RabbitMQ MCP Server, developers can harness the power of Model Context Protocol to build robust, scalable, and secure AI applications that integrate seamlessly with a variety of tools and services.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods