RabbitMQ MCP Server
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
PyPI
https://pypi.org/project/mcp-server-rabbitmq/
{
"mcpServers": {
"rabbitmq": {
"command": "uvx",
"args": [
"mcp-server-rabbitmq@latest",
"--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>"
]
}
}
}
Manual Installation
- Clone this repository.
- Add the following to your
claude_desktop_config.jsonfile:
- 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>"
]
}
}
}
- Install and open the Claude desktop app.
- 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
- Expose admin API tools and pika SDK tools
- Support Streamable HTTP when it is GA in Python SDK
- Support OAuth 2.1 and use it with RabbitMQ OAuth
- Support Dynamic setting of broker info
- Publish to PyPI
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.
Metadata
Release files for mcp-server-rabbitmq 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcp_server_rabbitmq-2.2.0.tar.gz | 66.9 kB | Without provenance | Details for mcp_server_rabbitmq-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcp_server_rabbitmq-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for mcp_server_rabbitmq-2.2.0-py3-none-any.whl |
Total release size: 79.1 kB
Release files / mcp_server_rabbitmq-2.2.0.tar.gz
| Download URL | mcp_server_rabbitmq-2.2.0.tar.gz |
|---|---|
| Size | 66.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
252f3b0c316005fdbe7fda90bb2f53fdab95615b096503a3768db67124fe65d9
|
|
BLAKE2b-256 checksum How to use checksums |
066a9f3ce6ec15ecc2be3ab17c6fd419f83f12637767671fcd491cda6d0e477a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / mcp_server_rabbitmq-2.2.0-py3-none-any.whl
| Download URL | mcp_server_rabbitmq-2.2.0-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e394fc8192455d548b68888b763cb915c927f518fcaf25b9cb2d7943ee465c9a
|
|
BLAKE2b-256 checksum How to use checksums |
20e7861174dae0cfd0c14938f0146f04f62796be66f5dccd75cf9b23aac32f9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Security for mcp-server-rabbitmq 2.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.