Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Iris

FreeNot checked

This MCP server enables AI agents to read MQTT and Sparkplug B data via tools like list_topics, get_latest, and read_all, providing read-only access to latest s

GitHubEmbed

About

This MCP server enables AI agents to read MQTT and Sparkplug B data via tools like list_topics, get_latest, and read_all, providing read-only access to latest sensor values.

README

An MQTT / Sparkplug B bridge for the OT stack. Iris subscribes to a broker, keeps the latest value per topic, exposes them over REST and as MCP tools for AI agents, and can forward every reading to a Clio historian.

Named for Iris, messenger of the gods — fitting for a message-bus bridge. It mirrors the ModBridge shape (CLI + REST + MCP) for the pub/sub world.

Status

Scaffold with a working MQTT ingest loop. Plain MQTT payloads (numbers, JSON {"value": ...}, text) are parsed today. Sparkplug B topics (spBv1.0/...) are detected and flagged; full protobuf payload decoding (via the Tahu schema) is the next step.

Run

pip install -r requirements.txt

# Subscribe and forward to Clio:
python -m iris subscribe --broker localhost --topic 'plant/#' --clio http://localhost:8010

# Bridge + REST API:
python -m iris serve --broker localhost --topic '#' --api-port 8011

# MCP server (owns its own subscription, exposes read tools to agents):
python -m iris.mcp_server

Configuration via flags, env (IRIS_BROKER_HOST, IRIS_BROKER_PORT, IRIS_TOPICS, IRIS_CLIO_URL, IRIS_SOURCE), or config.example.toml.

REST API

Method Path Purpose
GET /health Liveness + topic count
GET /topics Topics seen since connect
GET /latest Latest sample for a topic
GET /values Latest sample for every topic

MCP tools (read-only)

list_topics, get_latest(topic), read_all. Publishing back to the broker is a write path and is intentionally not exposed — consistent with the disabled-by-default posture on writes elsewhere in the stack.

Tests

pytest

License

MIT © AddisonTech

from github.com/AddisonTech/Iris

Installing Iris

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/AddisonTech/Iris

FAQ

Is Iris MCP free?

Yes, Iris MCP is free — one-click install via Unyly at no cost.

Does Iris need an API key?

No, Iris runs without API keys or environment variables.

Is Iris hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Iris in Claude Desktop, Claude Code or Cursor?

Open Iris on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Iris with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs