Skip to setup

Use Cursor in any CLI editor.

Cursor Bridge exposes your Cursor account through OpenAI and Anthropic compatible APIs. Create a key, pick your editor, paste the config.

Create a key at Cursor Dashboard > API Keys > Create

Now available

Your bots. One bridge.

Create persistent Grok Bots, message existing teammates, and follow their activity from an API or your browser.

Uses your own Cursor account and its access rules. Live updates carry transcript and status events, not token-by-token output.

Grok Bot through Cursor BridgeYour client connects to Cursor Bridge, which communicates with persistent Grok Bots and sends live state and transcript events back.YOURCLIENTCURSORBRIDGEBOT 01BOT 02BOT 03
CREATE / MESSAGE / WATCH

Bridge updates

Release notes ยท UTC
  1. Reliability

    Fewer hangs. Clearer model resolution.

    Bounded upstream append acknowledgements to 30 seconds and checked response-read failures. Optional internal-service-header rejections no longer invalidate healthy generation tokens. Added the exact dated Haiku 4.5 alias.

Previous updates
  1. Fix

    Structured JSON, without the fence error.

    Normalize a complete JSON code fence before schema validation. Invalid JSON, surrounding prose, and schema-invalid output still fail validation.

  2. Grok Bots

    Persistent teammates meet familiar interfaces.

    Added bot creation, listing, messaging, sessions, status, transcript history, interruption, and deletion under /v1/bots, plus the browser bot dashboard. Native Connect watch events are translated into SSE.

    Agent-side discovery can list bots and propose delegation. Automatic persistent-bot creation from a subagent turn and outgoing notification webhooks are not shipped.

  3. Fix

    Tool calls that report their outcome.

    Fixed silent tool-call failures.

This log covers verified bridge changes. Model availability, usage allowances, and bot access remain subject to your Cursor account and team settings.

Choose your editor

Config generator

Claude Code

Run Claude with Cursor Bridge as the Anthropic base URL.

One-liner
Terminal
ANTHROPIC_BASE_URL=https://cursorbridge.dev ANTHROPIC_AUTH_TOKEN=<your Cursor API key> claude

One account, familiar APIs.

Cursor Bridge is an unofficial compatibility service that translates OpenAI and Anthropic API formats for use with your own Cursor account. It supports streaming responses, tool calls, images, reasoning usage, and standard SDK integrations.

What is Cursor Bridge?

A translation layer for connecting Cursor to developer tools that accept custom OpenAI or Anthropic API endpoints.

Which tools work?

Configuration is provided for Claude Code, Codex CLI, opencode, Cline, Kilo Code, and standard OpenAI or Anthropic SDKs.

How do I authenticate?

Create an API key in the Cursor dashboard, then use it as the bearer token or API key in your client configuration.

Which API features are supported?

Cursor Bridge supports streaming responses, tool calling, image inputs, reasoning usage, and both OpenAI and Anthropic compatible request formats.