MCP.so
Sign In
Servers
R

RabbitMQ Mcp Go

@maiconjobim

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

Overview

What is RabbitMQ MCP Go?

A Go implementation of a Model Control Protocol (MCP) server for RabbitMQ integration. It enables LLM models to interact with RabbitMQ through a standardized interface, allowing common operations like publishing messages to queues or exchanges.

How to use RabbitMQ MCP Go?

Install Go 1.24.3, clone the repository, run go mod download, then build with go build ./cmd/.... Configure your MCP client (e.g., Cursor, Claude Desktop) with command: "rabbitmq-mcp-server" and set the RABBITMQ_URL environment variable to your RabbitMQ connection string. Use the built-in publish tool from the AI assistant to send messages.

Key features of RabbitMQ MCP Go

  • Publish messages to a RabbitMQ queue or exchange
  • Optional parameters: queue, exchange, content_type, headers
  • Supports content types "text/plain" (default) and "application/json"
  • Detailed error handling for missing parameters, invalid JSON, and connection issues
  • Easy integration with Cursor and Claude Desktop MCP clients

Use cases of RabbitMQ MCP Go

  • Send a "Hello World" message to a specific queue
  • Publish a JSON order status update to an exchange
  • Send a high‑priority message with custom headers to a notifications queue

FAQ from RabbitMQ MCP Go

How do I configure RabbitMQ MCP Go?

Add the following to your MCP client settings: "command": "rabbitmq-mcp-server" and set the environment variable RABBITMQ_URL to your RabbitMQ URL (e.g., amqp://guest:guest@localhost:5672/).

What are the required and optional parameters for the publish tool?

The message parameter is required. Optionally, you can specify queue, exchange, content_type (default "text/plain"), and headers (as a JSON string). At least one of queue or exchange must be provided.

What happens if I omit both queue and exchange?

The tool returns an error: neither queue nor exchange is specified. Similarly, errors occur if the required message parameter is missing, if content_type is "application/json" but the message is not valid JSON, or if RabbitMQ connection/publishing fails.

Can I use RabbitMQ MCP Go with Cursor or Claude Desktop?

Yes. For Cursor, add the configuration to ~/.cursor/mcp.json. For Claude Desktop, edit ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows.

What runtime dependencies does RabbitMQ MCP Go require?

It requires Go 1.24.3 to build. The server itself is a standalone binary; you only need a running RabbitMQ instance accessible via the provided RABBITMQ_URL.

Tags

More from Other