Mcp2mqtt MCP Server

mcp2mqtt 是一个将物联网设备接入AI大模型的项目,它通过 Model Context Protocol (MCP) 和 MQTT 协议将物理世界与 AI 大模型无缝连接。最终实现: - 用自然语言控制你的硬件设备 - AI 实时响应并调整物理参数 - 让你的设备具备理解和执行复杂指令的能力

Local serverstdioPython

What is the Mcp2mqtt MCP server?

Mcp2mqtt mcp server connects Mcp2mqtt to AI assistants that speak the Model Context Protocol. mcp2mqtt 是一个将物联网设备接入AI大模型的项目,它通过 Model Context Protocol (MCP) 和 MQTT 协议将物理世界与 AI 大模型无缝连接。最终实现: - 用自然语言控制你的硬件设备 - AI 实时响应并调整物理参数 - 让你的设备具备理解和执行复杂指令的能力 - 通过MQTT协议实现设备间的互联互通.

What Mcp2mqtt does

mcp2mqtt 是一个将物联网设备接入AI大模型的项目,它通过 Model Context Protocol (MCP) 和 MQTT 协议将物理世界与 AI 大模型无缝连接。最终实现: - 用自然语言控制你的硬件设备 - AI 实时响应并调整物理参数 - 让你的设备具备理解和执行复杂指令的能力 - 通过MQTT协议实现设备间的互联互通

Tools it exposes

Once connected, the assistant can call these 2 tools directly:

  • Continue — 完整支持
  • Cline — 资源+工具

Installing the mcp2mqtt mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Mcp2mqtt sits in that group, and the shape of its toolset — Continue, Cline — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by mcp2everything, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the mcp2mqtt mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
Continue完整支持
Cline资源+工具

How to install the Mcp2mqtt MCP server

{
    "mcpServers": {
        "mcp2mqtt": {
            "command": "uvx",
            "args": [
                "mcp2mqtt",
                "--config",
                "Pico"  //指定配置文件名,不需要添加_config.yaml后缀
            ]
        }
    }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Mcp2mqtt to Continue.
  • Use Mcp2mqtt to Cline.

Frequently asked questions

It connects Mcp2mqtt to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Continue, Cline) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Mcp2mqtt directly.