KAZE

Documentation / Agents and the API

Connecting each tool

Claude Code, Codex, Cursor, Copilot, Gemini, Windsurf, Grok and cloud agents.

Every builder gets the same access, the same hard rules and the same Skills. Only how it is plugged in differs. Settings, Agent keys walks through each one with the key filled in.

Coding tools on your machine

They run the Kaze MCP server with npx -y kaze-mcp and read the Kaze Skills that npx kaze-init installs.

ToolAdd KazeWhere it reads the Skills
Claude Codeclaude mcp add kaze --env KAZE_URL=… --env KAZE_API_KEY=… -- npx -y kaze-mcp.claude/skills, plus /kaze-next and /kaze-status
OpenAI Codexcodex mcp add kaze --env KAZE_URL=… --env KAZE_API_KEY=… -- npx -y kaze-mcp, or ~/.codex/config.tomlAGENTS.md
Cursor.cursor/mcp.json under mcpServers.cursor/rules and AGENTS.md
GitHub Copilot (VS Code, Agent mode).vscode/mcp.json under servers, with the key asked for as an input.github/copilot-instructions.md and AGENTS.md
Gemini CLI.gemini/settings.json under mcpServersGEMINI.md
Windsurf~/.codeium/windsurf/mcp_config.json under mcpServersAGENTS.md

npx kaze-init --url https://your-kaze-api writes the settings for each tool it finds in the repository, reading the key from KAZE_API_KEY so it is never written to a file, and prints the command for Codex and Windsurf, which keep settings in your home folder.

Cloud agents and bots

Grok, ChatGPT, Claude.ai, n8n and other agents that run in the cloud use the remote MCP server. Nothing is installed.

SettingValue
Address{KAZE_URL}/mcp (MCP over Streamable HTTP)
HeaderAuthorization: Bearer kz_…

The server answers initialize, tools/list and tools/call, sends its own instructions (read the team first, follow the hard rules, only take queued work, ask in Kaze), and applies the same key scopes as the REST API. For function calling or GPT-style actions, use openapi.json.

The same rules for everyone

  • Read the team first: get_team gives context, hard rules, what done means and the pickup setting.
  • Only take work from the agent queue.
  • Ask in Kaze when access, a decision or a fact is missing.
  • Every write returns the item as it was saved. Check it, rather than assuming the change landed.
  • No key can sign off work, delete anything or change settings.