meshtastic-mcp
Discover, drive, observe, and test Meshtastic devices and companion apps over serial and TCP.
Documentation & Preview
{ "mcpServers": { "mcp-meshtastic-mcp-1f059a100da8222c9fe9": { "command": "uvx", "args": [ "--from", "meshtastic-mcp==0.4.0", "meshtastic-mcp" ], "env": { "MESHTASTIC_FIRMWARE_ROOT": "${ENV_MESHTASTIC_FIRMWARE_ROOT}", "MESHTASTIC_MCP_TCP_HOST": "${ENV_MESHTASTIC_MCP_TCP_HOST}", "MESHTASTIC_MCP_TOOLSETS": "${ENV_MESHTASTIC_MCP_TOOLSETS}", "MESHTASTIC_MCP_READ_ONLY": "${ENV_MESHTASTIC_MCP_READ_ONLY}", "MESHTASTIC_MCP_CONFIRM": "${ENV_MESHTASTIC_MCP_CONFIRM}", "MESHTASTIC_MCP_DATA_DIR": "${ENV_MESHTASTIC_MCP_DATA_DIR}", "MESHTASTIC_UI_CAMERA_DEVICE": "${ENV_MESHTASTIC_UI_CAMERA_DEVICE}", "MESHTASTIC_UHUBCTL_LOCATION_TESTER": "${ENV_MESHTASTIC_UHUBCTL_LOCATION_TESTER}", "MESHTASTIC_PIO_BIN": "${ENV_MESHTASTIC_PIO_BIN}", "MESHTASTIC_ANDROID_ROOT": "${ENV_MESHTASTIC_ANDROID_ROOT}", "MESHTASTIC_APPLE_ROOT": "${ENV_MESHTASTIC_APPLE_ROOT}" } } }, "setup": { "fields": [ { "id": "ENV_MESHTASTIC_FIRMWARE_ROOT", "label": "MESHTASTIC_FIRMWARE_ROOT", "description": "Path to a Meshtastic firmware checkout. Optional — enables the firmware capability (build/flash/boards/userprefs). Core device/admin/recorder tools work without it.", "required": false, "secret": false, "default": "" }, { "id": "ENV_MESHTASTIC_MCP_TCP_HOST", "label": "MESHTASTIC_MCP_TCP_HOST", "description": "host[:port] of a meshtasticd TCP node to surface in list_devices (default port 4403).", "required": false, "secret": false, "default": "" }, { "id": "ENV_MESHTASTIC_MCP_TOOLSETS", "label": "MESHTASTIC_MCP_TOOLSETS", "description": "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_MESHTASTIC_MCP_READ_ONLY", "label": "MESHTASTIC_MCP_READ_ONLY", "description": "Set to 1 to hide every tool that can change device or host state.", "required": false, "secret": false, "default": "" }, { "id": "ENV_MESHTASTIC_MCP_CONFIRM", "label": "MESHTASTIC_MCP_CONFIRM", "description": "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 passed.", "required": false, "secret": false, "default": "agent" }, { "id": "ENV_MESHTASTIC_MCP_DATA_DIR", "label": "MESHTASTIC_MCP_DATA_DIR", "description": "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_MESHTASTIC_UI_CAMERA_DEVICE", "label": "MESHTASTIC_UI_CAMERA_DEVICE", "description": "Camera device index or path for capture_screen (default: 0). Role-specific overrides: MESHTASTIC_UI_CAMERA_DEVICE_TESTER, _DUT, etc.", "required": false, "secret": false, "default": "" }, { "id": "ENV_MESHTASTIC_UHUBCTL_LOCATION_TESTER", "label": "MESHTASTIC_UHUBCTL_LOCATION_TESTER", "description": "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_MESHTASTIC_PIO_BIN", "label": "MESHTASTIC_PIO_BIN", "description": "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_MESHTASTIC_ANDROID_ROOT", "label": "MESHTASTIC_ANDROID_ROOT", "description": "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_MESHTASTIC_APPLE_ROOT", "label": "MESHTASTIC_APPLE_ROOT", "description": "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.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Python 与 uv / uvx" ] }, "provenance": { "registryServer": "io.github.meshtastic/meshtastic-mcp", "registryVersion": "0.4.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.meshtastic%2Fmeshtastic-mcp/versions/0.4.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "pypi", "identifier": "meshtastic-mcp", "version": "0.4.0", "wheelSha256": "616aa65c75ab3b5bef1b3bb2ea3f9c88ce68ac1e2edc9356ad7e409c7e0546a7", "registryNameMatched": "io.github.meshtastic/meshtastic-mcp", "checkedAt": "2026-11-18T08:20:13.831Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }