Skip to main content

RabbitMQ MCP server

Project description

rabbitmq-mcp

RabbitMQ MCP server for management and AMQP operations, with OpenAPI-driven call_id execution and semantic search.

Features

  • MCP tools: search_ids / get_id / call_id
  • OpenAPI-driven full HTTP management API calls
  • Semantic search (optional embeddings, keyword fallback when dependencies are missing)
  • Request/response validation (Pydantic first, jsonschema fallback)
  • Destructive operation safety guard (disabled by default)
  • AMQP: publish/consume/ack/nack/reject

Requirements

  • Python 3.12+
  • RabbitMQ Management Plugin (Management API)

Install & Run

Using uvx

uvx rabbitmq-mcp \
  --host localhost \
  --port 15672 \
  --user admin \
  --password admin123 \
  --allow-destructive false

From source

uv run --project . rabbitmq-mcp \
  --host localhost \
  --port 15672 \
  --user admin \
  --password admin123 \
  --allow-destructive false

CLI Parameters

Required:

  • --host
  • --port
  • --user
  • --password
  • --allow-destructive (true|false)

Optional (with defaults):

  • --amqp-port (default 5672)
  • --vhost (default /)
  • --scheme (default http)
  • --verify-ssl (default inferred from scheme)
  • --timeout (default 10.0)
  • --max-connections (default 20)
  • --max-keepalive (default 10)
  • --retries (default 1)
  • --retry-backoff (default 0.2)
  • --vhost-cache-ttl (default 60)

MCP Tools

  • search_ids: Search operationId by keyword/semantics (pagination supported).
  • get_id: Return input/output schema for the given operationId.
  • call_id: Execute the operationId (HTTP/AMQP auto routing).

MCP Config Example

Example JSON config for MCP clients that accept command/args (e.g., Claude Desktop):

{
  "mcpServers": {
    "rabbitmq": {
      "command": "uvx",
      "args": [
        "rabbitmq-mcp",
        "--host",
        "localhost",
        "--port",
        "15672",
        "--user",
        "admin",
        "--password",
        "CHANGE_ME",
        "--allow-destructive",
        "false"
      ]
    }
  }
}

Generation & Validation Scripts

# Validate OpenAPI
uv run --project . validate-openapi

# Generate Pydantic schemas
uv run --project . generate-schemas

# Generate registry
uv run --project . python scripts/generate_registry.py

# Generate embeddings (requires vector extra)
uv run --project . --extra vector python scripts/generate_embeddings.py

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

rabbitmq_mcp-0.1.3.tar.gz (536.1 kB view details)

Uploaded Source

Built Distribution

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

rabbitmq_mcp-0.1.3-py3-none-any.whl (539.2 kB view details)

Uploaded Python 3

File details

Details for the file rabbitmq_mcp-0.1.3.tar.gz.

File metadata

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

File hashes

Hashes for rabbitmq_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8677f8a5b7f84177b5575bec500046d46da24e12b85b568450a5393eb71d7ae6
MD5 b8036f864efaa9284f3ad9235ed2db7a
BLAKE2b-256 212eff06b4f299618473e9720d303332e73f35e882417daa5ec51e9d5df43abc

See more details on using hashes here.

Provenance

The following attestation bundles were made for rabbitmq_mcp-0.1.3.tar.gz:

Publisher: release.yml on ArtiPyHeart/rabbitmq-mcp

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

File details

Details for the file rabbitmq_mcp-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: rabbitmq_mcp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 539.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rabbitmq_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d771ba6afc6b13de4a84ea6fa0c19cfdf92c73448cc3a3a5d68849526abb58e3
MD5 3ac2dbe5550094b632e0ce8c1e7ef90e
BLAKE2b-256 bb1615bae8093e7e6d06a284fd5ddecc28d57137701dc70e31ffe93dfd84ab17

See more details on using hashes here.

Provenance

The following attestation bundles were made for rabbitmq_mcp-0.1.3-py3-none-any.whl:

Publisher: release.yml on ArtiPyHeart/rabbitmq-mcp

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