taxue2016

CursorGateway 是一个 Cursor API 协议网关,将 Cursor 编辑器的 AI 能力(Claude、GPT-4 等)通过标准的 OpenAI / Anthropic 兼容 API 暴露出来,支持完整的 Agent 模式(工具调用)和多客户端适配。

15
0
89% credibility
Found Mar 05, 2026 at 15 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
JavaScript
AI Summary

CursorGateway is a local server that lets apps use Cursor AI's advanced coding agent through familiar chat APIs.

How It Works

1
👀 Discover CursorGateway

You hear about a simple way to bring powerful AI coding help into any app you use.

2
💻 Get it running

Download and start the helper service on your computer with a quick launch.

3
🔑 Link your account

Sign in once using your familiar AI coding app details so it knows who you are.

4
🔗 Point your app here

Tell your favorite coding tools or apps to talk to this local helper instead.

5
💬 Chat like magic

Ask the AI anything about your code, and it reads files, runs commands, and fixes things automatically.

6
🛠️ Watch it work

The AI grabs what it needs from your project and suggests perfect changes.

🎉 Your coding supercharged

Now every app feels smarter with pro-level AI help right at your fingertips.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 15 to 15 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is CursorGateway?

CursorGateway is a JavaScript gateway that exposes Cursor editor's AI agent capabilities—like Claude and GPT-4 models with full tool calling for file ops, shell execution, and web search—via standard OpenAI and Anthropic API endpoints. Developers run a local Node.js server, authenticate with a Cursor token, and point any compatible client to localhost:3010 for chat completions, messages, or legacy completions. It solves the problem of Cursor's proprietary protobuf agent protocol by translating it into familiar REST APIs, enabling agent workflows without custom integrations.

Why is it gaining traction?

It stands out by supporting bidirectional agent flows and multi-client adaptation, letting tools like Claude Code CLI or opencode use Cursor's powerful workspace-aware agents through drop-in OpenAI/Anthropic APIs—no protocol reverse-engineering needed. The hook is seamless tool calling: clients get native file edits, grep, and shell exec without Cursor's IDE lock-in, plus MCP passthrough for custom agents.

Who should use this?

Agent builders integrating Cursor's Claude smarts into CLI tools, custom IDEs, or automation scripts. Ideal for backend devs prototyping file/shell agents, or frontend teams embedding AI codegen via OpenAI SDKs without rebuilding Cursor's protocol handling.

Verdict

Grab it if you need Cursor agents in standard APIs—works for niche agent hacks despite 15 stars and 0.9% credibility signaling early-stage maturity. Polish docs and add more client presets to boost adoption; solid for tinkerers today.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.