Skip to main content

Add the server

Create .cursor/mcp.json in your project (or ~/.cursor/mcp.json for every project):
Reload Cursor, then check Settings → MCPklio should be listed with ten tools.
A project-level .cursor/mcp.json contains your API key. Add it to .gitignore, or keep the config in ~/.cursor/mcp.json instead so the key never sits in the repo.

Set X-Vex-Agent differently per tool

Use cursor here and claude-code in Claude Code. That difference is the whole point of the header — it lets you see, later, which agent left which decision, and it makes scope: "agent" meaningful.

Make recall reflexive

Add a rule in .cursor/rules/klio.mdc:

Proving it works with Claude Code

The point of a shared workplace is that it does not matter which agent shows up. Worth testing once:
1

Decide in one, ask in the other

Have Claude Code record a decision with decide. Then start a fresh Cursor session and ask the same question in your own words.
2

Cursor should answer with the rationale

It calls recall, finds the decision Claude Code wrote, and answers — including why. You never re-explained it.
If that works, both agents are on the same org and the handover is live.

Troubleshooting

Almost always the key. Cursor surfaces little detail, so test the endpoint directly — a wrong or revoked key returns 401:
Different keys mean different orgs, and orgs never share. Confirm both use the same key — and that one is not passing a space the other omits.