Mqtt Mcp Server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mqtt Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An MCP (Model Context Protocol) server that enables Cursor to read messages from an MQTT broker.
+ and #)npm installnpm run build.env.example to .env and configure your MQTT broker settings:cp .env.example .envEdit the .env file with your MQTT broker details:
| Variable | Description | Default |
|---|---|---|
MQTT_BROKER_URL | MQTT broker URL (mqtt:// or mqtts://) | mqtt://localhost:1883 |
MQTT_USERNAME | Username for authentication | (none) |
MQTT_PASSWORD | Password for authentication | (none) |
MQTT_CLIENT_ID | Client ID for MQTT connection | cursor-mqtt-mcp-{timestamp} |
MAX_MESSAGES_PER_TOPIC | Max messages to buffer per topic | 100 |
Add this MCP server to your Cursor settings (.cursor/mcp.json or global settings):
{
"mcpServers": {
"mqtt": {
"command": "node",
"args": ["C:/path/to/mqtt-mcp/dist/index.js"],
"env": {
"MQTT_BROKER_URL": "mqtt://your-broker:1883",
"MQTT_USERNAME": "your_username",
"MQTT_PASSWORD": "your_password"
}
}
}
}Alternatively, if using a .env file in the project directory:
{
"mcpServers": {
"mqtt": {
"command": "node",
"args": ["C:/path/to/mqtt-mcp/dist/index.js"],
"cwd": "C:/path/to/mqtt-mcp"
}
}
}Subscribe to an MQTT topic to start receiving messages.
Parameters:
topic (required): The MQTT topic to subscribe toqos (optional): Quality of Service level (0, 1, or 2). Default: 0Example:
Subscribe to "sensors/temperature"
Subscribe to "devices/+/status" (single-level wildcard)
Subscribe to "home/#" (multi-level wildcard)Unsubscribe from an MQTT topic.
Parameters:
topic (required): The MQTT topic to unsubscribe fromRead buffered messages from subscribed topics.
Parameters:
topic (optional): Specific topic to read from. If omitted, reads from all topicslimit (optional): Maximum messages to return. Default: 10clear (optional): Clear buffer after reading. Default: falseList all active subscriptions and their message counts.
Parameters: None
"Subscribe to the MQTT topic sensors/temperature"
"Read the latest messages from sensors/temperature"
"List my MQTT subscriptions"
"Unsubscribe from sensors/temperature"
MIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.