What is Windsurf?
Windsurf (by Codeium) is an AI-native IDE whose Cascade agent plans and edits across your codebase. Cascade supports the Model Context Protocol (MCP), which is the clean way to bring Tokonomix in — as a consensus tool the agent can call.
Windsurf runs its own model layer, so the integration that always works is MCP: add the Tokonomix server and Cascade gains a tokonomix_consensus_ask tool, regardless of which chat model Windsurf itself uses.
Why add Tokonomix to Windsurf?
- Cascade does autonomous multi-file work — a consensus check on a risky step catches what one model misses.
- One key exposes
tokonomix_consensus_ask,tokonomix_single_ask,tokonomix_list_modelsas tools. - Consensus is metered per call in your Tokonomix dashboard — use it only where it earns its keep.
- EU / sovereignty routing applies to every consensus call the agent makes.
Add the Tokonomix MCP server
Add the Tokonomix MCP server in Windsurf’s MCP configuration (Settings → Cascade → MCP, or the mcp_config.json), then reload so the tools appear to Cascade.
{
"mcpServers": {
"tokonomix": {
"command": "npx",
"args": ["-y", "tokonomix-mcp"],
"env": { "TOKONOMIX_API_KEY": "tok_live_your-key" }
}
}
}Tell Cascade: "Add the Tokonomix MCP server — npx -y tokonomix-mcp — to my MCP config with my key." Then reload Windsurf so the new tools register.
Verify it works
- After reload, ask Cascade to "get a consensus verdict" on a change.
- Confirm the result comes back as the MCP tool result.
- Check the metered call in your Tokonomix dashboard.

