Skip to content
Agentmart
Submit a tool

MQTT

MCP server for MQTT 5.0 brokers (publish, subscribe, topic discovery).

Connector by nagarjunr · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)
Write a review

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.

We use your email only for this newsletter. Privacy

About

MCP server for MQTT 5.0 brokers (publish, subscribe, topic discovery).

No 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_topics
  • get_connection_status
  • get_messages
  • list_subscriptions

Write 3 · Create, change, send or run things.

  • publish_message
  • start_subscription
  • stop_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_HOST
  • MQTT_PORT
  • MQTT_USERNAME
  • MQTT_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_topics

    Discover 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_status

    Report this connector's current connection to the MQTT broker. Returns: {connected, host, port, transport, protocol, client_id, active_subscriptions}

  • get_messages

    Drain buffered messages received by a subscription session. Returns: {messages: [...], count, buffered_remaining}

  • list_subscriptions

    List all active subscription sessions on this connector. Returns: {sessions: [{session_id, topic_filter, qos, buffered_count, message_count, created_at}]}

  • publish_message

    Publish a message to an MQTT topic. Wraps the MQTT PUBLISH packet, including MQTT5 properties.

  • start_subscription

    Start 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_subscription

    Stop 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
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from nagarjunr

Cite this page

MQTT MCP server. Agent Mart. https://agentmart.dev/connectors/nagarjunr-mqtt (last updated 2026-10-24)