Skip to main content
Glama
emqx

AIoT MCP Server

Official
by emqx

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MQTT_PASSWORDNoMQTT password (optional)
MQTT_USERNAMENoMQTT username (optional)
MQTT_BROKER_URLNoMQTT broker URLmqtt://127.0.0.1:1883

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
discoverA

Discover devices and rules in a group using MQTT topic filter. When asked status of a group, provide the device GROUP as the argument. If no group is provided, discover all devices and rules in the domain.

publishA

Publish a message to a device using MQTT topic and payload. When asked to control a device, you should use this tool with the topic argument discovered from the "discover" tool. For example, a device might describe itself subscribing to a topic livingroom/456/command, then this is the topic to be used to control the device.

queryA

When asked status of a device, provide the device TOPIC as the argument. The topic can be found in previous messages from the "discover" tool. For example, a device might describe itself publishing its status to a topic livingroom/456/status, then this is the topic to be used to query the status of the device.

Prompts

Interactive templates invoked by user choice

NameDescription
assistant

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/emqx/aiot-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server