CControxity Docs
GuidesReferenceHTTP APIOpen Controxity
How to

Use it from your AI tools

Let Claude Code, Cursor, Codex or another coding agent read what Controxity knows, over MCP, with a key of your own.

Your coding agent fixes code better with the evidence in front of it: where an error really happens, how often, on which versions, and what its error code means. The Controxity MCP server gives it exactly that, read-only.

What it can read#

ToolWhat the agent gets
list_productsThe products you see, each with its open problems, fixes ready, failing health checks and places down.
list_problemsA product's errors, most seen first, with the innermost frame and the error code in words.
get_problemOne problem: every frame (mapped back to your source), its code with what it means and what to do, places, platforms, versions, whether a fix shipped and where it runs.
list_fixes, get_fixFixes with the test that proves them, and the change as a git patch (for developers and up).
get_healthEach place, up or down, with its version and health checks, and each uptime check.
get_flagsA product's switches: each on or off in production and on staging, for what share, who set it, and how it's doing since it was turned on, or why it turned itself off.
explain_error_codeAny code Controxity knows: http-429, play-403, ECONNREFUSED, 23505…

It can't run the fixer, approve, deploy, turn a switch on or off, or change anything. It sees what you see on the page: a product you're not on doesn't exist for it.

1. Make a key#

Your account → Keys for your AI tools → Make a key. Name it after the tool and the machine ("Claude Code on my laptop"). The key (agt_…) is shown once.

Never put an agt_ key in a repository. It reads what you can read. Revoke it on the same page if it's ever seen.

2. Get the server#

It's one file with no dependencies. It needs Node.js 18 or newer.

curl -fsSL https://your-controxity/sdk/mcp.js -o ~/.controxity-mcp.js

3. Add it to your tool#

claude mcp add controxity --scope user \
  -e CONTROXITY_URL=https://your-controxity \
  -e CONTROXITY_KEY=agt_... \
  -- node ~/.controxity-mcp.js

Cursor keeps this in ~/.cursor/mcp.json. Windsurf, Codex and other tools that speak MCP over stdio take the same command and environment.

Check the key works:

CONTROXITY_URL=https://your-controxity CONTROXITY_KEY=agt_... node ~/.controxity-mcp.js --check

It lists the products the key sees.

4. Ask#

The agent finds the problem, reads its frames, and works in your own checkout as it always does. What it changes reaches your users the way your team ships: Controxity sees the new version arrive and closes the problem when it's running.

On record#

Each time a tool reads a fix's change, it's in the Activity record, under your name and the key's. A key stops working when it's revoked, when you leave the company, or when you can no longer sign in. An admin can revoke anyone's key.

Controxity 1.132.0These pages are in the repository: docs/site