Wak

Connect your AI agent

Give Cursor or Claude Code access to Wakoo's diagnostics through MCP, with a personal access token you control.

Your AI agent is good at writing the fix. Before a change runs, it can ask Wakoo to review it. Wakoo gives it the cause, with the evidence, the same every time, then checks that the fix held. The two meet through Wakoo's MCP server.

What the agent can and cannot do

  • It reads diagnostics: causes, evidence, ranked fixes.
  • With the follows:write scope, it can create or edit follow-ups (fixes Wakoo keeps re-checking).
  • It can never run a fix on your database through Wakoo. Wakoo is read-only on your databases, always. If the agent applies a fix, it does so with its own access, after your confirmation.

Personal access tokens

The agent authenticates with a personal access token. Create one at Account, Access tokens & MCP.

SettingOptions
WorkspaceThe token works on one workspace only
Scopesread (diagnostics) or follows:write (includes read)
Expiry30 days, 90 days (default), 1 year, or never

Good to know:

  • Tokens start with wk_pat_. The full value is shown once, at creation. Wakoo stores only a hash of it.
  • You get an email whenever a token is created on your account (name and prefix only).
  • Revoke a token at any time from the same page. Tokens are also revoked automatically when you leave or are removed from the workspace, or when the workspace is deleted.
  • A token cannot be used to create another token.
  • Limits: 50 active tokens per person, 10 new tokens per hour.

The wk_pat_ prefix and fixed length make leaked tokens easy for secret scanners to spot.

Set the token once

So the token never appears on screen or in your shell history, store it in an environment variable. Run this, then paste the token when asked:

read -rs WAKOO_TOKEN && export WAKOO_TOKEN

Claude Code

Add Wakoo once:

claude mcp add --transport http wakoo https://mcp.wakoo.ai/mcp --header "Authorization: Bearer $WAKOO_TOKEN"

Cursor

Add Wakoo to your project's .cursor/mcp.json:

{
  "mcpServers": {
    "wakoo": {
      "url": "https://mcp.wakoo.ai/mcp",
      "headers": { "Authorization": "Bearer ${env:WAKOO_TOKEN}" }
    }
  }
}

The token stays out of the file, so the file can go in git. Cursor reads the variable from the terminal it starts in: open Cursor from that same terminal, for example with cursor ..

The CLI

The wakoo CLI does not need a token copied by hand: wakoo login gets its own. See Install the client.

Later

Signing in to the MCP server without pasting a token (OAuth) is planned. Personal access tokens will keep working.

On this page