Koskamo

Sparkplug B MCP

An MCP server for Sparkplug B that enables AI agents to interact with industrial IoT devices over MQTT. It supports node and device discovery, reading metrics, sending commands, and monitoring host state, adhering to the Sparkplug B convention for industrial and SCADA data.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Sparkplug B MCP logo, by nagarjunrCommunity listingLocal stdioSource reviewed; not executedPublished by nagarjunr
Vendor documentation

What you can do with it

  • Discover nodes and devices in an industrial IoT network
  • Read sequenced metrics from Sparkplug B devices
  • Send commands to connected devices
  • Monitor host state and birth/death events

Source and maintenance

Community listingRegistry 0.1.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

sparkplug-b-mcp-server 0.1.0

pypiuvx
sparkplug-b-mcp-server package definition
{
  "version": "0.1.0",
  "transport": "stdio",
  "identifier": "sparkplug-b-mcp-server",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "registryBaseUrl": "https://pypi.org",
  "environmentVariables": [
    {
      "name": "SPARKPLUG_MQTT_HOST",
      "isRequired": true,
      "description": "MQTT broker hostname or IP."
    },
    {
      "name": "SPARKPLUG_HOST_ID",
      "isRequired": true,
      "description": "This connector's Sparkplug Host Application ID (used in the spBv1.0/STATE/{id} topic)."
    },
    {
      "name": "SPARKPLUG_MQTT_PORT",
      "description": "MQTT broker port, default 1883"
    },
    {
      "name": "SPARKPLUG_MQTT_USERNAME",
      "description": "Broker username, if required"
    },
    {
      "name": "SPARKPLUG_MQTT_PASSWORD",
      "description": "Broker password, if required"
    },
    {
      "name": "SPARKPLUG_MQTT_USE_TLS",
      "description": "true/false, default false"
    },
    {
      "name": "SPARKPLUG_GROUP_ID",
      "description": "Restrict discovery/watching to a single Sparkplug Group ID; omit to subscribe to every group"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "sparkplug-b-mcp": {
      "command": "uvx",
      "args": [
        "sparkplug-b-mcp-server==0.1.0"
      ],
      "env": {
        "SPARKPLUG_MQTT_HOST": "<YOUR_SPARKPLUG_MQTT_HOST>",
        "SPARKPLUG_HOST_ID": "<YOUR_SPARKPLUG_HOST_ID>",
        "SPARKPLUG_MQTT_PORT": "<YOUR_SPARKPLUG_MQTT_PORT>",
        "SPARKPLUG_MQTT_USERNAME": "<YOUR_SPARKPLUG_MQTT_USERNAME>",
        "SPARKPLUG_MQTT_PASSWORD": "<YOUR_SPARKPLUG_MQTT_PASSWORD>",
        "SPARKPLUG_MQTT_USE_TLS": "<YOUR_SPARKPLUG_MQTT_USE_TLS>",
        "SPARKPLUG_GROUP_ID": "<YOUR_SPARKPLUG_GROUP_ID>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "sparkplug-b-mcp": {
      "command": "uvx",
      "args": [
        "sparkplug-b-mcp-server==0.1.0"
      ],
      "env": {
        "SPARKPLUG_MQTT_HOST": "<YOUR_SPARKPLUG_MQTT_HOST>",
        "SPARKPLUG_HOST_ID": "<YOUR_SPARKPLUG_HOST_ID>",
        "SPARKPLUG_MQTT_PORT": "<YOUR_SPARKPLUG_MQTT_PORT>",
        "SPARKPLUG_MQTT_USERNAME": "<YOUR_SPARKPLUG_MQTT_USERNAME>",
        "SPARKPLUG_MQTT_PASSWORD": "<YOUR_SPARKPLUG_MQTT_PASSWORD>",
        "SPARKPLUG_MQTT_USE_TLS": "<YOUR_SPARKPLUG_MQTT_USE_TLS>",
        "SPARKPLUG_GROUP_ID": "<YOUR_SPARKPLUG_GROUP_ID>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "sparkplug-b-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sparkplug-b-mcp-server==0.1.0"
      ],
      "env": {
        "SPARKPLUG_MQTT_HOST": "<YOUR_SPARKPLUG_MQTT_HOST>",
        "SPARKPLUG_HOST_ID": "<YOUR_SPARKPLUG_HOST_ID>",
        "SPARKPLUG_MQTT_PORT": "<YOUR_SPARKPLUG_MQTT_PORT>",
        "SPARKPLUG_MQTT_USERNAME": "<YOUR_SPARKPLUG_MQTT_USERNAME>",
        "SPARKPLUG_MQTT_PASSWORD": "<YOUR_SPARKPLUG_MQTT_PASSWORD>",
        "SPARKPLUG_MQTT_USE_TLS": "<YOUR_SPARKPLUG_MQTT_USE_TLS>",
        "SPARKPLUG_GROUP_ID": "<YOUR_SPARKPLUG_GROUP_ID>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "sparkplug-b-mcp": {
      "command": "uvx",
      "args": [
        "sparkplug-b-mcp-server==0.1.0"
      ],
      "env": {
        "SPARKPLUG_MQTT_HOST": "<YOUR_SPARKPLUG_MQTT_HOST>",
        "SPARKPLUG_HOST_ID": "<YOUR_SPARKPLUG_HOST_ID>",
        "SPARKPLUG_MQTT_PORT": "<YOUR_SPARKPLUG_MQTT_PORT>",
        "SPARKPLUG_MQTT_USERNAME": "<YOUR_SPARKPLUG_MQTT_USERNAME>",
        "SPARKPLUG_MQTT_PASSWORD": "<YOUR_SPARKPLUG_MQTT_PASSWORD>",
        "SPARKPLUG_MQTT_USE_TLS": "<YOUR_SPARKPLUG_MQTT_USE_TLS>",
        "SPARKPLUG_GROUP_ID": "<YOUR_SPARKPLUG_GROUP_ID>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Sparkplug B MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.