Skip to main content
Glama
RabbitMQ MCP Server
by sansong089

RabbitMQ MCP Server

ไธญๆ–‡็‰ˆ | English Version

A RabbitMQ maintenance server for Cline, providing RabbitMQ management tools through the MCP (Model Context Protocol).

๐Ÿš€ Installation and Configuration

๐Ÿ“‹ System Requirements

  • Node.js: 16.0 or higher

  • RabbitMQ Server: With management plugin enabled

๐Ÿ“ฆ Installation Steps

# Clone the project
git clone https://github.com/sansong089/rabbitmq-mcp-server
cd rabbitmq-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

โš™๏ธ Configuration

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "rabbitmq-mcp-server": {
      "command": "node",
      "args": ["C:\\path\\to\\your\\rabbitmq-mcp-server\\build\\index.js"],
      "env": {
        "RABBITMQ_HOST": "localhost",
        "RABBITMQ_PORT": "15672",
        "RABBITMQ_USER": "guest",
        "RABBITMQ_PASS": "guest",
        "RABBITMQ_VHOST": "/"
      }
    }
  }
}

Cline

Add in Cline MCP settings:

{
  "mcpServers": {
    "rabbitmq-mcp-server": {
      "command": "node",
      "args": ["/path/to/your/rabbitmq-mcp-server/build/index.js"],
      "env": {
        "RABBITMQ_HOST": "localhost",
        "RABBITMQ_PORT": "15672",
        "RABBITMQ_USER": "guest",
        "RABBITMQ_PASS": "guest",
        "RABBITMQ_VHOST": "/"
      }
    }
  }
}

Note: Please replace the path with the actual path to the build/index.js file after building the project.

โœ… Verification

After setup, ask the AI assistant to list available tools. You should see RabbitMQ-related tools such as get_cluster_status, list_queues, create_queue, etc.

Related MCP server: rabbitmq-mcp

๐ŸŽฏ Use Case

This project is specifically designed for the Cline + Claude environment, allowing you to manage RabbitMQ directly in a chat interface without opening a browser or using command line tools.

๐Ÿ”ง Development and Build

Install Dependencies

npm install

Build Project

npm run build

Development Mode

npm run watch

Test Connection

npm run inspector

๐Ÿ› ๏ธ Features

๐Ÿ—๏ธ Cluster Management

  • get_cluster_status - Get cluster status information

๐Ÿ“‹ Queue Management

  • list_queues - List queues

  • create_queue - Create queue

  • delete_queue - Delete queue

๐Ÿ”„ Exchange Management

  • list_exchanges - List exchanges

  • create_exchange - Create exchange

  • get_exchange - Get exchange information

  • delete_exchange - Delete exchange

๐Ÿ”— Binding Management

  • list_bindings - List bindings

  • create_binding - Create binding

  • delete_binding - Delete binding

๐Ÿ  Virtual Host Management

  • list_vhosts - List virtual hosts

  • create_vhost - Create virtual host

  • delete_vhost - Delete virtual host

๐Ÿ‘ฅ User Management

  • list_users - List users

  • create_user - Create user

  • delete_user - Delete user

๐Ÿ”Œ Connection Management

  • list_connections - List connections

๐Ÿ“จ Message Operations

  • publish_message - Publish message

  • consume_message - Consume message

โš™๏ธ Usage in Cline

Basic Queries (No Approval Required)

  • View queues: list all queues

  • View exchanges: list all exchanges

  • View users: list all users

โš ๏ธ Modification Operations (Manual Approval Required)

Important Reminder: All modification and deletion operations require your manual confirmation! AI assistants will not automatically execute these operations.

Create Operations

  • Create queue: create a queue named test-queue

  • Create user: create a user named admin

  • Create exchange: create a direct type exchange

Delete Operations

  • Delete queue: delete the queue named test-queue

  • Delete user: delete the user named guest

  • Delete exchange: delete the exchange named test-exchange

Design Philosophy

Simplicity First, No Permission Restrictions

This project adopts a minimalist design:

  • โœ… No extra permission controls: All operations are managed through MCP protocol

  • โœ… Simple installation: No complex configuration, ready to use out of the box

  • โœ… Easy to use: Manage RabbitMQ directly in chat

This makes RabbitMQ management as natural as chatting!

Security Considerations

  • All modification operations require user manual approval

  • Recommended for use in trusted network environments

  • Production environments should add additional security measures

๐Ÿ“‹ System Requirements

  • Node.js: 16.0 or higher

  • RabbitMQ Server: With management plugin enabled

  • Cline: MCP protocol support

โš ๏ธ Important Disclaimer

Critical Warning: Modification and deletion operations must NEVER be authorized for automatic execution by AI assistants

Please read the following terms carefully:

  1. Usage Restrictions

    • This software is for learning, development, and testing purposes only

    • Do not use in unauthorized production environments

  2. Risk Warnings

    • Users must bear all consequences of operations themselves

    • Including but not limited to data loss, service interruption, etc.

  3. Security Warnings

    • Modification and deletion operations must NEVER be authorized for automatic execution by AI assistants

    • All destructive operations must go through manual confirmation and review

    • Operations with Confluence administrative privileges may cause serious security risks

    • Please run in secure and controllable environments

  4. Disclaimer

    • This project is provided "as is" without any express or implied warranties

    • The author is not responsible for any damages caused by using this software

