AI agents (MCP)
Stoaken is an MCP server. Agents read your tokens, export them and propose changes, and every change still waits for a person to approve it.
Connect
The quickest way is npx stoaken init in your project: it signs you in and writes a skill file Claude Code reads. To add the server by hand, use an API key from Settings > API keys:
Terminal
claude mcp add --transport http stoaken https://stoaken.com/mcp --header "Authorization: Bearer $STOAKEN_API_KEY"The agent acts as you: it sees only the Brands you can see, with your role on each.
Tools
| Tool | What it does | Changes things? |
|---|---|---|
list_brands | The Brands you can see, with your role on each. | No |
get_theme_tokens | A theme's tokens as stored. | No |
get_resolved_theme_tokens | Tokens as a release would publish them, for any mode. | No |
list_deprecated_tokens | What is deprecated, its replacement, and what still uses it. | No |
list_releases | A theme's releases, their status and what changed. | No |
export_tokens | A live release as CSS, SCSS, Tailwind, Swift, Android or JSON, ready to commit. | No |
list_webhooks | A Brand's webhooks, their health and latest deliveries. | No |
create_webhook | Add a webhook (the secret is returned once). | Settings |
update_webhook | Change or re-enable a webhook. | Settings |
rotate_webhook_secret | New signing secret; the old one signs for 24 hours. | Settings |
ping_webhook | Send a signed test event. | Settings |
create_theme | Create a theme from token sets, optionally copying modes. | Settings |
update_theme | Rename a theme or change its sets. | Settings |
delete_theme | Delete a theme that was never released. | Settings |
propose_token_change | Edit a token set and submit it for review. | Proposes a release for review |
propose_token_edits | Set, add, rename or delete tokens (or a whole group) and submit for review. | Proposes a release for review |
propose_token_deprecation | Deprecate a token, reviewed like any other change. | Proposes a release for review |
There is no tool that approves or publishes a release. Proposals land in the Command Center for a person to review, exactly as if you had made the change in the app.
Example prompts
- "Which tokens are deprecated in the Default theme, and what still uses them?"
- "Export the Default theme as Tailwind 4 and update src/theme.css."
- "Propose raising spacing.lg to 24px as a minor release."
- "Create a webhook on the Acme Brand for release.published to https://example.com/hooks."
Limits
Changes through MCP count towards a per-key write limit, and on the Free plan agents are read only (they can still read and export).