MQTT MCP Server
by nagarjunrio.github.nagarjunr/mqttv0.1.0
MCP server for MQTT 5.0 brokers (publish, subscribe, topic discovery).
context tax
pending
security
97/100
cold start
pending
freshness
Maintained3mo ago
Our reading of MQTT, from the data
MQTT is a iot & home automation MCP server from nagarjunr, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is maintained: the last public signal was 3 months ago (2026-08-04). For comparison, 64% of iot & home automation servers are active or maintained.
With 0 GitHub stars it ranks #64 of 107 iot & home automation servers we index.
It runs locally on your machine over stdio and needs one secret (MQTT_PASSWORD); use a scoped, least-privilege key.
Install MQTT MCP server
Install in Claude Code
claude mcp add mqtt -e MQTT_HOST='<mqtt-host>' -e MQTT_PASSWORD='<mqtt-password>' -- uvx mqtt5-mcp-serverInstall in Cursor
{
"mcpServers": {
"mqtt": {
"command": "uvx",
"args": [
"mqtt5-mcp-server"
],
"env": {
"MQTT_HOST": "<mqtt-host>",
"MQTT_PASSWORD": "<mqtt-password>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"mqtt": {
"command": "uvx",
"args": [
"mqtt5-mcp-server"
],
"env": {
"MQTT_HOST": "<mqtt-host>",
"MQTT_PASSWORD": "<mqtt-password>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"mqtt": {
"type": "stdio",
"command": "uvx",
"args": [
"mqtt5-mcp-server"
],
"env": {
"MQTT_HOST": "<mqtt-host>",
"MQTT_PASSWORD": "<mqtt-password>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"mqtt": {
"command": "uvx",
"args": [
"mqtt5-mcp-server"
],
"env": {
"MQTT_HOST": "<mqtt-host>",
"MQTT_PASSWORD": "<mqtt-password>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test pypi:mqtt5-mcp-server --env MQTT_HOST
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MQTT_HOST | yes | — | Broker hostname or IP |
| MQTT_PORT | — | — | Broker port, default 1883 (or 8883 for TLS) |
| MQTT_USERNAME | — | — | Broker username |
| MQTT_PASSWORD | — | yes | Broker password |
| MQTT_USE_TLS | — | — | true/false, default false |
Security signals
97/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-04 · 3mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-07-24 · 4mo ago · official registry · v0.1.0
How it compares in IoT & Home Automation
Against the most-starred iot & home automation servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| MQTT (this) | 0 | — | not measured | Maintained | local |
| HA | 5,132 | — | not measured | Active | local |
| Stack Chan | 1,790 | — | not measured | Active | — |
| Tapo | 859 | — | not measured | Active | hosted |
| Homeassistant | 577 | — | not measured | Stale | — |
| Bagel | 400 | — | not measured | Active | hosted |
FAQ
›How do I install the MQTT MCP server in Claude Code?
Run: claude mcp add mqtt -e MQTT_HOST='<mqtt-host>' -e MQTT_PASSWORD='<mqtt-password>' -- uvx mqtt5-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does MQTT require an API key?
Yes. It expects MQTT_HOST, MQTT_PASSWORD, of which 1 is a secret.
›Can I use MQTT as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is MQTT in the official MCP registry?
Yes, as io.github.nagarjunr/mqtt.
Sources and method
- Official MCP Registry entry
- updated 2026-07-24
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to MQTT
Other iot & home automation MCP servers.