A collaborative project with Matt Stein that adds MQTT as a communication channel for Claude Code. MQTT is the backbone of the Hive - it's how agents talk to each other, how Home Assistant routes voice commands, and how the YouTube Voice app will coordinate multi-agent conversations.


What It Is

An MCP channel server that bridges Claude Code sessions to an MQTT broker. Each agent subscribes to topics and publishes messages through standard MQTT, enabling:

How It Works

The MQTT MCP server runs as a channel inside Claude Code. It connects to an MQTT broker and:

  1. Subscribes to configured topics
  2. Incoming messages arrive as <channel source="mqtt"> events in the agent's context
  3. Agent can publish replies via the publish or reply tools
  4. Supports request/reply pattern with correlation IDs for synchronous exchanges

Paul's Fork

Paul's fork (paulmona/claude-code-mqtt) adds: