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#
| Tool | What the agent gets |
|---|---|
list_products | The products you see, each with its open problems, fixes ready, failing health checks and places down. |
list_problems | A product's errors, most seen first, with the innermost frame and the error code in words. |
get_problem | One 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_fix | Fixes with the test that proves them, and the change as a git patch (for developers and up). |
get_health | Each place, up or down, with its version and health checks, and each uptime check. |
get_flags | A 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_code | Any 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.
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.js3. 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{
"mcpServers": {
"controxity": {
"command": "node",
"args": ["/home/you/.controxity-mcp.js"],
"env": {"CONTROXITY_URL": "https://your-controxity", "CONTROXITY_KEY": "agt_..."}
}
}
}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 --checkIt lists the products the key sees.
4. Ask#
- "What's breaking in Basket right now?"
- "Fix the FetchError in shipping.js that Controxity reports. Write a test that fails the same way first."
- "Is the fix for the cart total running everywhere yet?"
- "What does play-403 mean, and what do I do?"
- "Put the new checkout behind a switch. Is new-checkout on in production yet, and how is it doing?"
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.