NestDaddy

Meshtastic Mcp

io.github.meshtastic/meshtastic-mcp · v0.4.0

Discover, drive, observe, and test Meshtastic devices and companion apps over serial and TCP.

Is this your server? Claim it to get a Verified maintainer mark, your own note here, and an email when it goes down or its tools change. Free.

MCP Score How we grade

This server runs on your own machine, so there is no public endpoint to check and grade.

Connect Runs on your machine

Terminal
claude mcp add meshtastic-mcp -e MESHTASTIC_FIRMWARE_ROOT=<MESHTASTIC_FIRMWARE_ROOT> -e MESHTASTIC_MCP_TCP_HOST=<MESHTASTIC_MCP_TCP_HOST> -e MESHTASTIC_MCP_TOOLSETS=<MESHTASTIC_MCP_TOOLSETS> -e MESHTASTIC_MCP_READ_ONLY=<MESHTASTIC_MCP_READ_ONLY> -e MESHTASTIC_MCP_CONFIRM=<MESHTASTIC_MCP_CONFIRM> -e MESHTASTIC_MCP_DATA_DIR=<MESHTASTIC_MCP_DATA_DIR> -e MESHTASTIC_UI_CAMERA_DEVICE=<MESHTASTIC_UI_CAMERA_DEVICE> -e MESHTASTIC_UHUBCTL_LOCATION_TESTER=<MESHTASTIC_UHUBCTL_LOCATION_TESTER> -e MESHTASTIC_PIO_BIN=<MESHTASTIC_PIO_BIN> -e MESHTASTIC_ANDROID_ROOT=<MESHTASTIC_ANDROID_ROOT> -e MESHTASTIC_APPLE_ROOT=<MESHTASTIC_APPLE_ROOT> -- uvx meshtastic-mcp==0.4.0
claude_desktop_config.json
{
  "mcpServers": {
    "meshtastic-mcp": {
      "command": "uvx",
      "args": [
        "meshtastic-mcp==0.4.0"
      ],
      "env": {
        "MESHTASTIC_FIRMWARE_ROOT": "<MESHTASTIC_FIRMWARE_ROOT>",
        "MESHTASTIC_MCP_TCP_HOST": "<MESHTASTIC_MCP_TCP_HOST>",
        "MESHTASTIC_MCP_TOOLSETS": "<MESHTASTIC_MCP_TOOLSETS>",
        "MESHTASTIC_MCP_READ_ONLY": "<MESHTASTIC_MCP_READ_ONLY>",
        "MESHTASTIC_MCP_CONFIRM": "<MESHTASTIC_MCP_CONFIRM>",
        "MESHTASTIC_MCP_DATA_DIR": "<MESHTASTIC_MCP_DATA_DIR>",
        "MESHTASTIC_UI_CAMERA_DEVICE": "<MESHTASTIC_UI_CAMERA_DEVICE>",
        "MESHTASTIC_UHUBCTL_LOCATION_TESTER": "<MESHTASTIC_UHUBCTL_LOCATION_TESTER>",
        "MESHTASTIC_PIO_BIN": "<MESHTASTIC_PIO_BIN>",
        "MESHTASTIC_ANDROID_ROOT": "<MESHTASTIC_ANDROID_ROOT>",
        "MESHTASTIC_APPLE_ROOT": "<MESHTASTIC_APPLE_ROOT>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "meshtastic-mcp": {
      "command": "uvx",
      "args": [
        "meshtastic-mcp==0.4.0"
      ],
      "env": {
        "MESHTASTIC_FIRMWARE_ROOT": "<MESHTASTIC_FIRMWARE_ROOT>",
        "MESHTASTIC_MCP_TCP_HOST": "<MESHTASTIC_MCP_TCP_HOST>",
        "MESHTASTIC_MCP_TOOLSETS": "<MESHTASTIC_MCP_TOOLSETS>",
        "MESHTASTIC_MCP_READ_ONLY": "<MESHTASTIC_MCP_READ_ONLY>",
        "MESHTASTIC_MCP_CONFIRM": "<MESHTASTIC_MCP_CONFIRM>",
        "MESHTASTIC_MCP_DATA_DIR": "<MESHTASTIC_MCP_DATA_DIR>",
        "MESHTASTIC_UI_CAMERA_DEVICE": "<MESHTASTIC_UI_CAMERA_DEVICE>",
        "MESHTASTIC_UHUBCTL_LOCATION_TESTER": "<MESHTASTIC_UHUBCTL_LOCATION_TESTER>",
        "MESHTASTIC_PIO_BIN": "<MESHTASTIC_PIO_BIN>",
        "MESHTASTIC_ANDROID_ROOT": "<MESHTASTIC_ANDROID_ROOT>",
        "MESHTASTIC_APPLE_ROOT": "<MESHTASTIC_APPLE_ROOT>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "meshtastic-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "meshtastic-mcp==0.4.0"
      ],
      "env": {
        "MESHTASTIC_FIRMWARE_ROOT": "<MESHTASTIC_FIRMWARE_ROOT>",
        "MESHTASTIC_MCP_TCP_HOST": "<MESHTASTIC_MCP_TCP_HOST>",
        "MESHTASTIC_MCP_TOOLSETS": "<MESHTASTIC_MCP_TOOLSETS>",
        "MESHTASTIC_MCP_READ_ONLY": "<MESHTASTIC_MCP_READ_ONLY>",
        "MESHTASTIC_MCP_CONFIRM": "<MESHTASTIC_MCP_CONFIRM>",
        "MESHTASTIC_MCP_DATA_DIR": "<MESHTASTIC_MCP_DATA_DIR>",
        "MESHTASTIC_UI_CAMERA_DEVICE": "<MESHTASTIC_UI_CAMERA_DEVICE>",
        "MESHTASTIC_UHUBCTL_LOCATION_TESTER": "<MESHTASTIC_UHUBCTL_LOCATION_TESTER>",
        "MESHTASTIC_PIO_BIN": "<MESHTASTIC_PIO_BIN>",
        "MESHTASTIC_ANDROID_ROOT": "<MESHTASTIC_ANDROID_ROOT>",
        "MESHTASTIC_APPLE_ROOT": "<MESHTASTIC_APPLE_ROOT>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
MESHTASTIC_FIRMWARE_ROOT
Optional
Path to a Meshtastic firmware checkout. Optional — enables the firmware capability (build/flash/boards/userprefs). Core device/admin/recorder tools work without it.
MESHTASTIC_MCP_TCP_HOST
Optional
host[:port] of a meshtasticd TCP node to surface in list_devices (default port 4403).
MESHTASTIC_MCP_TOOLSETS
Optional
Comma-separated tool groups to expose: core, firmware, hardware, android, discord, replay, rf, local-model. Unset or 'all' exposes every group; a hidden tool cannot be called.
MESHTASTIC_MCP_READ_ONLY
Optional
Set to 1 to hide every tool that can change device or host state.
MESHTASTIC_MCP_CONFIRM
Optional
Confirmation policy for destructive tools. 'agent' runs a tool called with confirm=True; 'human' asks the user through elicitation before an irreversible tool (factory_reset, erase_and_flash, nrf52_factory_erase, vanity_apply, destructive esptool/nrfutil/picotool calls) even when confirm=True is pa…
MESHTASTIC_MCP_DATA_DIR
Optional
Directory for recorder JSONL logs and persistent data. Defaults to platformdirs user-data-dir, then cwd. Set this to keep recorder data in a known location.
MESHTASTIC_UI_CAMERA_DEVICE
Optional
Camera device index or path for capture_screen (default: 0). Role-specific overrides: MESHTASTIC_UI_CAMERA_DEVICE_TESTER, _DUT, etc.
MESHTASTIC_UHUBCTL_LOCATION_TESTER
Optional
uhubctl USB hub location for the TESTER role port (e.g. '1-1'). Enables uhubctl_power/uhubctl_cycle against that role. Suffix varies by role: _DUT, _RELAY, etc.
MESHTASTIC_PIO_BIN
Optional
Path to the PlatformIO CLI binary. Searched in order: this env var, ~/.platformio/penv/bin/pio, then PATH. Only needed if PlatformIO is not on PATH.
MESHTASTIC_ANDROID_ROOT
Optional
Path to a Meshtastic-Android source checkout (directory containing gradlew). Optional — enables building the APK from source via scripts/build_android_apk.sh. If unset, scripts default to cloning fresh or using a release APK.
MESHTASTIC_APPLE_ROOT
Optional
Path to a Meshtastic-Apple source checkout (directory containing Meshtastic.xcworkspace). Optional — enables building the iOS Simulator .app from source via scripts/build_apple.sh. If unset, scripts clone fresh.

Details

Package[email protected] (PYPI, stdio)
First published18 Nov 2026
Last updated18 Nov 2026
Registry nameio.github.meshtastic/meshtastic-mcp

More developer tools servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.