Balena MCP by usefulapi

Read applications, devices, health and releases; rename devices and set notes in Balena.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
89%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,615Tokens (tool definitions)
~1005 BTypical response size
Moderate attention impact (1.26% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "balena": {
      "url": "https://balena.usefulapi.io/mcp"
    }
  }
}

Remote endpoints

https://balena.usefulapi.io/mcpstreamable-http

What it can do

Tool inventory

Tools (10)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢balena_get_current_user

Return the Balena user that the configured API key belongs to. Use it to confirm which account the tools act for. Balena API: GET /user/v1/whoami.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢balena_list_applications(organization, limit, skip)

List the applications (fleets) the key can access, optionally only those in one organization (by handle). Each row has id, app_name, slug and the device type. Returns { d: [...] }. Balena API: GET /v7/application.

Input Schema

{
  "type": "object",
  "properties": {
    "organization": {
      "description": "Organization handle to filter by, for example acme.",
      "type": "string"
    },
    "limit": {
      "description": "Maximum rows to return (OData $top).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 500
    },
    "skip": {
      "description": "Rows to skip, for paging (OData $skip).",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢balena_get_application(application)

Get one application by numeric id or by slug (org/app), with the devices it owns (expanded). Balena API: GET /v7/application(<id>) or GET /v7/application?$filter=slug eq '<slug>'.

Input Schema

{
  "type": "object",
  "properties": {
    "application": {
      "type": "string",
      "minLength": 1,
      "description": "Application id (number) or slug in org/app form, for example acme/my-app."
    }
  },
  "required": [
    "application"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢balena_list_devices(application, online, limit, skip)

List devices, optionally only those in one application and/or only online or offline devices. Returns id, uuid, device_name, is_online, overall_status, status, last_connectivity_event and version fields. Balena API: GET /v7/device.

Input Schema

{
  "type": "object",
  "properties": {
    "application": {
      "description": "Application id or slug to list devices for.",
      "type": "string",
      "minLength": 1
    },
    "online": {
      "description": "true = only online devices, false = only offline devices.",
      "type": "boolean"
    },
    "limit": {
      "description": "Maximum rows to return (OData $top).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 500
    },
    "skip": {
      "description": "Rows to skip, for paging (OData $skip).",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢balena_get_device(uuid, id)

Get one device by uuid or numeric id, with its application expanded. Balena API: GET /v7/device(uuid='<uuid>')?$expand=belongs_to__application or GET /v7/device(<id>).

Input Schema

{
  "type": "object",
  "properties": {
    "uuid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]+$",
      "description": "Device uuid."
    },
    "id": {
      "description": "Numeric device id, if no uuid is given.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢balena_get_device_health(uuid, id)

Get one device's online state, overall_status, last connectivity event, CPU, memory and storage figures. Balena API: GET /v7/device(uuid='<uuid>')?$select=....

Input Schema

{
  "type": "object",
  "properties": {
    "uuid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]+$",
      "description": "Device uuid."
    },
    "id": {
      "description": "Numeric device id, if no uuid is given.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢balena_list_releases(application, commit, limit, skip)

List the releases (builds) of one application, optionally only the release with one commit hash. Returns id, commit, raw_version, status and is_invalidated. Balena API: GET /v7/release.

Input Schema

{
  "type": "object",
  "properties": {
    "application": {
      "type": "string",
      "minLength": 1,
      "description": "Application id (number) or slug in org/app form, for example acme/my-app."
    },
    "commit": {
      "description": "Only the release with this commit hash.",
      "type": "string",
      "pattern": "^[0-9a-f]{7,40}$"
    },
    "limit": {
      "description": "Maximum rows to return (OData $top).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 500
    },
    "skip": {
      "description": "Rows to skip, for paging (OData $skip).",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "application"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢balena_get_release(release_id)

Get one release by its numeric id. Balena API: GET /v7/release(<id>).

Input Schema

{
  "type": "object",
  "properties": {
    "release_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Release id (from balena_list_releases)."
    }
  },
  "required": [
    "release_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡balena_rename_device(uuid, device_name)

Set the display name of one device. It changes only the name; it does not touch the running software. Balena API: PATCH /v7/device(uuid='<uuid>') with { device_name }.

Input Schema

{
  "type": "object",
  "properties": {
    "uuid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]+$",
      "description": "Device uuid."
    },
    "device_name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The new device name."
    }
  },
  "required": [
    "uuid",
    "device_name"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡balena_add_device_note(uuid, note)

Replace the free-text note on one device, for example an owner or a location reminder. It does not touch the running software. Balena API: PATCH /v7/device(uuid='<uuid>') with { note }.

Input Schema

{
  "type": "object",
  "properties": {
    "uuid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]+$",
      "description": "Device uuid."
    },
    "note": {
      "type": "string",
      "maxLength": 5000,
      "description": "The new note text (replaces the old note)."
    }
  },
  "required": [
    "uuid",
    "note"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded10 tools