1
Add the server
--global to add Spiral to the current project only. No header and no client ID or secret: opencode
registers itself with Spiral.2
Sign in
/mcps starts the same sign-in.3
Check it
4
Try a starter prompt
With an API key instead
With an API key instead
Create a key in the console under API keys, keep it in
SPIRAL_API_KEY, and
put this in opencode.json:Or use the Spiral CLI
Or use the Spiral CLI
spiral, signs you in through the browser and adds Spiral’s skill for opencode (~/.agents/skills),
so the agent can also run spiral commands in the terminal. It needs Node.js 22.12 or later.