Balena MCP by usefulapi
Read applications, devices, health and releases; rename devices and set notes in Balena.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"balena": {
"url": "https://balena.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://balena.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (10)
🟢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.
입력 스키마
{
"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.
입력 스키마
{
"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>'.
입력 스키마
{
"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.
입력 스키마
{
"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>).
입력 스키마
{
"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=....
입력 스키마
{
"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.
입력 스키마
{
"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>).
입력 스키마
{
"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 }.
입력 스키마
{
"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 }.
입력 스키마
{
"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"
}커뮤니티
증거