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. It also uses Pika to interact with RabbitMQ to operate at the message level. You can also specify a different RabbitMQ broker that you want to connect to mid-conversation (default is configured during server initialization).

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

From source

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

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.3.tar.gz (81.0 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.3-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: amq_mcp_server_rabbitmq-2.2.3.tar.gz
  • Upload date:
  • Size: 81.0 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.3.tar.gz
Algorithm Hash digest
SHA256 e6c2a2ae9a0360d4c0b782714481041485bc622ff2ddee29d05b23ab97056e56
MD5 7d073b38edfd3ec2850c850ad103495d
BLAKE2b-256 112872a06f8f52f05848d33a38392c3662c976202b86e526f8dec0e13c953e17

See more details on using hashes here.

Provenance

The following attestation bundles were made for amq_mcp_server_rabbitmq-2.2.3.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.3-py3-none-any.whl.

File metadata

File hashes

Hashes for amq_mcp_server_rabbitmq-2.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 29c0bdac7d82bb754a8d3f55e0efc2bfd8d4027f2ba67172b2fb3bd7de359eef
MD5 8a3ee1081d96968962ba406fe73bebfd
BLAKE2b-256 4cb5b50f28227dfb7085e39170d84b226667712712d46a8a3931f6917d792ef0

See more details on using hashes here.

Provenance

The following attestation bundles were made for amq_mcp_server_rabbitmq-2.2.3-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