MQTT
MCP server for MQTT 5.0 brokers (publish, subscribe, topic discovery).
Connector by nagarjunr · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/nagarjunr-mqtt
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 4 read · 3 write · 0 delete
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- Not scanned yet
- Runs as
- Python package
Tools by what they do 7
Read from the source code; the running server may list different tools.
Read 4 · Look things up without changing anything.
discover_topicsget_connection_statusget_messageslist_subscriptions
Write 3 · Create, change, send or run things.
publish_messagestart_subscriptionstop_subscription
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
MQTT_PASSWORD
Other settings (environment variables or headers).
MQTT_HOSTMQTT_PORTMQTT_USERNAMEMQTT_USE_TLS
Tools (7)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
discover_topicsDiscover live topics by briefly subscribing and collecting retained messages. MQTT has no built-in "list topics" operation; this approximates one using the standard mechanism (retained messages, delivered immediately on subscribe). Topics with no retained message won't be discovered this way unless a matching publish happens to occur during the window. Returns: {topics: [{topic, payload, qos, retain}], count, stopped_reason}
get_connection_statusReport this connector's current connection to the MQTT broker. Returns: {connected, host, port, transport, protocol, client_id, active_subscriptions}
get_messagesDrain buffered messages received by a subscription session. Returns: {messages: [...], count, buffered_remaining}
list_subscriptionsList all active subscription sessions on this connector. Returns: {sessions: [{session_id, topic_filter, qos, buffered_count, message_count, created_at}]}
publish_messagePublish a message to an MQTT topic. Wraps the MQTT PUBLISH packet, including MQTT5 properties.
start_subscriptionStart receiving messages matching a topic filter. Creates a session that buffers incoming messages; call get_messages(session_id) to drain them, and stop_subscription(session_id) when done. Returns: {session_id, topic_filter, qos}
stop_subscriptionStop a subscription session and discard its buffered messages. Unsubscribes from the broker only if no other active session shares the same topic filter.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 24
- Last commit (this folder)
- Jul 24, 2026 (3 months ago)
- Last release
- Jul 24, 2026 (3 months ago)
- Last package publish
- Jul 24, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.nagarjunr/mqtt- Version
- 0.1.0
- Auth
- API key
- Packages
- pypi mqtt5-mcp-server
- License
- MIT
- Repository
- github.com/nagarjunr/iot-mcp-servers
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from nagarjunr
- 0.576score
Azure IoT Hub
nagarjunr
MCP server for Azure IoT Hub: device registry, twins, methods, jobs, messaging.
ConnectorAFreshness: ALocal↓ 37/wkClaude Code +5 - 0.570score
AWS IoT Core
nagarjunr
MCP server for AWS IoT Core: device registry, shadows, jobs, rules, messaging.
ConnectorAFreshness: ALocal↓ 29/wkClaude Code +5 - 0.525score
Sparkplug B
nagarjunr
MCP server for Sparkplug B: node/device discovery, metrics, commands, host state over MQTT.
ConnectorBFreshness: BLocal↓ 24/wkClaude Code +5 - 0.482score
Eclipse Ditto
nagarjunr
MCP server for the Eclipse Ditto digital twin HTTP API (things, policies, connections, more).
ConnectorCFreshness: CLocal↓ 33/wkClaude Code +5
Cite this page
MQTT MCP server. Agent Mart. https://agentmart.dev/connectors/nagarjunr-mqtt (last updated 2026-10-24)