Cursor Composer 2.5 API for Local AI Harnesses
Put Composer behind every coding agent.
An unofficial CLI that exposes Cursor Composer 2.5 through one local OpenAI-compatible API.
>_PowerShell
PowerShell 7.6.3
PS C:\Users\user>
PS C:\Users\user>
PS C:\Users\user>
PS C:\Users\user>
PS C:\Users\user>
PS C:\Users\user>
composer-2.5
For deeper agent runs where quality matters more than response speed.
composer-2.5-fast
For tight edit loops, quick planning passes, and interactive agent sessions.
Base URL: http://127.0.0.1:6903/v1 · API key: cursor-local
Allowed where agents can point at a local API.
Each supported client can point at the same local OpenAI-compatible endpoint.
Codex
Pi
Kilo Code
Aider
VS Code
One endpoint
Keep each agent pointed at the same localhost URL instead of hand-editing every client when ports or models change.
Composer models
Expose composer-2.5 and composer-2.5-fast through OpenAI-compatible and Anthropic-compatible request shapes.
Windows daemon
Run the bridge in the background with daemon controls, health checks, logs, and update commands.
Bundled bridge
Ship cursor-api.exe beside the bundled Node bridge needed for local Cursor SDK calls.
Drop it into the tools you already use.
Configure your agent client with a local base URL, the literal key, and either Composer model name.
Windows-native control plane.
Settings live in AppData, the API key is encrypted, and updates preserve local configuration.
API key
cursor-local
Base URL
http://127.0.0.1:6903/v1
Models
composer-2.5 / composer-2.5-fast
Encrypted key
%APPDATA%\cursor-api\api-key.enc
Daemon state
%APPDATA%\cursor-api\run\
Logs
%APPDATA%\cursor-api\logs\