— cursor2api · macOS · universal
Your Cursor plan, served locally to any coding agent.
A native macOS app runs an OpenAI-compatible gateway at 127.0.0.1:8317. Point Claude Code, Codex, Zed, or any of nine harnesses at it. Nothing leaves your machine but the request you already meant to send.
- Local API
- Agent setup
- Models
- Rollback
- Settings
- GET/v1/models200
- POST/v1/chat/completions200
- POST/v1/messages200
- POST/v1/responses200
- Claude Codeinstalled
- Codexinstalled
- OpenCodeready
Nine harnesses. One click.
Every install rewrites the config file the agent expects, keeps a checksummed backup, and hands you a rollback if the probe call fails.
{
"env": {
"ANTHROPIC_API_KEY": "sk-ant-…",
"ANTHROPIC_BASE_URL": "https://api.anthropic.com"
}
}{
"env": {
"ANTHROPIC_API_KEY": "$CURSOR2API_KEY",
"ANTHROPIC_BASE_URL": "http://127.0.0.1:8317"
}
}The local /v1 surface.
An OpenAI-compatible listener, on your loopback. Any client that speaks the wire format talks to it as if it were the real thing. Streams pass through. Tool calls pass through. Costs stay yours.
- GET/v1/models
- POST/v1/chat/completions
- POST/v1/messages
- POST/v1/responses
# ANTHROPIC_BASE_URL, OPENAI_API_BASE — same host, both surfaces.
# Yes, that's just 127.0.0.1. We know.
$ curl http://127.0.0.1:8317/v1/models | jq '.data[0]'
{
"id": "composer-2.5",
"object": "model",
"owned_by": "cursor"
}Three moves. About five minutes.
Buy a CDK.
One code, up to two Macs. Transfer between machines from settings — no seat management, no re-purchase.
Activate on your Mac.
Paste the email and CDK into the app. Unlocks the full harness pack and the /v1 surface.
Connect any agent.
Pick a harness, hit Install. The config write is atomic and reversible; rollback is one click.
One CDK, two shapes.
Both one-time. No auto-renewal.
Claude Code stays free forever. Everything else lives behind one CDK. Pick the shape that matches how you use the app — freeze it at today's build, or roll with a year of updates.
- All nine harness patchers · Claude Code, Codex, OpenCode, Cline, Zed, Aider, Kilo Code, Continue, Crush
- Local API key generation, rotate any time
- Atomic writes, checksummed backups, one-click rollback
- Two Macs per CDK · transfer from settings
- Locked to the app version you bought — no future updates
- All nine harness patchers · Claude Code, Codex, OpenCode, Cline, Zed, Aider, Kilo Code, Continue, Crush
- Local API key generation, rotate any time
- Atomic writes, checksummed backups, one-click rollback
- Two Macs per CDK · transfer from settings
- One year of updates included
- Every new harness or model provider we ship during the year
- Priority for feature requests via email
— Claude Code stays free · no CDK required