RabbitMQ MCP 服务器

RabbitMQ MCP 服务器

一个为 RabbitMQ 实现的 Model Context Protocol (MCP) 服务端,支持客户端与 RabbitMQ 队列和主题交互。

快速入门

使用 Smithery 安装

运行以下命令自动安装:

npx -y @smithery/cli install @kenliao94/mcp-server-rabbitmq --client claude

手动安装

  1. 克隆此仓库。
  2. 修改 claude_desktop_config.json 文件,添加以下配置:
    • MacOS 路径:~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows 路径:%APPDATA%/Claude/claude_desktop_config.json
    {
        "mcpServers": {
          "rabbitmq": {
            "command": "uv",
            "args": [
                "--directory",
                "/path/to/repo/mcp-server-rabbitmq", 
                "run", 
                "mcp-server-rabbitmq",
                "--rabbitmq-host",
                "<hostname>",
                "--port", 
                "<port>",
                "--username",
                "<username>",
                "--password",
                "<password>",
                "--use-tls",
                "<true/false>"
            ]
          }
        }
    }
    
  3. 安装并打开 Claude 桌面应用
  4. 测试读写操作以确认安装成功,例如发布消息到队列。
  5. 如有问题,请参考 MCP 调试文档