Please ensure you understand and accept the above terms before use.


ไธญๆ–‡็‰ˆ | Back to Top

Available Tools

20 tools
consume_messageC

ไปŽ้˜Ÿๅˆ—ๆถˆ่ดนไธ€ๆกๆถˆๆฏ (ๆถˆๆฏๅฐ†่ขซๅˆ ้™ค)

Inputs: queue (required), count, vhost, ackmode, +1 more.

create_bindingC

ๅˆ›ๅปบไบคๆขๆœบๅˆฐ้˜Ÿๅˆ—็š„็ป‘ๅฎš

Inputs: source (required), destination (required), vhost, routing_key, +1 more.

create_exchangeD

ๅˆ›ๅปบไบคๆขๆœบ

Inputs: name (required), type, vhost, durable.

create_queueC

ๅˆ›ๅปบ้˜Ÿๅˆ—

Inputs: name (required), vhost, durable.

create_userC

ๅˆ›ๅปบ็”จๆˆท

Inputs: name (required), password (required), tags.

create_vhostC

ๅˆ›ๅปบ่™šๆ‹Ÿไธปๆœบ

Inputs: name (required), description.

delete_bindingC

ๅˆ ้™คไบคๆขๆœบๅˆฐ้˜Ÿๅˆ—็š„็ป‘ๅฎš

Inputs: source (required), destination (required), vhost, routing_key, +1 more.

delete_exchangeC

ๅˆ ้™คไบคๆขๆœบ

Inputs: name (required), vhost.

delete_queueD

ๅˆ ้™ค้˜Ÿๅˆ—

Inputs: name (required), vhost.

delete_userC

ๅˆ ้™ค็”จๆˆท

Inputs: name (required).

delete_vhostC

ๅˆ ้™ค่™šๆ‹Ÿไธปๆœบ

Inputs: name (required).

get_cluster_statusC

่Žทๅ–RabbitMQ้›†็พค็Šถๆ€

Inputs: no named parameters.

get_exchangeC

่Žทๅ–ไบคๆขๆœบไฟกๆฏ

Inputs: name (required), vhost.

list_bindingsB

ๅˆ—ๅ‡บๆŒ‡ๅฎš่™šๆ‹Ÿไธปๆœบไธ‹็š„ๆ‰€ๆœ‰็ป‘ๅฎš

Inputs: vhost.

list_connectionsB

ๅˆ—ๅ‡บๆ‰€ๆœ‰่ฟžๆŽฅ

Inputs: no named parameters.

list_exchangesC

ๅˆ—ๅ‡บๆŒ‡ๅฎš่™šๆ‹Ÿไธปๆœบไธ‹็š„ๆ‰€ๆœ‰ไบคๆขๆœบ

Inputs: vhost.

list_queuesC

ๅˆ—ๅ‡บๆŒ‡ๅฎš่™šๆ‹Ÿไธปๆœบไธ‹็š„ๆ‰€ๆœ‰้˜Ÿๅˆ—

Inputs: vhost.

list_usersB

ๅˆ—ๅ‡บๆ‰€ๆœ‰็”จๆˆท

Inputs: no named parameters.

list_vhostsC

ๅˆ—ๅ‡บๆ‰€ๆœ‰่™šๆ‹Ÿไธปๆœบ

Inputs: no named parameters.

publish_messageC

ๅ‘ไบคๆขๆœบๅ‘ๅธƒๆถˆๆฏ

Inputs: message (required), routing_key (required), vhost, exchange, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogโ€ฆ

    TDQS

    C2.9/5.0

    Scored across 20 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action (e.g., list_vhosts vs. create_vhost vs. delete_vhost, publish_message vs. consume_message). There is no meaningful overlap; an agent can reliably select the intended operation.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern (list_*, create_*, delete_*, get_*, publish_*, consume_*). The convention is predictable throughout, with no mixing of styles or vague verbs.

    Tool Count4/5

    20 tools is slightly above the typical 3โ€“15 sweet spot, but the set covers distinct RabbitMQ resources without obvious redundancy. The count is reasonable for a management server spanning vhosts, users, queues, exchanges, bindings, and messages.

    Completeness3/5

    Core create/list/delete operations exist for vhosts, users, queues, exchanges, and bindings, and exchange has a get operation, but many resources lack detailed get or update tools (users, queues, vhosts, bindings). Additional gaps include queue purge, message ack/reject, and connection management, though agents can partially work around these via list operations.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with Rocket.Chat instances through MCP protocol. Allows users to manage chat operations and integrate with Rocket.Chat servers using natural language commands.
      6
      -
    • A
      license
      B
      quality
      D
      maintenance
      An MCP server for RabbitMQ that exposes the RabbitMQ HTTP API as tools, enabling natural language interaction with RabbitMQ management.
      100
      166 npm
      1
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI agents to manage RabbitMQ message brokers through admin APIs, supporting multiple brokers, OAuth authentication, and mutative tools.
      39
      297 PyPI
      43
      Apache 2.0