RabbitMQ MCP Server

RabbitMQ MCP Server

Enables management of RabbitMQ clusters, queues, exchanges, bindings, users, and messages through natural language in chat interfaces, using the MCP protocol.

Category
访问服务器

README

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.

🎯 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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选