Agent onboarding · gateway setup guide

Tokonomix Gateway — Agent Onboarding Guides

How to wire a coding agent (Claude Code, Cursor, raw HTTP) to the Tokonomix gateway and consensus MCP.

Tokonomix Gateway — Agent Onboarding Guides

How to wire a coding agent (Claude Code, Cursor, raw HTTP) to the Tokonomix gateway and the tokonomix-council-mcp consensus server.

What you get

One API key, one base URL, two layers:

  1. Gateway (https://tokonomix.ai/api/v1) — OpenAI-compatible passthrough to 130+ models. Chat, embeddings, image generation, audio transcription — all from one endpoint.
  2. Consensus layer — same endpoint with "mode": "consensus" in the body, or via the tokonomix-council-mcp MCP server (npx tokonomix-mcp). Several models answer in parallel; an independent judge synthesises and flags where they disagree.

Guides

Framework Guide
Claude Code (MCP) claude-code.md
Cursor (MCP) cursor.md
Raw HTTP / OpenAI SDK raw-http.md

Key concepts

NPM packages

Package Registry Purpose
tokonomix-council-mcp npmjs.com MCP server exposing consensus + balance tools

Install: npm install -g tokonomix-council-mcp or use npx tokonomix-mcp (no global install needed).

GitHub repositories (public)

Repo URL
MCP server https://github.com/TokonoMix/tokonomix-council-mcp
Agents Never Sleep harness https://github.com/TokonoMix/agents-never-sleep

Registry metadata

The MCP server's capability manifest is available without auth:

GET https://tokonomix.ai/.well-known/mcp/server.json