# Set up Overdrive

Overdrive keeps coding agents on track: it stops runaway loops, enforces repo rules from .overdrive/control.json, and lets you Stop or Correct live runs from /app.
This Overdrive is the MCP server at mcp.useoverdrive.ai (site useoverdrive.ai). It is not overdrive.sh or any other product named Overdrive: use only the URLs on this page.
Overdrive is free during early access. There is no paid plan and no card to add.
If you are an agent setting it up for a user, find the section for the app you run in and do what it says.
The user signs in with their email and taps Allow. There is no API key, and you never ask for a password or secret in chat. Nothing on this page is secret.

- MCP server URL: https://mcp.useoverdrive.ai/mcp
- Page for people: https://mcp.useoverdrive.ai/connect

## Claude Code

1. Run this in a terminal. `claude plugin install overdrive --marketplace https://mcp.useoverdrive.ai/claude-plugin/marketplace.json`
2. Start a new Claude Code session, type /mcp, pick plugin:overdrive:overdrive (overdrive if you ran the skills line), and tap Allow in your browser.

What the stop guard reads, keeps and sends:

- Reads on this computer: Your agent's tool calls; your messages, to keep the decisions and rules you state, put them back after a compaction and offer to enforce a correction you keep repeating; the session transcript, to rebuild those decisions, and for the model's name and the context size; and the repo's .overdrive/control.json.
- Keeps on this computer: In ~/.overdrive, readable only by you: the decisions you stated (at most 24 lines per session, deleted 7 days after the session's last message); the sentence of a correction it is offering you as a rule (up to 200 characters, until your next message, never more than a day); corrections as salted word fingerprints, not words (45 days); and per session hashes and counts (a day).
- Sends to Overdrive: Counts and flags only: tool calls, code changes, commits, whether the last test passed, what it refused or warned about, and whether a command has run for over 30 seconds. Once this computer is linked to your account, also the repo's owner/name, the model's name, and a fingerprint of a correction you keep repeating (with how many times and a topic label). Never your messages, file contents, paths or commands.
- Turn it off: Pause it: create ~/.overdrive/stop-guard-off. Stop it reading your messages on this computer: say "Overdrive, stop reading my messages" or create ~/.overdrive/no-reading; to turn reading back on, delete that file (your agent can do it if you ask). For one repo: "read_messages": false in its .overdrive/control.json. For your account: the switch in /app (Settings), which reaches linked computers within a minute and turns back on only what it turned off. Turning reading off deletes the decisions it kept and drops corrections not yet sent. Remove it: python3 ~/.overdrive/stop-guard-hook.py uninstall.

Use gstack or other skills? Run this instead. It does the same, and adds /overdrive to Claude Code. `claude mcp add --scope user --transport http overdrive https://mcp.useoverdrive.ai/mcp --header "X-Overdrive-Source: skill-claude-code"; mkdir -p ~/.claude/skills/overdrive && curl -fsSL 'https://mcp.useoverdrive.ai/skill/SKILL.md?app=claude-code' -o ~/.claude/skills/overdrive/SKILL.md`

This adds Overdrive to every Claude Code session on this computer, signed in as one account: signing in again as another account moves all of them. For one project only, add --scope project and run it in that project's folder.

For agents: Run the command yourself. Claude Code loads servers when a session starts, so ask the user to start a new session (or restart Claude Code), type /mcp, pick plugin:overdrive:overdrive (overdrive after the skills line), and finish sign-in. If /mcp later shows it as needing authentication, they pick it and sign in again.

## Cursor

1. Add to Cursor: cursor://anysphere.cursor-deeplink/mcp/install?name=Overdrive&config=eyJ1cmwiOiJodHRwczovL21jcC51c2VvdmVyZHJpdmUuYWkvbWNwIn0=
2. Confirm the install. Your browser opens: tap Allow.

Stop guard: Run this too, so the stop guard works in Cursor: it refuses calls that break what you told the agent (and force pushes to main, --no-verify) and stops loops. It downloads the guard to ~/.overdrive/stop-guard-hook.py, checks its sha256 before running it (a file that doesn't match is deleted), then adds 8 entries to ~/.cursor/hooks.json and keeps everything else there. The Cursor app and Cursor CLI share that file, so run it once. `mkdir -p -m 700 ~/.overdrive && curl -fsSL https://mcp.useoverdrive.ai/hooks/v/b01bfd68f37afce3a932508df6c86ef08163a381a5b20699a7608869f8e869f3/stop-guard-hook.py -o ~/.overdrive/stop-guard-hook.py && python3 -c "import hashlib,os,sys;p=os.path.expanduser(sys.argv[1]);ok=hashlib.sha256(open(p,'rb').read()).hexdigest()==sys.argv[2];ok or (os.remove(p),print('Overdrive: the downloaded hook did not match its checksum, so it was not installed.',file=sys.stderr));sys.exit(0 if ok else 1)" ~/.overdrive/stop-guard-hook.py b01bfd68f37afce3a932508df6c86ef08163a381a5b20699a7608869f8e869f3 && python3 ~/.overdrive/stop-guard-hook.py install cursor`

What works in Cursor today: refusing bad calls works in Cursor's agent. Cursor CLI run with -p doesn't fire beforeSubmitPrompt or preCompact, so it doesn't keep your decisions or put them back after compaction there; interactive Cursor hasn't been tested for that yet. Cursor cloud agents run only a repo's own .cursor/hooks.json, so this doesn't reach them.

To check it worked, run this. It should print 8. `grep -c stop-guard-hook.py ~/.cursor/hooks.json`

To remove it, run this. It takes its entries out of ~/.cursor/hooks.json and deletes the decisions it kept on this computer. To pause it instead, create ~/.overdrive/stop-guard-off. `python3 ~/.overdrive/stop-guard-hook.py uninstall cursor`

What the stop guard reads, keeps and sends:

- Reads on this computer: Your agent's tool calls; your messages, to keep the decisions and rules you state, put them back after a compaction and offer to enforce a correction you keep repeating; the session transcript, to rebuild those decisions, and for the model's name and the context size; and the repo's .overdrive/control.json.
- Keeps on this computer: In ~/.overdrive, readable only by you: the decisions you stated (at most 24 lines per session, deleted 7 days after the session's last message); the sentence of a correction it is offering you as a rule (up to 200 characters, until your next message, never more than a day); corrections as salted word fingerprints, not words (45 days); and per session hashes and counts (a day).
- Sends to Overdrive: Counts and flags only: tool calls, code changes, commits, whether the last test passed, what it refused or warned about, and whether a command has run for over 30 seconds. Once this computer is linked to your account, also the repo's owner/name, the model's name, and a fingerprint of a correction you keep repeating (with how many times and a topic label). Never your messages, file contents, paths or commands.
- Turn it off: Pause it: create ~/.overdrive/stop-guard-off. Stop it reading your messages on this computer: say "Overdrive, stop reading my messages" or create ~/.overdrive/no-reading; to turn reading back on, delete that file (your agent can do it if you ask). For one repo: "read_messages": false in its .overdrive/control.json. For your account: the switch in /app (Settings), which reaches linked computers within a minute and turns back on only what it turned off. Turning reading off deletes the decisions it kept and drops corrections not yet sent. Remove it: python3 ~/.overdrive/stop-guard-hook.py uninstall.

Use skills? Run this instead, then type /overdrive in Cursor's agent chat. It adds Overdrive for you. `mkdir -p ~/.cursor/skills/overdrive && curl -fsSL 'https://mcp.useoverdrive.ai/skill/SKILL.md?app=cursor' -o ~/.cursor/skills/overdrive/SKILL.md`

Using Cursor CLI (cursor-agent)? It reads the same ~/.cursor/mcp.json: run cursor-agent mcp login overdrive and tap Allow.

For agents: Or add this to ~/.cursor/mcp.json: {"mcpServers": {"overdrive": {"url": "https://mcp.useoverdrive.ai/mcp"}}} Then the user clicks Connect next to Overdrive in Cursor's MCP settings (or in cursor-agent, run cursor-agent mcp login overdrive). The stop guard changes the user's ~/.cursor/hooks.json, so ask first: say what it changes and run its command only after their yes, word for word.

## When it's connected

1. Start a new Claude Code or Cursor session. Overdrive's stop guard records tasks automatically and enforces rules from `.overdrive/control.json`.
2. Open https://mcp.useoverdrive.ai/app to see Running now (with Stop and Correct), Rules, and Settings (Slack, GitHub, and linked computers).

Never open, print, or copy anything in ~/.overdrive.
