Skip to main content

A Model Context Protocol server providing access to RabbitMQ by LLMs

Project description

RabbitMQ MCP Server

smithery badge

A Model Context Protocol server implementation for RabbitMQ. Enabling MCP client to interact with queues and topics hosted in a RabbitMQ instance.

Running locally with the Claude desktop app

Installing via Smithery

To install RabbitMQ MCP Server for Claude Desktop automatically via Smithery:

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

Try it online

https://smithery.ai/server/@kenliao94/mcp-server-rabbitmq

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>"
        ]
      }
    }
}
  1. Install and open the Claude desktop app.
  2. 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). If there are issues, use the Debugging tools provided in the MCP documentation here.

Roadmap

  1. Expose admin API tools and pika SDK tools
  2. Support Streamable HTTP when it is GA in Python SDK
  3. Support OAuth 2.1 and use it with RabbitMQ OAuth

Development

Setup Development Environment

# Clone the repository
git clone https://github.com/kenliao94/mcp-server-rabbitmq.git
cd mcp-server-rabbitmq

# Install pre-commit hooks
pre-commit install

Running Tests

pytest

Code Quality

This project uses ruff for linting and formatting:

# Run linter
ruff check .

# Run formatter
ruff format .

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_mcp_server_rabbitmq-2.0.1.tar.gz (62.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_mcp_server_rabbitmq-2.0.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file mseep_mcp_server_rabbitmq-2.0.1.tar.gz.

File metadata

File hashes

Hashes for mseep_mcp_server_rabbitmq-2.0.1.tar.gz
Algorithm Hash digest
SHA256 0d05da6b88e81d24882122094f5d9ee65332d1592d77e0c4b796ecaf01e434f4
MD5 f8599840bd06ca3d677ef17162251331
BLAKE2b-256 13a4568c0c24c39966ab12cd063f27964af3fa5ad5dd4aa23bd412b56fbd8c31

See more details on using hashes here.

File details

Details for the file mseep_mcp_server_rabbitmq-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_mcp_server_rabbitmq-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7498ddfc764988d17a625da8de20fb6a288b711c1a2055b1377a2d17a8e0d6c8
MD5 01c8720ffa3fa2642f498b7a5722040f
BLAKE2b-256 a4e1faaf276433f54290de90a7f28a818aaa49e69d3727374e48cff30ab5abbf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page