# mcp-server-rabbitmq

> MCP Server

This repository provides a Model Context Protocol (MCP) server implementation for RabbitMQ, enabling MCP clients like Claude to interact with queues and topics hosted in a RabbitMQ instance.

## Overview

- **Category:** Communication
- **Language:** Python
- **Stars:** 38
- **Forks:** 0
- **Owner:** kenliao94
- **GitHub:** https://github.com/kenliao94/mcp-server-rabbitmq
- **Created:** 2025-01-02T00:39:32+00:00
- **Updated:** 2025-03-28T06:03:34+00:00
- **Source:** https://model-context-protocol.com/servers/mcp-server-rabbitmq-message-queue-integration

## Setup

## Setup

**Running locally with the Claude desktop app**

**Installing via Smithery**

To install RabbitMQ MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@kenliao94/mcp-server-rabbitmq):

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

**Manual Installation**
1. Clone this repository.
2. Add the following to your `claude_desktop_config.json` file:
    - On MacOS: `~/Library/Application\ Support/Claude/claude_desktop_config.json`
    - On Windows: `%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>"
        ]
      }
    }
}
```
3. Install and open the [Claude desktop app](https://claude.ai/download).
4. Try asking Claude to do a read/write operation of some sort to confirm the setup (e.g. ask it to publish a message to a queue).
5. If there are issues, use the Debugging tools provided in the MCP documentation [here](https://modelcontextprotocol.io/docs/tools/debugging).

## Tools

## Available Tools

1.  Model Context Protocol (MCP) server implementation (enables MCP client to interact with RabbitMQ).
2.  Smithery (used for automatic installation).
3.  Debugging tools (provided in the MCP documentation).
