Skip to main content
Glama
sansong089
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: Rocket.Chat MCP Server

🎯 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

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sansong089/rabbitmq-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server