Nodemcu MCP Server

Model Context Protocol (MCP) service for NodeMCU management

Local serverstdioTypeScript

What is the Nodemcu MCP server?

Nodemcu MCP server exists for a simple reason — assistants are far more useful when they can act on Nodemcu directly instead of describing what you should do. Model Context Protocol (MCP) service for NodeMCU management.

What you get

A Model Context Protocol (MCP) service for managing NodeMCU devices. This service provides both a standard RESTful API/WebSocket interface and implements the Model Context Protocol for integration with AI tools like Claude Desktop.

NodeMCU MCP provides a management solution for ESP8266/NodeMCU IoT devices with these key capabilities: - Monitor device status and telemetry - Send commands to devices remotely - Update device configurations - Integration with AI assistants through MCP protocol

  • 🔌 Device Management: Register, monitor, and control NodeMCU devices
  • 📊 Real-time Communication: WebSocket interface for real-time updates
  • ⚙️ Configuration Management: Update device settings remotely
  • 🔄 Command Execution: Send restart, update, status commands remotely
  • 📡 Telemetry Collection: Gather sensor data and device metrics
  • 🔐 Authentication: Secure API access with JWT authentication

What the assistant can call

Once Nodemcu is connected, these are the calls the assistant has available:

  • list-devices — List all registered NodeMCU devices and their status
  • get-device — Get detailed information about a specific NodeMCU device
  • send-command — Send a command to a NodeMCU device
  • update-config — Update the configuration of a NodeMCU device
  • Prerequisites — The Prerequisites tool exposed by this server
  • Installation — The Installation tool exposed by this server
  • Configuration — 1. Create a .env file based on the example: cp .env.example .env
  • Authentication — Response: json { "message": "Login successful", "token": "your.jwt.token", "user": { "id": 1, "username": "admin", "role": "admin" } }
  • Contributing — Contributions are welcome! Please feel free to submit a Pull Request

Setting it up

The server ships on npm as @smithery/cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration and credentials

  • Node.js 16.x or higher - npm or yarn - For the NodeMCU client: Arduino IDE with ESP8266 support

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Nodemcu's toolset — list-devices, get-device, send-command and 6 more — is a fair guide to whether it matches your workflow. It is maintained by amanasmuei; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Nodemcu's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Nodemcu.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the nodemcu mcp server does with a few real requests.

Available tools

ToolWhat it does
list-devicesList all registered NodeMCU devices and their status
get-deviceGet detailed information about a specific NodeMCU device
send-commandSend a command to a NodeMCU device
update-configUpdate the configuration of a NodeMCU device
PrerequisitesThe Prerequisites tool exposed by this server.
InstallationThe Installation tool exposed by this server.
Configuration1. Create a .env file based on the example: cp .env.example .env
AuthenticationResponse: json { "message": "Login successful", "token": "your.jwt.token", "user": { "id": 1, "username": "admin", "role": "admin" } }
ContributingContributions are welcome! Please feel free to submit a Pull Request.

How to install the Nodemcu MCP server

{
  "mcpServers": {
    "nodemcu": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/TO/YOUR/PROJECT/mcp_server_sdk.js"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js 16.x or higher - npm or yarn - For the NodeMCU client: Arduino IDE with ESP8266 support

Example prompts to try

  • Use Nodemcu to list-devices.
  • Use Nodemcu to get-device.
  • Use Nodemcu to send-command.

Frequently asked questions

It connects Nodemcu to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (list-devices, get-device, send-command, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Nodemcu directly.