MCP Server
MCP
Sparkplug B
MCP server for Sparkplug B: node/device discovery, metrics, commands, host state over MQTT.
Install
uvx sparkplug-b-mcp-server
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"identifier": "sparkplug-b-mcp-server",
"version": "0.1.0",
"runtimeHint": "uvx",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "MQTT broker hostname or IP.",
"isRequired": true,
"name": "SPARKPLUG_MQTT_HOST"
},
{
"description": "This connector's Sparkplug Host Application ID (used in the spBv1.0/STATE/{id} topic).",
"isRequired": true,
"name": "SPARKPLUG_HOST_ID"
},
{
"description": "MQTT broker port, default 1883",
"name": "SPARKPLUG_MQTT_PORT"
},
{
"description": "Broker username, if required",
"name": "SPARKPLUG_MQTT_USERNAME"
},
{
"description": "Broker password, if required",
"isSecret": true,
"name": "SPARKPLUG_MQTT_PASSWORD"
},
{
"description": "true/false, default false",
"name": "SPARKPLUG_MQTT_USE_TLS"
},
{
"description": "Restrict discovery/watching to a single Sparkplug Group ID; omit to subscribe to every group",
"name": "SPARKPLUG_GROUP_ID"
}
]
}
]
}
mcp
model-context-protocol
pypi
By
Comments
Sign in to leave a comment