Skip to content
FunCoding

nodrix

Listed in the official MCP Registry

Read live and historical IoT telemetry and actuate ESP32/Arduino hardware from a backend you host.

Star
48
Category
Cloud & ops
Version
v1.0.1
License
MIT
Last commit
Nov 17, 2026

nodrix

The IoT platform Cloudflare didn't build.

nodrix is a self-hosted, open-source IoT platform that runs in your own Cloudflare account on Workers, Durable Objects, D1, and R2. Devices send telemetry over HTTPS or WebSocket, and you get realtime dashboards, two-way control, automations, a read API, and an MCP server for AI assistants. It is single-tenant: your data never leaves your account.

Deploy to Cloudflare

Website · Docs · Changelog · Roadmap

Contents

Features

  • Telemetry over HTTPS or WebSocket. Devices POST JSON to a project, and variables are created the first time they appear. No schema to define and no MQTT broker to run.
  • Realtime dashboards. A drag-and-drop widget grid streams updates over hibernating WebSockets. Any dashboard can be shared read-only by public link.
  • Embeddable widgets. Every widget is a framework-agnostic Web Component you can use in your own app.
  • Two-way control. Toggles, sliders, color pickers, and buttons write values back to hardware through short polls or a control socket.
  • Visual automations. Variable, schedule, sunrise/sunset, and event triggers run conditions and actions, including webhooks, code snippets, and integrations.
  • Integrations. HTTP, email, and chat (Slack, Telegram, Discord, and more).
  • Read API. Latest state, time-series, and variable listings behind one token.
  • MCP server. Read telemetry and control hardware from an AI assistant. Owner-gated and off by default.
  • Multi-user. Owner, admin, and member roles with email invites. Email and password sign-in is on by default, and Google or GitHub sign-in can be turned on in Settings → Sign-in providers.
  • Audit log. Every privileged action is recorded and browsable in the UI.

Getting started

Deploy

Click Deploy to Cloudflare above to create nodrix and its storage in your Cloudflare account. To deploy from a clone instead, see Development.

First steps

  1. Open your Worker's URL and create the owner account. The first sign-up becomes the owner; after that, people join by invite from Users.

  2. Create a project and a project token.

  3. Send telemetry. Variables are created as soon as data arrives:

    curl -X POST https://<your-worker>/v1/telemetry \
      -H "Authorization: Bearer $NODRIX_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{"metrics":{"temperature":23.4,"humidity":61}}'
    
  4. Read it back:

    curl https://<your-worker>/v1/projects/<project>/state \
      -H "Authorization: Bearer $NODRIX_TOKEN"
    

Connecting hardware

For ESP32 and ESP8266, use the Nodrix library. It is available from the Arduino Library Manager, the PlatformIO Registry (decoded-cipher/Nodrix), and the ESP Component Registry.

Any other device that can make an HTTPS request can use the telemetry API above.

AI assistants (MCP)

nodrix includes a Model Context Protocol server at /v1/mcp (Streamable HTTP). An assistant can read your telemetry and, once you allow it, control your hardware. Devices report to your deployment, so the board does not need to be connected to the machine running the assistant.

ClientHow to connect
Claude Code/plugin install nodrix --marketplace decoded-cipher/nodrix, then enter your endpoint. See plugin/.
claude.ai, ChatGPTAdd https://<your-worker>/v1/mcp as a custom connector and sign in on your instance.
Codexcodex mcp add nodrix --url https://<your-worker>/v1/mcp, then codex mcp login nodrix.
Other clientsSend an API token from Settings → Tokens as Authorization: Bearer <token>.

The server is off by default. The owner turns it on from the MCP server card in Settings, which has two switches:

  • MCP server (mcp_enabled). While it is off, /v1/mcp returns 404.
  • Allow control writes (mcp_write_enabled). Until it is on, every client gets read-only tools, even with an admin token.

There are 12 read tools and 16 write tools, and no delete tools. Every tool is checked against the access of the person behind the token or sign-in. See the MCP server reference for the full tool list.

/v1/mcp/oauth still works as an alias for connectors added before the two endpoints were merged.

Architecture

ComponentDescription
worker/A Hono app on Cloudflare Workers, with Durable Objects for projects, dashboards, the scheduler, and MCP sessions, and a Workflow for provisioning.
web/Vue 3, Tailwind, and Reka UI admin panel and dashboard builder, served as Worker static assets.
shared/Web Component widgets, the integration catalog, and automation blocks, used by both web and worker.
plugin/The Claude Code plugin.
deploy/The config behind the Deploy to Cloudflare button.
scripts/Build, version, and migration generators.

Storage

StoreHolds
Project Durable Object (SQLite)Latest variable state, a recent ring buffer, pending control writes, and the flush cursor
R2Telemetry history as NDJSON, partitioned by project and hour
D1Users, sessions, accounts, projects, variables, dashboards, tokens, automations, integrations, the audit log, and sign-in provider settings. Metadata only, never telemetry points
KVCached /state responses, JWKS, and OAuth clients and grants
Dashboard Durable ObjectPer-dashboard subscriptions and hibernated WebSockets
Scheduler Durable ObjectOne alarm for the next schedule or sunset automation

Development

Prerequisites: Bun and, to deploy, a Cloudflare account.

bun install
bun run dev              # worker (wrangler dev)
bun run dev:web          # web (vite)
bun run typecheck
bun run build
bun run deploy:platform  # build and deploy the worker

The root wrangler.toml is for local development. Deploys from the Deploy to Cloudflare button use deploy/wrangler.toml.

Security

To report a vulnerability, see SECURITY.md.

License

MIT © Arjun Krishna

Similar MCP servers

Netdata

Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.

NEnetdata/netdata82k123 new stars in the last 7 days

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

JAJanDeDobbeleer/oh-my-posh24k29 new stars in the last 7 days

Coder

Manage Coder workspaces, templates, and cloud development environments

COcoder/coder18k57 new stars in the last 7 days

docker-android

Android in docker solution with noVNC supported, video recording, mcp server and AI-agent

BUbudtmo/docker-android16k18 new stars in the last 7 days

Featured

Windows-MCP

Control Windows apps, navigate files, interact with UI, and run QA tests.

CUCursorTouch/Windows-MCP12k286 new stars in the last 7 days

pal-mcp-server

The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.

BEBeehiveInnovations/pal-mcp-server12k21 new stars in the last 7 days