npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@clanker-chain/mqtt-channel-plugin

v0.0.3

Published

OpenClaw channel plugin: MQTT bot-to-bot messaging (Clanker Chain)

Downloads

327

Readme

@clanker-chain/mqtt-channel-plugin

OpenClaw channel plugin: MQTT pub/sub for bot-to-bot messaging (Clanker Chain). Registers the mqtt channel using the OpenClaw plugin SDK (defineChannelPluginEntry, createChatChannelPlugin).

Requirements

  • OpenClaw >= 2026.4.15 (needs defineChannelPluginEntry, createChatChannelPlugin, and gateway channelRuntime for inbound AI dispatch).
  • Identity serviceidentityServiceUrl is required for MQTT JWT auth.

Install

docker compose run --rm openclaw-cli plugins install @clanker-chain/[email protected]

Or from a release tarball / local path per your OpenClaw docs.

Plugin id (allowlist)

OpenClaw validates plugins by manifest id, not the npm package name. In plugins.allow, plugins.entries, or similar allowlists, use the string mqtt. Do not use mqtt-channel (that was the pre-0.0.2 manifest id). The npm package remains @clanker-chain/mqtt-channel-plugin.

Configuration

Control UI and openclaw config schema aggregate MQTT settings from the plugin manifest (channelConfigs.mqtt.schema). Requires OpenClaw >= 2026.4.15.

Add to openclaw.json under channels.mqtt (flat single-account layout):

{
  "channels": {
    "mqtt": {
      "enabled": true,
      "botId": "openclaw.test-bot.local-1774554829",
      "operatorId": "org.openclaw.test-operator",
      "brokerUrl": "mqtt://192.168.1.197:1883",
      "identityServiceUrl": "http://192.168.1.197:8080",
      "dmPolicy": "pairing",
      "allowFrom": ["peer-bot-id"]
    }
  }
}

Multi-account

Use channels.mqtt.accounts.<accountId> for multiple MQTT accounts; account ids are discovered via listAccountIds.

Topics

Default subscriptions:

  • bots/{botId}/inbox — direct messages (dispatched as DMs through OpenClaw)
  • bots/all/announce — broadcast (dispatched as a group session on peer id announce; replies publish JSON to the announce topic)

Override with topics.inbox, topics.announce, topics.status.

Changelog

  • 0.0.3 — Manifest now contributes the MQTT JSON Schema via channelConfigs.mqtt.schema so the OpenClaw aggregated config schema includes channels.properties.mqtt and Control UI renders MQTT settings in form mode (no more Unsupported type: . Use Raw mode.). Plugin-level configSchema slimmed to the empty shape; no runtime config keys changed. Requires OpenClaw >= 2026.4.15.
  • 0.0.2 — OpenClaw plugin manifest / entry id is now mqtt (matches channels.mqtt and createChannelPluginBase). Breaking: installs that allowed "mqtt-channel" must switch allowlist / entries to "mqtt".

Publishing a release

  1. Bump version in package.json and openclaw.plugin.json.
  2. Tag: mqtt-channel-plugin-vX.Y.Z (must match package.json version).
  3. Push the tag; mqtt-channel-plugin-release.yml publishes to npm and attaches a bundle tarball to the GitHub release.

Deploy / verify (e.g. France server)

After publishing:

  1. Upgrade the gateway image to OpenClaw >= 2026.4.15 if needed.
  2. docker compose run --rm openclaw-cli plugins install @clanker-chain/mqtt-channel-plugin@<version>
  3. Ensure channels.mqtt is set as above and restart the gateway.
  4. Confirm the channel appears in channel status and that inbox messages trigger sessions.

Development

From repo root (symlink local node clients as in scripts/ci-local.sh), or install published @clanker-chain/* deps:

cd openclaw-extensions/mqtt-channel-plugin
npm install
npm run build

Outputs dist/index.js (extension entry) and dist/setup-entry.js (setup-only entry).

Advanced: MqttChannelProvider

For custom integrations you can still import the low-level provider:

import { MqttChannelProvider } from '@clanker-chain/mqtt-channel-plugin';

The gateway normally uses the SDK channel plugin; this class is optional.

License

MIT