RabbitMQ MCP Server in Go

RabbitMQ MCP Server in Go

rabbitmq-mcp-go•bymaiconjobim

A Go MCP server that lets LLM models publish messages to RabbitMQ queues or exchanges through a standardized interface.

License: MIT License•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Publishes messages to a specified RabbitMQ queue or exchange.
  • •Supports setting a message content type, including text/plain and application/json.
  • •Supports attaching message headers in JSON format.
  • •Returns errors for missing targets, missing messages, invalid JSON content, or RabbitMQ connection/publishing failures.

BEST FOR

  • •Sending plain text messages to a named RabbitMQ queue from an AI assistant.
  • •Publishing JSON event payloads such as order status updates to a RabbitMQ exchange.
  • •Sending messages with custom headers such as priority and timestamps.

ABOUT RABBITMQ-MCP-GO

RabbitMQ MCP Server in Go is cataloged as an MCP server attributed to maiconjobim. A Go MCP server that lets LLM models publish messages to RabbitMQ queues or exchanges through a standardized interface. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for RabbitMQ MCP Server in Go are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What happens if I specify neither a queue nor an exchange when publishing?

The publish tool returns an error when neither a queue nor an exchange is specified.

Can the publish tool send JSON messages?

Yes, the message content type can be set to application/json, and invalid JSON returns an error.

上游原版 README

在 GitHub 查看同一版本原文

README.md · def7ee71ea29 · 采集于 2026-11-13 12:20:27 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

RabbitMQ MCP Go

A Go implementation of Model Control Protocol (MCP) server for RabbitMQ integration.

This server provides an implementation for interacting with RabbitMQ via the MCP protocol, enabling LLM models to perform common RabbitMQ operations through a standardized interface.

Go Report Card Go Version SLSA 3 Go Reference GitHub Release License: MIT

rabbitmq-mcp-demo

Overview

The RabbitMQ MCP Server bridges the gap between LLM models and RabbitMQ, allowing them to:

  • Publish a message to a RabbitMQ queue or exchange

Project Structure

.
├── cmd/                    # Application entry points
├── internal/              # Private application code
│   ├── config/           # Configuration management
│   ├── tools/            # MCP tools implementations
│   ├── prompts/          # Prompt templates and configurations
│   └── resources/        # Shared resources and utilities
├── pkg/                   # Public library code
├── api/                   # API definitions and documentation
└── scripts/              # Build and utility scripts

Directory Overview

Internal Directory Structure

  • tools/: Contains all MCP tool implementations. Each tool is a separate package that implements the MCP tool interface.
  • prompts/: Stores prompt templates and configurations used by the MCP tools.
  • resources/: Houses shared utilities, helper functions, and reusable components.
  • config/: Manages application configuration.

Getting Started

  1. Install Go 1.24.3:
asdf install golang 1.24.3
  1. Clone the repository:
git clone https://github.com/yourusername/rabbitmq-mcp-go.git
cd rabbitmq-mcp-go
  1. Install dependencies:
go mod download
  1. Build the project:
go build ./cmd/...

MCP Client Integration

Basic Configuration

Add this configuration to your MCP client settings:

{
  "mcpServers": {
    "rabbitmq": {
      "command": "rabbitmq-mcp-server",
      "env": {
        "RABBITMQ_URL": "amqp://guest:guest@localhost:5672/"
      }
    }
  }
}

Cursor Integration

To use with Cursor, create or edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "rabbitmq": {
      "command": "rabbitmq-mcp-server",
      "env": {
        "RABBITMQ_URL": "amqp://guest:guest@localhost:5672/"
      }
    }
  }
}

Claude Desktop Integration

To use with Claude Desktop, edit your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "rabbitmq": {
      "command": "rabbitmq-mcp-server",
      "env": {
        "RABBITMQ_URL": "amqp://guest:guest@localhost:5672/"
      }
    }
  }
}

Using the RabbitMQ Publish Tool

The publish tool allows you to send messages to RabbitMQ queues or exchanges through the MCP interface.

Tool Parameters

  • queue (string, optional): Queue name to publish to
  • exchange (string, optional): Exchange name to publish to
  • message (string, required): Message content to publish
  • content_type (string, optional): Content type of the message
    • Supported values: "text/plain" (default), "application/json"
  • headers (string, optional): Message headers in JSON format

Example Interactions

1. Publishing to a Queue:

User: "Send a message 'Hello World' to the queue 'my_queue'"

AI Assistant will use the publish tool:

{
  "queue": "my_queue",
  "message": "Hello, World!",
  "content_type": "text/plain"
}

Response:

"Message published successfully to my_queue"

2. Publishing JSON to an Exchange:

User: "Publish order status update to the 'orders' exchange"

AI Assistant will use the publish tool:

{
  "exchange": "orders",
  "message": "{\"order_id\": \"12345\", \"status\": \"completed\"}",
  "content_type": "application/json"
}

Response:

"Message published successfully to orders"

1. Publishing with Headers:

User: "Send a high-priority message to the notifications queue"

AI Assistant will use the publish tool:

{
  "queue": "notifications",
  "message": "Important system update",
  "headers": "{\"priority\": \"high\", \"timestamp\": \"2024-03-20T12:00:00Z\"}"
}

Error Handling

The tool will return an error in the following cases:

  • Neither queue nor exchange is specified
  • Required message parameter is missing
  • Invalid JSON format when content_type is "application/json"
  • RabbitMQ connection or publishing errors

Development

To add a new MCP tool:

  1. Create a new directory under internal/tools/
  2. Implement the MCP tool interface
  3. Register the tool in the main application
  4. Add corresponding prompts in internal/prompts/ if needed
  5. Document the tool in the tools README

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for RabbitMQ MCP Server in Go from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/rabbitmq-mcp-go)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps