Meshtastic MCP
io.github.meshtastic/meshtastic-mcp
v0.4.0Updated Nov 18, 2026stdio · PyPI
Discover, drive, observe, and test Meshtastic devices and companion apps over serial and TCP.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add meshtastic-mcp -e MESHTASTIC_MCP_CONFIRM=agent -- uvx meshtastic-mcp==0.4.0Configuration
11 settings.
MESHTASTIC_FIRMWARE_ROOTEnv var· optionalPath 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_HOSTEnv var· optionalhost[:port] of a meshtasticd TCP node to surface in list_devices (default port 4403).MESHTASTIC_MCP_TOOLSETSEnv var· optionalComma-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_ONLYEnv var· optionalSet to 1 to hide every tool that can change device or host state.MESHTASTIC_MCP_CONFIRMEnv var· optionalConfirmation 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 passed.Default:agentMESHTASTIC_MCP_DATA_DIREnv var· optionalDirectory 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.
Show 5 moreShow fewer
MESHTASTIC_UI_CAMERA_DEVICEEnv var· optionalCamera device index or path for capture_screen (default: 0). Role-specific overrides: MESHTASTIC_UI_CAMERA_DEVICE_TESTER, _DUT, etc.MESHTASTIC_UHUBCTL_LOCATION_TESTEREnv var· optionaluhubctl 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_BINEnv var· optionalPath 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_ROOTEnv var· optionalPath 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_ROOTEnv var· optionalPath 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.
Links
Listed in the official MCP Registry since Nov 18, 2026. Mirrored daily; last checked Nov 26, 2026.