Skip to main content
Sensei runs are available as an MCP server. Add one address to Claude, Cursor or Codex, and you can say “run refund-requests on ticket 48213”, “approve it” or “that one was wrong” in chat.

Add the server

The address is on the dashboard: open Runs, click New run, then Run it from Claude, Cursor or code. It has this form:
How you sign in depends on the tool.
Add this to ~/.cursor/mcp.json:

What the chat tool can do

A finished run’s reply says which model served it when one of your routing rules sent its calls to a model on your own key. A long run outlives one chat reply. run_start returns after about 50 seconds with the run’s status and address, and the assistant can check it again with run_status.

What stays out of chat

Secrets do not go through chat. Connect a tool or a repository with the sensei command or on the dashboard, save a secret for your runs with sensei secrets set NAME, and never paste a token to a model. setting_set refuses a value that looks like a key or a token. Decisions stay with you. The server instructs the assistant to show you a waiting run’s action and reason and to ask for your answer. It is told not to answer for you. When a run finishes, the assistant is told to show the output, the evidence and what the run was not sure about as they are. To hand tasks off from a coding agent that has reached its limit, see Hand work off at your limit.