MCP server de nodrix
Commit 12 nov 2026Permite que un asistente de IA lea telemetría de IoT y controle hardware como ESP32 o Arduino a través de una plataforma auto-hospedada basada en Cloudflare.
También conocido como decoded-cipher/nodrix
- Stars
- 46
- Herramientas
- —
- Descargas, 30 días
- —
- Última versión
- 1.0.1
- Último commit
- 12 nov 2026
- Licencia
- MIT
¿Qué es nodrix MCP?
nodrix es un MCP server. Permite que un asistente de IA lea telemetría de IoT y controle hardware como ESP32 o Arduino a través de una plataforma auto-hospedada basada en Cloudflare.
Resumen generado a partir del README del proyecto
Acerca del MCP server de nodrix
nodrix ofrece una plataforma de IoT auto-hospedada que se ejecuta completamente dentro de tu propia cuenta de Cloudflare utilizando Workers, Durable Objects, D1 y R2. Permite que hardware como Arduino o ESP32 envíe telemetría vía HTTPS o WebSockets sin necesidad de un esquema predefinido o un broker MQTT gestionado. Una vez que los datos llegan, las variables se crean automáticamente y puedes visualizarlas mediante dashboards de arrastrar y soltar en tiempo real o a través de una API de lectura limpia.
El MCP server nativo permite que los asistentes de IA interactúen con tu hardware de forma remota. Como los dispositivos se conectan a tu despliegue de Cloudflare en lugar de a una máquina local, el hardware puede estar ubicado en cualquier lugar. Los usuarios pueden habilitar acceso de solo lectura o control total activando ajustes específicos en el dashboard. El sistema incluye 12 herramientas de lectura para inspeccionar proyectos, variables y automatizaciones, junto con 16 herramientas de escritura para gestionar configuraciones y controlar el hardware mediante comandos como set_variable.
La seguridad se gestiona mediante permisos controlados por el propietario y tokens de proyecto. La plataforma admite roles multiusuario que incluyen propietario, administrador y miembro, con un registro de auditoría para rastrear acciones privilegiadas. Para evitar la pérdida accidental de datos, el conjunto de herramientas está diseñado sin ninguna herramienta de eliminación.
Qué puedes hacer con él
- 1Monitorear datos de sensores remotosPide a un asistente de IA que obtenga las lecturas actuales de temperatura y humedad de un proyecto de IoT específico.
- 2Controlar componentes de hardwareInstruye a una IA para encender un relé o ajustar un parámetro enviando un comando al hardware.
- 3Gestionar configuraciones de IoTUtiliza un cliente de IA para crear nuevos proyectos, dashboards o reglas de automatización dentro de tu infraestructura.
- 4Analizar telemetría históricaSolicita un reporte de series temporales de los cambios en las variables para entender el comportamiento del dispositivo a lo largo del tiempo.
Escrito a partir del README del proyecto. Cada caso de uso se verifica con una cita del mismo.
Cómo instalar nodrix MCP
Formatos verificados el 10 nov 2026Instalar nodrix MCP en Claude Code
$ claude mcp add --transport http nodrix https://{host}/v1/mcp/oauthInstalar nodrix MCP en Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"nodrix": {
"url": "https://{host}/v1/mcp/oauth"
}
}
}Instalar nodrix MCP en VS Code
.vscode/mcp.json
{
"servers": {
"nodrix": {
"type": "http",
"url": "https://{host}/v1/mcp/oauth"
}
}
}Instalar nodrix MCP en Codex
~/.codex/config.toml
[mcp_servers.nodrix]
url = "https://{host}/v1/mcp/oauth"Instalar nodrix MCP en Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"nodrix": {
"httpUrl": "https://{host}/v1/mcp/oauth"
}
}
}Verificaciones automáticas
Ejecutado 14 nov 2026Informe completo →Aún no verificado. Un servidor necesita una puntuación de 80, ningún hallazgo grave y suficientes datos para que podamos revisarlo. Cómo funcionan las verificaciones
- Repositorio de origen vinculado y accesibledecoded-cipher/nodrix is public and reachablegithub.com/decoded-cipher/nodrix ↗Aprobado
- El paquete cita este repositorio como fuenteNo verificado
- Procedencia de la compilación (atestación Sigstore)No verificado
- Licencia de código abierto (OSI)MITspdx.org/licenses/MIT.html ↗Aprobado
- Commit o lanzamiento en el último añoLast commit or release 2026-11-12github.com/decoded-cipher/nodrix ↗Aprobado
- OpenSSF ScorecardNo verificado
- El nombre del paquete no es similar a un paquete popularNo verificado
- Sin avisos críticos en el paquete ni en sus dependenciasNo verificado
- Sin instrucciones ocultas para el modelo0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersAprobado
- Las herramientas destructivas están etiquetadasNo verificado
- El endpoint remoto responde al handshake MCPEndpoint did not answer initialize: unreachableHallazgo
README
Ver en GitHubnodrix
The IoT platform Cloudflare didn't build. Point your hardware at one endpoint over HTTPS or WebSocket, watch variables appear on their own, build realtime drag-and-drop dashboards, automate, and read it all back through a clean API — entirely on infrastructure you own. nodrix is single-tenant and open source: it deploys into your Cloudflare account on Workers, Durable Objects, D1, and R2.
Features
- 📡 Telemetry over HTTPS or WebSocket — hardware POSTs JSON to a project; variables auto-create on first sight. No schema to define, no MQTT broker to run.
- 📊 Realtime dashboards — a drag-and-drop widget grid streams updates over hibernating WebSockets; share any dashboard read-only by public link.
- 🧩 Embeddable widgets — every widget is a framework-agnostic Web Component you can lift straight into your own app.
- 🎮 Two-way control — toggles, sliders, color pickers, and buttons write values back to hardware via short polls or a control socket.
- 🤖 Visual automations — variable, schedule, sunrise/sunset, and event triggers run conditions and actions: webhooks, code snippets, and service integrations.
- 🔌 Integrations — fan out to HTTP, email, and chat (Slack, Telegram, Discord, and more).
- 📖 Clean read API — latest state, time-series, and variable listings behind one token.
- 🧠 Native MCP server — read telemetry and control hardware from an AI assistant, on devices you are not physically next to. Owner-gated and off by default; see AI assistants (MCP).
- 👥 Multi-user — owner / admin / member roles, email invites, and social sign-in (Google, GitHub).
- 📝 Audit log — every privileged action recorded and paginated in the UI.
Quick start
-
Deploy to your Cloudflare account — one click, or
bun run deploy:platformfrom a clone. -
Create the owner account — the first visit prompts a "Create owner account" page; the first signup becomes
owner. -
Create a project and mint a project token from the dashboard.
-
Send telemetry — variables are created the moment 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}}' -
Read it back:
curl https://<your-worker>/v1/projects/<project>/state \ -H "Authorization: Bearer $NODRIX_TOKEN"
AI assistants (MCP)
nodrix ships a native Model Context Protocol server, so an assistant can read a project's telemetry and — once you allow it — act on the hardware. Because devices report to your deployment rather than to your laptop, the board does not need to be plugged into the machine running the assistant; it can be in another building.
Two endpoints, both Streamable HTTP:
| Endpoint | Auth | For |
|---|---|---|
/v1/mcp |
Bearer token | CLI and IDE clients |
/v1/mcp/oauth |
OAuth | claude.ai-style connectors |
Both are off by default. The owner flips them in Settings → More:
mcp_enabled— the master switch. While it is off,/v1/mcpreturns 404, so a disabled server looks absent rather than merely forbidden.mcp_write_enabled— gates the management and control tools. Until it is on, even an admin-scope token gets read-only tools, so an assistant cannot command hardware by default.
12 read tools — list_projects, list_variables, get_state, get_series, list_dashboards, get_dashboard, list_widget_types, list_widgets, list_block_types, list_integration_kinds, list_automations, list_integrations.
16 write tools — creating and updating projects, variables, dashboards, widgets, automations, and integrations, plus set_variable (how an assistant turns a relay on), run_automation, emit_event, and test_integration.
There are no delete tools, by design. Every tool resolves its target project through the token's scope before it runs, so it cannot reach a project the token cannot.
Architecture
- Worker (worker/) — a single Hono app. Durable Objects for Project, Dashboard, Scheduler, and the MCP agent; one Workflow for provisioning; D1 (metadata), R2 (telemetry history), KV (read cache + JWKS).
- Web (web/) — Vue 3 + Tailwind + Reka UI admin panel and drag-and-drop dashboard builder, built and served as Worker static assets.
- Shared (shared/) — framework-agnostic Web Component widgets, the integration catalog, and automation blocks, consumed by both web and worker so there is a single source of truth.
- Deploy (deploy/) — the small config carrier behind the one-click Deploy to Cloudflare.
worker/ Cloudflare Worker — API, Durable Objects, Workflow
web/ Vue 3 admin panel + dashboard builder
shared/ Web Component widgets, integration catalog, automation blocks
deploy/ One-click Deploy to Cloudflare config
scripts/ Build, version, and migration generators
Storage
| Store | Holds |
|---|---|
| Project DO (SQLite) | Latest variable state, recent ring buffer, pending control writes, flush cursor |
| R2 | Cold telemetry history (NDJSON, partitioned by project + hour) |
| D1 | Users, sessions, accounts, projects, variables, dashboards, tokens, automations, integrations, audit log, OAuth provider config (metadata only — never any telemetry point) |
| KV | Cached /state responses and JWKS |
| Dashboard DO | Per-dashboard subscriptions + hibernated WebSockets |
| Scheduler DO | One alarm at the next schedule/sunset automation fire time |
Authentication
Better Auth handles sign-in. Email + password is on by default; Google and GitHub OAuth can be enabled at runtime from Settings → Sign-in providers (the owner enters a client ID + secret per provider, and the login page shows the matching buttons immediately).
The first signup on a fresh deployment becomes owner. After that, registration is closed: the owner invites people from Users, each with an owner / admin / member role. Sessions are cookie-based and persist 30 days; each device is a separate session, listed and revokable from Users.
Development
nodrix uses Bun.
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 + deploy the worker
Links
- Site — https://nodrix.live
- Changelog — https://nodrix.live/changelog
- Roadmap — https://nodrix.live/roadmap
License
MIT © Arjun Krishna
Preguntas sobre nodrix MCP
¿Cómo agrego nodrix MCP a Claude Code?
Ejecuta claude mcp add --transport http nodrix https://{host}/v1/mcp/oauth en tu terminal. Añade --scope user para que esté disponible en todos los proyectos.
¿Cómo agrego nodrix MCP a Cursor?
Abre ~/.cursor/mcp.json y añade el servidor en mcpServers, usando la configuración de Cursor que se muestra en la sección de instalación de arriba.
¿Puede un asistente de IA controlar mi hardware?
Sí, una vez que habilites las herramientas de escritura en la configuración, un asistente puede usar herramientas como set_variable para dar órdenes al hardware.
¿Necesita mi hardware estar conectado a mi computadora para que la IA funcione?
No, debido a que los dispositivos reportan a tu despliegue en lugar de a tu máquina local, el hardware puede estar en una ubicación diferente.
¿El MCP server está habilitado por defecto?
No, el MCP server está desactivado por defecto y el propietario debe habilitarlo en la configuración.