Status: [LIVE] Endpoints found: https://developers.openai.com/api/docs/api-reference/chat https://cursor.com/docs/api/sdk/typescript https://developers.openai.com/api/docs/api-reference/responses Source: https://github.com/standardagents/composer-api # API for Cursor Local OpenAI-compatible `chat.completions` and `responses` endpoints backed by Cursor models (Composer 2.5, Grok 4.6, and more). Download site: https://api-for-cursor.standardagents.ai ## What this is Cursor does not expose Composer or other first-party models as a raw OpenAI-compatible model endpoint. API for Cursor now ships as a local macOS app that starts a localhost `/v1` server, stores the Cursor API key locally, and configures local agent tools. The hosted Worker routes remain in the repository for temporary compatibility while the local app rollout is verified. Cursor has asked us to take down the hosted API path, so the production release path is the signed macOS app. ## Supported endpoints - `POST /v1/chat/completions` - `POST /v1/responses` - `GET /v1/models` ## Models Primary local model ids: - `composer-2.5` - `composer-2.5-fast` - `grok-4.6` - `grok-4.6-fast` - `grok-4.5` - `grok-4.5-fast` ## Usage Install the macOS app from the DMG and start the local API. The default base URL is: ```txt http://127.0.0.1:8787/v1 ``` Point any OpenAI-compatible client at the local base URL and authenticate with any Bearer token your client requires. The app uses the Cursor API key stored locally in the app UI. ```ts import OpenAI from "openai"; const client = new OpenAI({ apiKey: "local", baseURL: "http://127.0.0.1:8787/v1" }); const completion = await client.chat.completions.create({ model: "composer-2.5", messages: [{ role: "user", content: "Write a TypeScript debounce." }] }); ``` ```bash curl http://127.0.0.1:8787/v1/chat/completions \ -H "Authorization: Bearer local" \ -H "Content-Type: application/json" \ -d '{"model":"composer-2.5","messages":[{"role":"user","content":"Hello"}]}' ``` A Cursor user API key comes from the Cursor Dashboard under Integrations. Enter it in the app; do not commit it to source control. ## macOS production release Release details live in [docs/production.md](docs/production.md). - Bui