Mcp2mqtt bridges IoT devices and AI large language models by implementing the Model Context Protocol (MCP) and MQTT communication standards, enabling natural language control of hardware devices. The server provides MQTT publish/subscribe capabilities with support for multiple MQTT brokers, QoS quality of service, message routing, and real-time state monitoring, while also offering MCP protocol integration for resource management and tool invocation. It solves the problem of connecting physical IoT devices to AI models, allowing users to control hardware through natural language commands and enabling AI systems to respond to and adjust physical parameters in real-time.
claude mcp add --transport stdio mcp2everything-mcp2mqtt uvx mcp2mqtt