Connect your AI agent to RabbitGUI
The RabbitGUI MCP server uses the Streamable HTTP transport and a bearer token. Any MCP client that supports remote HTTP servers with custom headers can use it. The Agent access (MCP) page of RabbitGUI shows ready-to-copy snippets with your real URL and token: use them rather than typing the token by hand.
In the examples below, replace <token> with the token shown in RabbitGUI. The default URL is http://127.0.0.1:47672/mcp.
Claude Code
Run this command in a terminal:
claude mcp add --transport http rabbitgui http://127.0.0.1:47672/mcp --header "Authorization: Bearer <token>"
Add --scope user to make RabbitGUI available in all your projects instead of the current one. Then start Claude Code and run /mcp to check that the rabbitgui server is connected.
Cursor
Add RabbitGUI to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"rabbitgui": {
"url": "http://127.0.0.1:47672/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}
}
VS Code
Add RabbitGUI to .vscode/mcp.json in your workspace, or to your user MCP configuration:
{
"servers": {
"rabbitgui": {
"type": "http",
"url": "http://127.0.0.1:47672/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}
}
Claude Desktop
Claude Desktop starts local MCP servers as commands, so RabbitGUI is reached through the mcp-remote bridge, which requires Node.js. Add this to claude_desktop_config.json and restart Claude Desktop:
{
"mcpServers": {
"rabbitgui": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://127.0.0.1:47672/mcp",
"--header",
"Authorization: Bearer <token>"
]
}
}
}
Other MCP clients
Any other client works with these settings:
- Transport: Streamable HTTP (sometimes called “HTTP” or “remote”)
- URL:
http://127.0.0.1:47672/mcp - Header:
Authorization: Bearer <token>
You can also explore the server with the MCP Inspector: run npx @modelcontextprotocol/inspector, choose the Streamable HTTP transport, paste the URL and add the authorization header.
Check that it works
Ask your agent: “List my RabbitGUI connections.” It should call the list_connections tool and answer with the names of the connections you shared with agents. The call also appears in the Activity section of the Agent access page.
Troubleshooting
| Symptom | Cause and fix |
|---|---|
| Connection refused | RabbitGUI is not running, or the MCP switch is off. Open RabbitGUI and check that the page says “Listening on…”. |
401 Invalid or missing token | The token is wrong or was regenerated. Copy the snippet again from RabbitGUI. |
403 Forbidden | The request came from a browser page or used a host other than 127.0.0.1 or localhost. RabbitGUI refuses those requests to protect you from malicious websites. |
| ”Unknown connection” | The connection name is misspelled or its access is Disabled. The error lists the names that are available. |
| ”needs write access” | The connection is read only. Change its access level in RabbitGUI if you want the agent to make changes. |
| ”Port … is already in use” | Another program uses the port. Pick another port on the Agent access page and update your agent configuration. |
| ”needs an active license” | Activate your RabbitGUI license in the app. |