RabbitMQ MCP server

Integrates RabbitMQ, enabling message queue operations for distributed systems and event-driven architectures.
Back to servers
Provider
Ken Liao
Release date
Jan 02, 2025
Language
Python
Stats
28 stars

The RabbitMQ MCP Server enables AI agents to interact with RabbitMQ message brokers through the Model Context Protocol. It provides a convenient way to manage RabbitMQ operations using natural language commands and supports seamless integration with MCP clients.

Installation Options

Using Smithery

Install RabbitMQ MCP Server automatically via Smithery:

npx -y @smithery/cli install @kenliao94/mcp-server-rabbitmq --client claude

Using PyPI

The package is available on PyPI and can be used with uvx in your MCP client configuration:

{
    "mcpServers": {
      "rabbitmq": {
        "command": "uvx",
        "args": [
            "mcp-server-rabbitmq@latest",
            "--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>"
        ]
      }
    }
}

Installing from Source

You can also install from source:

{
    "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>"
        ]
      }
    }
}

Usage

Key Features

  • RabbitMQ Management: Control your RabbitMQ message brokers through AI-driven interactions
  • Message-Level Operations: Use Pika to interact with RabbitMQ at the message level
  • Dynamic Connection: Change RabbitMQ broker connections mid-conversation
  • Streamable HTTP Support: Compatible with FastMCP's BearerAuthProvider for remote operation
  • Client Integration: Seamlessly works with various MCP clients

Configuration Parameters

When configuring the MCP server, you'll need to provide these parameters:

  • --rabbitmq-host: Your RabbitMQ hostname (e.g., localhost, test.rabbit.com)
  • --port: RabbitMQ port number (typically 5672)
  • --username: RabbitMQ username for authentication
  • --password: RabbitMQ password for authentication
  • --use-tls: Set to "true" if using AMQPS, "false" otherwise

Online Demo

You can try the server online without installation at https://smithery.ai/server/@kenliao94/mcp-server-rabbitmq

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later