conference logo

Playlist "Qubes OS Summit 2026"

Qubes MCP Server - Giving an AI agent Admin API access without giving it dom0

Alex Schose

AI agents are being handed real machine capability — spawn a VM, run a command as root, move a file — by tooling whose only boundary is a prompt. That is the wrong
layer to enforce anything. Qubes already has the primitives to make the boundary structural rather than behavioural.

qubes-mcp is an MCP server that gives an untrusted AI principal a tag-scoped slice of the Admin API. It can create, run, clone, network, and destroy qubes
carrying the ai-managed tag, and it cannot see, touch, or learn the existence of anything else. Every state-changing call goes through a small dom0 wrapper that enforces the invariants before qubesd is reached, and tagging stays in the operator's hands.

I'll walk the trust model, the parts of Qubes that made it work (qrexec @tag: selectors and where they stop, wrapped reads that hide existence, forced tagging on every create path), the four boundary breaks a self-audit found in code I had already shipped — almost all of them read surfaces, not policy — and the qubesd cache-invalidation bug this shook out, now fixed upstream.