Koskamo

meshtastic-mcp

An MCP server plus bundled agent skills for AI tooling to discover, drive, observe, and test Meshtastic devices and companion apps over serial and TCP connections. It supports listing devices, checking firmware info, managing mesh nodes, and sending text messages.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

meshtastic-mcp logo, by meshtasticCommunity listingLocal stdioSource reviewed; not executedPublished by meshtastic
Vendor documentation

What you can do with it

  • Discover and list connected Meshtastic devices
  • Check device firmware and region information
  • Send text messages to mesh nodes
  • Observe device logs and node status

Source and maintenance

Community listingRegistry 0.3.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

meshtastic-mcp 0.3.0

pypi
meshtastic-mcp package definition
{
  "version": "0.3.0",
  "transport": "stdio",
  "identifier": "meshtastic-mcp",
  "registryType": "pypi",
  "environmentVariables": [
    {
      "name": "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."
    },
    {
      "name": "MESHTASTIC_MCP_TCP_HOST",
      "description": "host[:port] of a meshtasticd TCP node to surface in list_devices (default port 4403)."
    },
    {
      "name": "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."
    },
    {
      "name": "MESHTASTIC_MCP_READ_ONLY",
      "format": "boolean",
      "description": "Set to 1 to hide every tool that can change device or host state."
    },
    {
      "name": "MESHTASTIC_MCP_CONFIRM",
      "choices": [
        "agent",
        "human"
      ],
      "default": "agent",
      "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."
    },
    {
      "name": "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."
    },
    {
      "name": "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."
    },
    {
      "name": "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."
    },
    {
      "name": "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."
    },
    {
      "name": "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."
    },
    {
      "name": "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."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "meshtastic-mcp": {
      "command": "uvx",
      "args": [
        "meshtastic-mcp==0.3.0"
      ],
      "env": {
        "MESHTASTIC_FIRMWARE_ROOT": "<YOUR_MESHTASTIC_FIRMWARE_ROOT>",
        "MESHTASTIC_MCP_TCP_HOST": "<YOUR_MESHTASTIC_MCP_TCP_HOST>",
        "MESHTASTIC_MCP_TOOLSETS": "<YOUR_MESHTASTIC_MCP_TOOLSETS>",
        "MESHTASTIC_MCP_READ_ONLY": "<YOUR_MESHTASTIC_MCP_READ_ONLY>",
        "MESHTASTIC_MCP_CONFIRM": "<YOUR_MESHTASTIC_MCP_CONFIRM>",
        "MESHTASTIC_MCP_DATA_DIR": "<YOUR_MESHTASTIC_MCP_DATA_DIR>",
        "MESHTASTIC_UI_CAMERA_DEVICE": "<YOUR_MESHTASTIC_UI_CAMERA_DEVICE>",
        "MESHTASTIC_UHUBCTL_LOCATION_TESTER": "<YOUR_MESHTASTIC_UHUBCTL_LOCATION_TESTER>",
        "MESHTASTIC_PIO_BIN": "<YOUR_MESHTASTIC_PIO_BIN>",
        "MESHTASTIC_ANDROID_ROOT": "<YOUR_MESHTASTIC_ANDROID_ROOT>",
        "MESHTASTIC_APPLE_ROOT": "<YOUR_MESHTASTIC_APPLE_ROOT>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "meshtastic-mcp": {
      "command": "uvx",
      "args": [
        "meshtastic-mcp==0.3.0"
      ],
      "env": {
        "MESHTASTIC_FIRMWARE_ROOT": "<YOUR_MESHTASTIC_FIRMWARE_ROOT>",
        "MESHTASTIC_MCP_TCP_HOST": "<YOUR_MESHTASTIC_MCP_TCP_HOST>",
        "MESHTASTIC_MCP_TOOLSETS": "<YOUR_MESHTASTIC_MCP_TOOLSETS>",
        "MESHTASTIC_MCP_READ_ONLY": "<YOUR_MESHTASTIC_MCP_READ_ONLY>",
        "MESHTASTIC_MCP_CONFIRM": "<YOUR_MESHTASTIC_MCP_CONFIRM>",
        "MESHTASTIC_MCP_DATA_DIR": "<YOUR_MESHTASTIC_MCP_DATA_DIR>",
        "MESHTASTIC_UI_CAMERA_DEVICE": "<YOUR_MESHTASTIC_UI_CAMERA_DEVICE>",
        "MESHTASTIC_UHUBCTL_LOCATION_TESTER": "<YOUR_MESHTASTIC_UHUBCTL_LOCATION_TESTER>",
        "MESHTASTIC_PIO_BIN": "<YOUR_MESHTASTIC_PIO_BIN>",
        "MESHTASTIC_ANDROID_ROOT": "<YOUR_MESHTASTIC_ANDROID_ROOT>",
        "MESHTASTIC_APPLE_ROOT": "<YOUR_MESHTASTIC_APPLE_ROOT>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "meshtastic-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "meshtastic-mcp==0.3.0"
      ],
      "env": {
        "MESHTASTIC_FIRMWARE_ROOT": "<YOUR_MESHTASTIC_FIRMWARE_ROOT>",
        "MESHTASTIC_MCP_TCP_HOST": "<YOUR_MESHTASTIC_MCP_TCP_HOST>",
        "MESHTASTIC_MCP_TOOLSETS": "<YOUR_MESHTASTIC_MCP_TOOLSETS>",
        "MESHTASTIC_MCP_READ_ONLY": "<YOUR_MESHTASTIC_MCP_READ_ONLY>",
        "MESHTASTIC_MCP_CONFIRM": "<YOUR_MESHTASTIC_MCP_CONFIRM>",
        "MESHTASTIC_MCP_DATA_DIR": "<YOUR_MESHTASTIC_MCP_DATA_DIR>",
        "MESHTASTIC_UI_CAMERA_DEVICE": "<YOUR_MESHTASTIC_UI_CAMERA_DEVICE>",
        "MESHTASTIC_UHUBCTL_LOCATION_TESTER": "<YOUR_MESHTASTIC_UHUBCTL_LOCATION_TESTER>",
        "MESHTASTIC_PIO_BIN": "<YOUR_MESHTASTIC_PIO_BIN>",
        "MESHTASTIC_ANDROID_ROOT": "<YOUR_MESHTASTIC_ANDROID_ROOT>",
        "MESHTASTIC_APPLE_ROOT": "<YOUR_MESHTASTIC_APPLE_ROOT>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "meshtastic-mcp": {
      "command": "uvx",
      "args": [
        "meshtastic-mcp==0.3.0"
      ],
      "env": {
        "MESHTASTIC_FIRMWARE_ROOT": "<YOUR_MESHTASTIC_FIRMWARE_ROOT>",
        "MESHTASTIC_MCP_TCP_HOST": "<YOUR_MESHTASTIC_MCP_TCP_HOST>",
        "MESHTASTIC_MCP_TOOLSETS": "<YOUR_MESHTASTIC_MCP_TOOLSETS>",
        "MESHTASTIC_MCP_READ_ONLY": "<YOUR_MESHTASTIC_MCP_READ_ONLY>",
        "MESHTASTIC_MCP_CONFIRM": "<YOUR_MESHTASTIC_MCP_CONFIRM>",
        "MESHTASTIC_MCP_DATA_DIR": "<YOUR_MESHTASTIC_MCP_DATA_DIR>",
        "MESHTASTIC_UI_CAMERA_DEVICE": "<YOUR_MESHTASTIC_UI_CAMERA_DEVICE>",
        "MESHTASTIC_UHUBCTL_LOCATION_TESTER": "<YOUR_MESHTASTIC_UHUBCTL_LOCATION_TESTER>",
        "MESHTASTIC_PIO_BIN": "<YOUR_MESHTASTIC_PIO_BIN>",
        "MESHTASTIC_ANDROID_ROOT": "<YOUR_MESHTASTIC_ANDROID_ROOT>",
        "MESHTASTIC_APPLE_ROOT": "<YOUR_MESHTASTIC_APPLE_ROOT>"
      }
    }
  }
}

Let your agent find its tools

Find servers like meshtastic-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.