More and more teams use AI assistants and agents (Claude, Cursor, VS Code Copilot, etc.) for day-to-day fleet operations. The Model Context Protocol (MCP) has become the standard way to connect these tools to platforms. Datadog, Vercel, AWS, Figma, Notion and others already ship official MCP servers.
Request: an official, balena-maintained MCP server (hosted remote and/or local via npm/Docker) that wraps the balenaCloud API.
Useful capabilities:
- Read: list fleets, devices, releases and services; device status, online/offline state, OS and supervisor versions; device logs; env/config vars; tags
- Diagnostics: device health checks, recent errors, update/download progress
- Actions (opt-in, scoped): restart services, reboot, pin a device or fleet to a release, move a device between fleets, set env vars, enable public URLs
Why official rather than community:
- Security: proper auth (OAuth or scoped API keys, which ties in with the existing “Scoped API keys” request), a read-only mode, and audit logging of agent actions
- Kept in sync with API changes
- Trust: orgs (especially regulated ones) are reluctant to give fleet-wide tokens to third-party servers
Example prompts it would enable: “Which devices in fleet X went offline in the last 24h and what do their last logs say?” or “Pin the 3 test devices to release Y and tell me when they’ve updated.”
Would love to hear if others would use this. Please vote!