emqx-mcp-server

emqx-mcp-server

14

The EMQX MCP Server enables interaction with MQTT clusters, providing client management and message publishing capabilities. It supports EMQX Cloud and self-hosted setups, offering flexible deployment options and control over MQTT operations.

EMQX MCP Server

A Model Context Protocol (MCP) server implementation allowing interaction with EMQX MQTT broker. Ideal for MCP clients to access MQTT clusters on EMQX Cloud or self-hosted environments.

Features

MQTT Client Management

  • View and filter all connected MQTT clients
  • Retrieve specific client details
  • Disconnect problematic clients

MQTT Message Publishing

  • Publish messages to MQTT topics
  • Control Quality of Service levels
  • Retain messages for new subscribers

Tools

  • list_mqtt_clients: List connected MQTT clients with optional filters.
  • get_mqtt_client: Retrieve detailed client information by ID.
  • kick_mqtt_client: Disconnect client by ID.
  • publish_mqtt_message: Publish messages to EMQX Cluster.