MQTTX SSE Server

by ysfscream

384 downloads
Not rated
GitHub

About

An implementation of the Model-Context Protocol (MCP) that enables MQTT operations over Server-Sent Events (SSE) transport.

Details

Author
ysfscream
Downloads
384
Categories
Other, AI

- Implements MCP protocol version 2024‑11‑05
- Uses SSE (Server‑Sent Events) as the transport layer
- Provides MQTT Connect, Subscribe, and Publish tools
- Real‑time message delivery from subscribed topics
- Session management for multiple clients
- JSON‑RPC API for tool calls and responses

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 MQTTX SSE Server
    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 Node.js (v14 or later) and npm, clone the repository, run npm install, then start the server with npm start (default port 4000). In MQTTX settings, add an MCP server entry with the URL http://localhost:4000/mqttx/sse under mcpServers.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "mqttx sse server": {
            "mqttx-server": {
                "type": "http",
                "url": "http://localhost:4000/mqttx/sse"
            }
        }
    }
}

McpServers

{
    "mqttx-server": {
        "type": "http",
        "url": "http://localhost:4000/mqttx/sse"
    }
}

MQTTX SSE Server

An implementation of the Model-Context Protocol (MCP) that enables MQTT operations over Server-Sent Events (SSE) transport.

About MCP

The Model-Context Protocol (MCP) is a standardized protocol that allows AI assistants to interact with external tools and services. This server implements the MCP specification using SSE (Server-Sent Events) as the transport layer, providing MQTT broker connectivity capabilities.

Features

- Implements MCP protocol version 2024-11-05
- Uses SSE (Server-Sent Events) as the transport layer
- Provides MQTT operations through MCP tools:
- Connect to MQTT brokers
- Subscribe to MQTT topics
- Publish messages to MQTT topics
- Real-time message delivery from subscribed topics
- Session management for multiple clients

Getting Started

Prerequisites

- Node.js (v14 or later)
- npm

Installation

```bash

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.