Skip to main content

A Model Context Protocol server providing access to RabbitMQ by LLMs

Project description

RabbitMQ MCP Server

A Model Context Protocol server implementation for RabbitMQ operation.

Features

Manage your RabbitMQ message brokers using AI agent

This MCP servers wraps admin APIs of a RabbitMQ broker as MCP tools.

Supports streamable HTTP with FastMCP's BearerAuthProvider

You can start a remote RabbitMQ MCP server by configuring your own IdP and 3rd party authorization provider.

Seamless integration with MCP clients

The package is available on PyPI, you can use uvx without having to fork and build the MCP server locally first.

Installation

PyPI

https://pypi.org/project/mcp-server-rabbitmq/

Use uvx directly in your MCP client config

{
    "mcpServers": {
      "rabbitmq": {
        "command": "uvx",
        "args": [
            "amq-mcp-server-rabbitmq@latest",
            "--allow-mutative-tools"
        ]
      }
    }
}

From source

  1. Clone this repository.
{
    "mcpServers": {
      "rabbitmq": {
        "command": "uv",
        "args": [
            "--directory",
            "/path/to/repo/mcp-server-rabbitmq",
            "run",
            "amq-mcp-server-rabbitmq",
            "--allow-mutative-tools"
        ]
      }
    }
}

Configuration

--allow-mutative-tools: if specificy, it will enable tools that can mutate broker states. Default is false.

Development

Setup Development Environment

# Clone the repository
git clone https://github.com/amazon-mq/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

amq_mcp_server_rabbitmq-2.2.4.tar.gz (81.1 kB view details)

Uploaded Source

Built Distribution

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

amq_mcp_server_rabbitmq-2.2.4-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file amq_mcp_server_rabbitmq-2.2.4.tar.gz.

File metadata

  • Download URL: amq_mcp_server_rabbitmq-2.2.4.tar.gz
  • Upload date:
  • Size: 81.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for amq_mcp_server_rabbitmq-2.2.4.tar.gz
Algorithm Hash digest
SHA256 588f47dcc32e5b010e2966fd81866aa915ca6635d49d31056d90336c33df4aea
MD5 8f60b26e3aa6c4c9365d30d1be8fdf81
BLAKE2b-256 ab7498970f2e816965888e0c9c3695eec9ea897f31b3611693984724d5eb39fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for amq_mcp_server_rabbitmq-2.2.4.tar.gz:

Publisher: release.yml on amazon-mq/mcp-server-rabbitmq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amq_mcp_server_rabbitmq-2.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for amq_mcp_server_rabbitmq-2.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 343f8a5720a2d955199ce1abc144e6435a4c7f1d9e06d057095b819a1b5a22a5
MD5 12f105825e89c1ec9e16523272be7532
BLAKE2b-256 6db0d9a383f109afb0414c7aa3cdc5a339fbb5edb0c775857101691b46cf2afb

See more details on using hashes here.

Provenance

The following attestation bundles were made for amq_mcp_server_rabbitmq-2.2.4-py3-none-any.whl:

Publisher: release.yml on amazon-mq/mcp-server-rabbitmq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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