Add the Tokonomix consensus MCP server to Cursor — step by step.
This guide shows how to add the Tokonomix consensus MCP server to Cursor so the AI assistant can call a multi-model council for review gates, security checks, and fact-checking.
tok_live_...) — obtain one from https://tokonomix.ainpx)Cmd+Shift+P /
Ctrl+Shift+P)Or edit ~/.cursor/mcp.json (global) or
.cursor/mcp.json (project-level) directly.
{
"mcpServers": {
"tokonomix": {
"command": "npx",
"args": ["tokonomix-mcp"],
"env": {
"TOKONOMIX_API_KEY": "tok_live_..."
}
}
}
}
Security note: prefer a project-level
.cursor/mcp.jsonso the key is not stored globally. Add.cursor/mcp.jsonto.gitignoreto avoid committing the key.
Open a Cursor chat. In the MCP panel (if visible) you should see
tokonomix with a green indicator. Alternatively, ask the
assistant:
List the tools available from the tokonomix MCP server.
Expected response: a list including
tokonomix_consensus_ask, tokonomix_single_ask,
etc.
@tokonomix Use tokonomix_consensus_ask to review this migration SQL for data-loss risks:
ALTER TABLE users DROP COLUMN legacy_id;
The assistant will call the tool, submit the SQL to a multi-model council, and present the synthesised verdict with any disagreements highlighted.
@tokonomix What is my Tokonomix credit balance?
@tokonomix List all models available via Tokonomix with their capabilities.
You can also configure Cursor to use the Tokonomix gateway as an OpenAI-compatible provider for its built-in model list. In Cursor Settings → Models → Add Model:
| Field | Value |
|---|---|
| Base URL | https://tokonomix.ai/api/v1 |
| API Key | tok_live_... |
This lets you pick any gateway-reachable model (e.g.
claude-sonnet-4-6, gpt-4o,
gemini-2.5-pro) directly from the Cursor model dropdown,
without separate provider keys.
Important: Cursor's built-in model picker is for chat only. For consensus, images, embeddings, and audio — use the MCP tools or write scripts that call the gateway directly.
| Symptom | Likely cause | Fix |
|---|---|---|
| Server shows as disconnected | npx not on PATH |
Run which npx in a terminal; install Node.js |
401 Unauthorized |
Wrong key | Check TOKONOMIX_API_KEY in mcp.json |
402 Payment Required |
Credit balance empty | Top up at https://tokonomix.ai |
| Tools not listed | Cursor version too old | Update Cursor; MCP requires recent version |
| Tool call times out | Long council response | Increase MCP timeout in Cursor settings |
Latest published version: 1.6.2 (npm:
tokonomix-council-mcp).
npx tokonomix-mcp --version
Registry metadata:
GET https://tokonomix.ai/.well-known/mcp/server.json