Local first
The server runs on your Mac, so agent tools keep working against your real project files instead of a hosted sandbox.
OpenCode
VS Code
Cline
API for Cursor is an open source native MacOS app that leverages Cursor's Agent SDK to produce a standard OpenAI compatible API. Import Composer 2.5, Grok 4.5, and other Cursor models into OpenCode, Codex, or your own harness with a single click.
91 - Star the repo
The server runs on your Mac, so agent tools keep working against your real project files instead of a hosted sandbox.
Chat Completions, Responses, and Models endpoints are exposed at a standard local /v1 base URL.
Configure Composer 2.5, Grok 4.5, and other Cursor models for OpenCode, Codex, VS Code, Cline, Kilo Code, and pi from a single Agent Setup panel.
Works where agents already run
Start the local API, then wire Composer 2.5, Grok 4.5, and other Cursor
models into the agents you already use. Each one keeps its own shell loop and your
real project files — only the model route points at 127.0.0.1.
Composer & Grok models ready
Custom provider ready
Model metadata ready
Provider profile ready
Provider profile ready
Custom models ready
OpenAI-compatible
/v1 surface.Point any OpenAI-compatible client at the local base URL and the familiar endpoints are right there — Models, Chat Completions, and Responses.
In your editor
Composer 2.5, Grok 4.5, and the Fast variants show up as normal models in OpenCode — while the agent keeps its local filesystem and shell tools. Same flow in Codex and any tool with a custom provider.
Download for macOS Free local appComing soon
Standard Agents is coming soon — a way to create domain-specific agents that can be distributed, composed, and run across different harnesses. Join the early access list to hear when it launches and get first access.
Hosted endpoints
The hosted API endpoints have moved into the local app. Your Cursor key stays on
your machine, and your agents connect to a normal OpenAI-compatible URL at
http://127.0.0.1:8787/v1.