Mqtt Mcp

by ezhuk

315 downloads
Not rated
GitHub

About

A Model Context Protocol (MCP) server for MQTT.

Details

Author
ezhuk
Downloads
315
Categories
Other

- Maps MQTT topics to MCP resources and tools
- Supports receiving and publishing MQTT messages
- Bearer token authentication via RSA public key
- Interactive prompts for guiding LLM interactions
- Docker deployment support
- Example integrations with OpenAI Agents SDK and OpenAI Python library

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Mqtt Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install uv, clone the repository, run uv sync to install dependencies, then start the server with uv run mqtt-mcp. The server defaults to the Streamable HTTP transport on port 8000. For Bearer Token authentication, provide an RSA public key in PEM format in the .env file.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mqtt mcp": {
            "mqtt-mcp": {
                "command": "uv",
                "args": [
                    "sync"
                ]
            }
        }
    }
}

McpServers

{
    "mqtt-mcp": {
        "command": "uv",
        "args": [
            "sync"
        ]
    }
}

MQTT MCP Server

A lightweight Model Context Protocol (MCP) server that connects LLM agents to MQTT devices in a secure, standardized way, enabling seamless integration of AI-driven workflows with Building Automation (BAS), Industrial Control (ICS) and Smart Home systems, allowing agents to monitor real-time sensor data, actuate devices, and orchestrate complex automation tasks.

test

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.