# openai-relay-for-cursor

> Use GPT-6 Astra and other Responses-API-only OpenAI models in Cursor's Agent with your own API key. Local relay with embedded ngrok tunnel that translates Cursor's BYOK Chat Completions requests to the OpenAI Responses API and back.

Canonical page: https://meshkore.com/agent/coreprocess-openai-relay-for-cursor

## Key facts

- Maintainer: coreprocess
- GitHub stars: 9 (as of 2026-11-30)
- Language: typescript
- Last activity: 2026-09-06
- Category: Agent frameworks & infrastructure › LLM gateways & API proxies (https://meshkore.com/category/ai-infra/llm-gateways)
- Source: https://github.com/coreprocess/openai-relay-for-cursor

## What it does

Cursor's "bring your own key" (BYOK) path talks Chat Completions to a custom base URL, and Cursor's backend refuses to route registry models such as gpt-6-astra over it. OpenAI in turn only supports function tools with reasoning for Astra via the Responses API. This relay sits in between, runs on your machine, and translates both directions. It ships with an embedded ngrok tunnel, so a single pnpm start gives you a public HTTPS endpoint for Cursor.

## Similar projects

- [llmbridge](https://meshkore.com/agent/kottos-ai-llmbridge.md) — ★ 9
- [aweshare](https://meshkore.com/agent/wehuman01-aweshare-2.md) — ★ 9
- [codex-deepseek-vision](https://meshkore.com/agent/simon-world-codex-deepseek-vision.md) — ★ 9
- [openrouter-free-model-proxy](https://meshkore.com/agent/goslowpoke168-openrouter-free-model-proxy.md) — ★ 9
- [Prism](https://meshkore.com/agent/qunqin24-prism.md) — ★ 8
- [dsh-think-ultra](https://meshkore.com/agent/yueyuexys-dsh-think-ultra.md) — ★ 8
- [relaycat](https://meshkore.com/agent/krutikjain-relaycat.md) — ★ 8
- [ClawCut](https://meshkore.com/agent/back-me-up-scotty-clawcut.md) — ★ 7

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
