Cursor Composer for local agents

Use Composer 2.5 from any agent.

A Windows CLI that exposes Cursor Composer as a local OpenAI-compatible API for agent tools.

OpenCodeCodexVS Codecustom scripts
PowerShell
127.0.0.1:6903
$irm https://cursor-api-windows.mynameistito.com/install.ps1 | iex
$cursor-api key set
$cursor-api start
$cursor-api status
$cursor-api health
$cursor-api url
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: /v1 · API key: cursor-local
Agent-ready endpoint
Point OpenAI-compatible tools at localhost and keep your agent workflow intact.
Composer model names
Expose composer-2.5 and composer-2.5-fast through one local API surface.
Windows daemon
Run the server in the background with status, logs, health, and update commands.
Bundled bridge
Ship cursor-api.exe beside the 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.

Open setup guide

API key

cursor-local

Base URL

http://127.0.0.1:6903/v1

Models

composer-2.5 / composer-2.5-fast

Windows-native control plane.

The CLI stores settings in AppData, encrypts the API key, manages PID state, and preserves configuration during updates.

Encrypted key

%APPDATA%\\cursor-api\\api-key.enc

Daemon state

%APPDATA%\\cursor-api\\run\\

Logs

%APPDATA%\\cursor-api\\logs\\