Proxy service for OpenAI API-compatible access to Cursor editor's AI
Top 98.0% on sourcepulse
This project provides a proxy service that transforms the AI capabilities of the Cursor editor into an OpenAI-compatible API. It allows users to leverage Cursor's AI features within other applications, targeting developers and researchers who wish to integrate advanced AI functionalities into their existing workflows.
How It Works
The service acts as a middleware, intercepting requests intended for OpenAI and forwarding them to Cursor's backend. It then translates Cursor's responses back into the OpenAI API format. This approach enables seamless integration by adhering to the widely adopted OpenAI API specification, simplifying the process of utilizing Cursor's AI models.
Quick Start & Requirements
docker run -d --name cursor-api -e x-cursor-checksum=xxxxxx -p 3000:3000 zhx47/cursor-api:latest
WorkosCursorSessionToken
obtained from browser developer tools (F12 -> Application -> Cookies).Highlighted Details
WorkosCursorSessionToken
.cursorToApi
project.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is intended for learning and research purposes and users must adhere to Cursor's terms of service. The WorkosCursorSessionToken
must be kept confidential.
1 month ago
Inactive