Back to Home
ziv-daniel icon

node-red-mcp

by ziv-daniel

Overview

The MCP Node-RED Server enables AI agents to manage, monitor, and troubleshoot Node-RED automation flows in real-time by translating Model Context Protocol requests to Node-RED Admin API calls and providing live event streams.

Installation

Run Command
node dist/index.mjs

Environment Variables

  • NODE_ENV
  • PORT
  • MCP_TRANSPORT
  • HTTP_ENABLED
  • NODERED_URL
  • NODERED_USERNAME
  • NODERED_PASSWORD
  • NODERED_API_TOKEN
  • JWT_SECRET
  • API_KEY
  • CORS_ORIGIN
  • RATE_LIMIT_WINDOW
  • RATE_LIMIT_MAX
  • LOG_LEVEL
  • CLAUDE_COMPATIBLE_MODE
  • CLAUDE_AUTH_REQUIRED
  • ACCEPT_ANY_BEARER_TOKEN
  • DEBUG_CLAUDE_CONNECTIONS
  • AUTH_FALLBACK_ENABLED
  • DATABASE_URL
  • REDIS_URL
  • ENABLE_METRICS
  • ENABLE_TRACING
  • OTEL_EXPORTER_OTLP_ENDPOINT

Security Notes

The server includes robust security features like Zod for input validation, Helmet.js for security headers, CORS configuration, and rate limiting. It also performs checks in the Docker entrypoint (e.g., non-root user). However, it contains hardcoded fallback secrets for `JWT_SECRET` ('your-secret-key' / 'dev-secret-change-in-production-min-32-chars') and `API_KEY` ('your-api-key'), which, if not overridden in production, represent critical vulnerabilities. While `envSchema` validates `JWT_SECRET` length, the default values undermine security until explicitly changed.

Similar Servers

Stats

Interest Score30
Security Score7
Cost ClassLow
Avg Tokens150
Stars1
Forks0
Last Update2025-11-24

Tags

mcpnode-redautomationsseai