Reference

Alternatives

Compare the main Cursor-to-OpenCode integration approaches and their trust boundaries.

Several community projects connect Cursor models to OpenCode. They use different protocols, authentication methods, and tool-execution boundaries. Choose by mechanism, not by name.

ProjectApproachAuthenticationMain trade-off
open-cursorWraps cursor-agent, with an optional official Cursor SDK fallbackExisting CLI login or Cursor API keyKeeps the supported CLI path, but translates a process stream into an OpenCode provider
stablekernel/opencode-cursorOfficial @cursor/sdk providerCursor API keyDirect SDK integration; its README warns that Cursor tools can run outside OpenCode permissions unless sandboxed
cursor-opencode-providerCursor Connect-RPC and protobuf providerBrowser OAuth or Cursor API keyRich native protocol mapping with a larger compatibility surface when Cursor changes its protocol
yet-another-opencode-cursor-authUnofficial Cursor service interfaceOAuthDynamic models and tool calls; the project labels itself experimental and warns about account and compatibility risk
opencode-cursor-authLocal cursor-agent-backed OpenAI-compatible serviceCursor subscription and CLI loginStraightforward local service; its README calls tool calling experimental and notes missing thinking and usage accounting
cursor-opencode-authStandalone OpenAI-compatible proxyCursor CLI token from macOS KeychainWorks with any compatible client, but currently requires macOS and a separately running proxy

The table reflects each project's own documentation as of July 2026. Check the linked repository before installing because activity, support, and protocol compatibility can change quickly.

Decision guide

Use this project when you already trust cursor-agent, want OpenCode's provider surface, and prefer the CLI to remain the default backend.

Consider the official SDK approach when API-key authentication and direct SDK model discovery are more important than CLI reuse. Read its security boundary carefully before allowing file or shell tools.

Consider a standalone proxy when another OpenAI-compatible client also needs the endpoint. That adds a service to operate and protect.

Treat reverse-engineered service or RPC integrations as compatibility work. They can expose capabilities earlier, but Cursor can change an undocumented contract without preserving it.

Whichever route you choose, verify:

  1. where credentials are stored;
  2. which process can mutate the workspace;
  3. whether OpenCode permissions cover those mutations;
  4. how model IDs are discovered;
  5. whether the project documents its failure and account-risk boundaries.

On this page