ChirpStack

v0.1.1
io.github.oliveres/chirpstack-mcp-server Checked 20 hours ago Published 3 months ago

Manage and live-debug LoRaWAN devices on a ChirpStack v4 network server over its gRPC API

Values you need

VariableWhat it is
CHIRPSTACK_SERVERrequired host:port of the ChirpStack API (the web-UI port, usually 8080)
CHIRPSTACK_API_KEYrequired secret ChirpStack API key (tenant or global admin)
CHIRPSTACK_TOOLSETSoptional Comma-separated toolsets to enable, or 'all' (default: devices,debug,applications,profiles,gateways)
CHIRPSTACK_TLSoptional Use TLS instead of plain h2c (default: false)

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add chirpstack-mcp-server -e 'CHIRPSTACK_API_KEY=<CHIRPSTACK_API_KEY>' -e 'CHIRPSTACK_SERVER=<CHIRPSTACK_SERVER>' -- uvx chirpstack-mcp-server==0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "chirpstack-mcp-server": {
      "args": [
        "chirpstack-mcp-server==0.1.1"
      ],
      "command": "uvx",
      "env": {
        "CHIRPSTACK_API_KEY": "<CHIRPSTACK_API_KEY>",
        "CHIRPSTACK_SERVER": "<CHIRPSTACK_SERVER>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "chirpstack-mcp-server": {
      "args": [
        "chirpstack-mcp-server==0.1.1"
      ],
      "command": "uvx",
      "env": {
        "CHIRPSTACK_API_KEY": "<CHIRPSTACK_API_KEY>",
        "CHIRPSTACK_SERVER": "<CHIRPSTACK_SERVER>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "CHIRPSTACK_API_KEY",
      "id": "chirpstack-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "CHIRPSTACK_SERVER",
      "id": "chirpstack-server",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "chirpstack-mcp-server": {
      "args": [
        "chirpstack-mcp-server==0.1.1"
      ],
      "command": "uvx",
      "env": {
        "CHIRPSTACK_API_KEY": "${input:chirpstack-api-key}",
        "CHIRPSTACK_SERVER": "${input:chirpstack-server}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.chirpstack-mcp-server]
command = "uvx"
args = ["chirpstack-mcp-server==0.1.1"]
env = { "CHIRPSTACK_API_KEY" = "<CHIRPSTACK_API_KEY>", "CHIRPSTACK_SERVER" = "<CHIRPSTACK_SERVER>" }

For AI agents

  1. Ask the user for: CHIRPSTACK_SERVER, CHIRPSTACK_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: device_list, device_get, device_create, device_update, device_delete, device_set_keys, device_activate, device_deactivate, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json