standardagents

OpenAI-compatible API proxy for Cursor Composer

20
1
85% credibility
Found May 23, 2026 at 20 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

Composer API is a free, open-source service that lets you use Cursor Composer—the AI coding assistant built into the Cursor editor—as if it were a standard OpenAI-compatible AI service. You can connect your own Cursor account and use Composer with any AI-powered tool, or use the built-in chat page. Your Cursor API key is passed directly to Cursor and is never stored. The service handles translating between standard AI formats and Cursor's internal format, supports streaming responses, and even converts Cursor's tool-calling into standard function calls that your tools can understand.

How It Works

1
💭 You want AI that understands your code

You've been using Cursor Composer to work on your projects, but you wish you could use it with your existing tools and workflows.

2
🔌 You find a way to connect everything

This project acts like a translator, letting any app that speaks the standard AI language talk directly to Cursor Composer.

3
🔑 You add your Cursor account

You enter your Cursor API key from the Cursor website. Your key goes straight to Cursor and is never stored anywhere else.

4
You choose how to chat
🌐
Use the web chat

Open the chat page in your browser, pick a model like Composer 2.5, and start asking questions right away.

🔧
Connect your existing tools

Point your AI app at the service URL and use Cursor Composer just like you would use any other AI assistant.

5
🤖 Cursor Composer springs into action

Behind the scenes, your request travels to Cursor Composer, which reads your files, runs commands, and thinks through your problem.

6
💬 You get clear, streaming responses

Watch the answer appear word by word. If you asked for code changes, you see the exact commands Composer wants to run.

🎉 Your project comes together

Cursor Composer helps you build, fix, and improve your code while your favorite tools handle the conversation. Everything just works.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 20 to 20 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 composer-api?

Composer API is a TypeScript-based API proxy that exposes Cursor Composer as a standard OpenAI-compatible endpoint. It translates OpenAI-style requests into the format Cursor accepts, letting you use Cursor's AI capabilities through any OpenAI-compatible client or SDK. The proxy runs as a Cloudflare Worker and supports both `/v1/chat/completions` and `/v1/responses` endpoints with full streaming support.

Why is it gaining traction?

The key hook is simple: Cursor doesn't expose Composer as a raw API endpoint, but developers want to use it with standard tooling. This project fills that gap. You point your OpenAI SDK at the proxy, pass your Cursor API key as a bearer token, and get back standard responses. Tool calls from Composer are automatically translated into OpenAI-compatible `tool_calls` format. The direct bearer flow means nothing gets stored on the server -- your key goes straight to Cursor.

Who should use this?

Backend developers integrating AI into existing projects will find this most useful. If you want Cursor Composer powering your app but need standard OpenAI API patterns, this is your bridge. Teams using OpenCode or building custom AI interfaces that need session affinity will benefit from the dedicated OpenCode route. Frontend developers building chat UIs can also use the included browser interface. Early-stage project with limited stars, so evaluate carefully before production use.

Verdict

This solves a real problem for a specific niche -- developers who need Cursor Composer behind standard API patterns. The implementation is thoughtful (direct bearer flow, tool call translation, streaming) but the project is very new with only 20 stars and a credibility score of 0.85%. Test coverage looks solid, but monitor the repository for stability before betting on it for critical workloads.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.