MQTT MCP server
MCP server for MQTT 5.0 brokers (publish, subscribe, topic discovery).
0 stars
Reviews
Write oneNobody has reviewed MQTT yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
MQTT tools (7, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
discover_topicsDiscover live topics by briefly subscribing and collecting retained messages.
get_connection_statusReport this connector's current connection to the MQTT broker.
get_messagesDrain buffered messages received by a subscription session.
list_subscriptionsList all active subscription sessions on this connector.
publish_messagewrite actionPublish a message to an MQTT topic.
start_subscriptionStart receiving messages matching a topic filter.
stop_subscriptionStop a subscription session and discard its buffered messages.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 51 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How MQTT compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 57% of 48,273 servers
- Tools
- 7
- the typical server has 7
- Tools that change things
- 14%
- typical: 0%. Fewer write tools means less an agent can break
What its tools let an agent do: 4 read · 1 send or post · 2 run or deploy
Install MQTT in Claude Code, Cursor or VS Code
claude mcp add mqtt -- uvx mqtt5-mcp-server
What the publisher says
From the MQTT repository's README, as published. We do not edit it. Read it on GitHub
IoT MCP Servers
MCP (Model Context Protocol) servers for IoT platforms — giving AI agents full read/write access to device registries, digital twins, and telemetry.
Servers
Each row links to that server's README for its full tool list, required environment variables, and setup/testing notes.
Structure
Each server is a standalone directory under this repo — its own pyproject.toml, uv.lock, Dockerfile, and mcp.json example config. No shared library layer: every server is independently runnable and dockerizable.
<server-name>/
├── <server-name>mcpserver.py # FastMCP server (single file)
├── pyproject.toml # own dependencies
├── uv.lock
├── Dockerfile
├── mcp.json # example MCP client config
└── README.md # tools, env vars, setup for this serverRequirements
- Python 3.12+
- uv for dependency management and running servers
- Docker, only if you want to run a server's own test suite against a real/emulated instance (see that server's README)
Quick start
Install straight from PyPI with uv or pipx — no clone needed:
uvx eclipse-ditto-mcp-server # or: mqtt5-mcp-server / aws-iot-core-mcp-server / azure-iot-hub-mcp-server / sparkplug-b-mcp-serverOr run from a clone of this repo:
git clone https://github.com/nagarjunr/iot-mcp-servers.git
cd iot-mcp-servers/<server-name>
uv sync
uv run <server-name>mcpserver.pyEach server reads its configuration from environment variables (connection strings, broker host, credentials, etc.) — see that server's README for the full list.
Using with an MCP client
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
MQTT: common questions
- Is MQTT MCP server safe?
- Mostly: it is graded B (78/100). Read the MQTT safety report
- How do I install MQTT?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does MQTT need an API key?
- Yes. The registry entry asks for
MQTT_PASSWORD. - Is MQTT maintained?
- The last commit was 90 days ago (2026-08-04). The latest release is v0.1.0.
- How does MQTT compare with other MCP servers?
- safety score 78/100 (higher than 57% of 48,273 servers); tools 7 (the typical server has 7); tools that change things 14% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.