Connect MQTT to Your AI Agent

Publish MQTT messages over WebSocket and collect newly received messages during a bounded subscription. Ask your connected AI assistant to explain the results or carry out the specified operation.

2 tools Custom credential

Try a MQTT Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill MQTT

Publish a Topic Message

Send an explicit text payload to a selected topic.

/oo MQTT: Publish this UTF-8 payload to MQTT topic [topic] using QoS 1 and retain false: [payload].

Inspect Incoming Messages

Collect messages within a defined window and let AI summarize their contents.

/oo MQTT: Subscribe to MQTT topic filter [filter] for 10 seconds, collect up to 20 messages, and summarize the received payloads.

Start Working with MQTT

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect MQTT

    Provide a public MQTT-over-WebSocket endpoint and any broker-required credentials.

    Connect MQTT →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • A public MQTT-over-WebSocket broker endpoint and required broker credentials.
  • Receiving is a bounded subscription, not a permanent listener or historical archive. Specify topic, QoS, and retained-message behavior when publishing.

MQTT Tools

MQTT connects supported service operations to your AI assistant. Publish MQTT messages over WebSocket and collect newly received messages during a bounded subscription.

Publish Messages

Publish UTF-8 or base64 payloads with explicit QoS and retain settings.

Receive Messages

Collect newly received messages within time and count limits.

2 tools

Publish Message

Publish one UTF-8 or base64-encoded message over MQTT WebSocket.

mqtt.publish_message

Receive Messages

Open a bounded MQTT subscription and collect newly received messages.

mqtt.receive_messages

Frequently Asked Questions

Is this a permanent subscription?

No. Each receive operation opens a bounded subscription and returns the collected messages.

Can I use a normal TCP MQTT endpoint?

This integration requires an MQTT-over-WebSocket ws:// or wss:// endpoint, including its path.

Does acknowledgement prove a device acted?

No. Delivery acknowledgement describes protocol delivery; application or device completion needs a separate response.

Connect MQTT

About MQTT ↗