Skip to main content

Claude Code

Connect Claude Code to Cosmonic Desktop's built-in MCP server and it can inspect, deploy, and manage sandboxed workloads directly. This makes Cosmonic Desktop a sandbox for Claude Code: code the agent writes runs in a capability-driven WebAssembly sandbox instead of directly on your host. The easiest path is the Install in your AI client section under Settings → MCP Server, which detects Claude Code and registers the server for you. The manual equivalent (using the daemon binary's path on your platform—macOS shown):

claude mcp add --scope user cosmonic -- "/Applications/Cosmonic Desktop.app/Contents/Resources/cosmonicd" mcp serve
claude mcp get cosmonic   # confirm it shows as connected

What Claude Code can do once connected

Its full tool surface (observe, deploy, build) and the guardrails are covered in Connect Coding Agents; the tools work only while Cosmonic Desktop is running. Desktop can also install the cosmonic-sandbox skill for Claude Code from the first-run offer or Settings → Agent skills, which lands at ~/.claude/skills/cosmonic-sandbox/.

Next steps