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
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6c2a2ae9a0360d4c0b782714481041485bc622ff2ddee29d05b23ab97056e56
|
|
| MD5 |
7d073b38edfd3ec2850c850ad103495d
|
|
| BLAKE2b-256 |
112872a06f8f52f05848d33a38392c3662c976202b86e526f8dec0e13c953e17
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
amq_mcp_server_rabbitmq-2.2.3.tar.gz -
Subject digest:
e6c2a2ae9a0360d4c0b782714481041485bc622ff2ddee29d05b23ab97056e56 - Sigstore transparency entry: 598447456
- Sigstore integration time:
-
Permalink:
amazon-mq/mcp-server-rabbitmq@4e606e4ce47f970dbd25c43308d83902c31dfb31 -
Branch / Tag:
refs/tags/v2.2.3 - Owner: https://github.com/amazon-mq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4e606e4ce47f970dbd25c43308d83902c31dfb31 -
Trigger Event:
push
-
Statement type:
File details
Details for the file amq_mcp_server_rabbitmq-2.2.3-py3-none-any.whl.
File metadata
- Download URL: amq_mcp_server_rabbitmq-2.2.3-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29c0bdac7d82bb754a8d3f55e0efc2bfd8d4027f2ba67172b2fb3bd7de359eef
|
|
| MD5 |
8a3ee1081d96968962ba406fe73bebfd
|
|
| BLAKE2b-256 |
4cb5b50f28227dfb7085e39170d84b226667712712d46a8a3931f6917d792ef0
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
amq_mcp_server_rabbitmq-2.2.3-py3-none-any.whl -
Subject digest:
29c0bdac7d82bb754a8d3f55e0efc2bfd8d4027f2ba67172b2fb3bd7de359eef - Sigstore transparency entry: 598447458
- Sigstore integration time:
-
Permalink:
amazon-mq/mcp-server-rabbitmq@4e606e4ce47f970dbd25c43308d83902c31dfb31 -
Branch / Tag:
refs/tags/v2.2.3 - Owner: https://github.com/amazon-mq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4e606e4ce47f970dbd25c43308d83902c31dfb31 -
Trigger Event:
push
-
Statement type: