Sparkplug B

io.github.nagarjunr/sparkplug-b

MCP server for Sparkplug B: node/device discovery, metrics, commands, host state over MQTT.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "sparkplug-b": {
      "command": "uvx",
      "args": [
        "sparkplug-b-mcp-server"
      ],
      "env": {
        "SPARKPLUG_MQTT_HOST": "<your SPARKPLUG_MQTT_HOST>",
        "SPARKPLUG_HOST_ID": "<your SPARKPLUG_HOST_ID>",
        "SPARKPLUG_MQTT_PASSWORD": "<your SPARKPLUG_MQTT_PASSWORD>"
      }
    }
  }
}
Environment variables
  • SPARKPLUG_MQTT_HOSTrequiredMQTT broker hostname or IP.
  • SPARKPLUG_HOST_IDrequiredThis connector's Sparkplug Host Application ID (used in the spBv1.0/STATE/{id} topic).
  • SPARKPLUG_MQTT_PASSWORDsecretBroker password, if required

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.0
Registry
active
Published
8/4/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Sparkplug B is listed here — it’s also the link we check for a free listing.

Sparkplug B — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-nagarjunr-sparkplug-b?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Sparkplug B — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Sparkplug B — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-nagarjunr-sparkplug-b?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.