rabbitmq-mcp logo

rabbitmq-mcp

by kmitchell

rabbitmq-mcp is a Model Context Protocol (MCP) server for RabbitMQ, enabling MCP clients to interact with RabbitMQ using natural language. It exposes the full range of features available in the official RabbitMQ HTTP API as tools.

View on GitHub

Last updated: N/A

What is rabbitmq-mcp?

rabbitmq-mcp is an MCP server that allows large language models (LLMs) to interact with RabbitMQ instances. It translates natural language requests from MCP clients into actions performed via the RabbitMQ HTTP API.

How to use rabbitmq-mcp?

  1. Install the server using npm (npm install -g rabbitmq-mcp) or npx (npx -y rabbitmq-mcp). 2. Configure environment variables for RabbitMQ connection details (host, username, password, management port, protocol). 3. Configure your MCP client (e.g., Claude or Cursor) to use the server, providing the necessary command and environment settings. 4. Ensure the RabbitMQ management plugin is enabled.

Key features of rabbitmq-mcp

  • Natural Language Interaction with RabbitMQ

  • Exposes full RabbitMQ HTTP API functionality

  • Integration with MCP-enabled AI agents

  • Configuration via environment variables

  • TLS/HTTPS support

Use cases of rabbitmq-mcp

  • Automating RabbitMQ management tasks

  • Monitoring queue metrics using natural language

  • Purging queues via AI agents

  • Checking for alarms in RabbitMQ vhosts

  • Integrating RabbitMQ with LLM-powered workflows

FAQ from rabbitmq-mcp

What is MCP?

MCP stands for Model Context Protocol, a standardized protocol for managing context between large language models (LLMs) and external systems.

What RabbitMQ version is required?

The README doesn't specify a minimum version, but it requires the management plugin to be enabled.

Can I use rabbitmq-mcp remotely?

Currently, rabbitmq-mcp only supports running locally with stdio. Remote functionality using SSE/streaming is planned for a future update.

What environment variables are required?

RABBITMQ_HOST, RABBITMQ_USERNAME, RABBITMQ_PASSWORD, RABBITMQ_MANAGEMENT_PORT, and RABBITMQ_PROTOCOL are required. Optional TLS/HTTPS variables are also available.

What if I get initialization errors?

You may need to use absolute paths for the command and/or args in your MCP client configuration.