openai-docs
OpenAI Docs
Use the Cursor-configured OpenAI Docs MCP server at https://developers.openai.com/mcp?source=cursor first for current OpenAI developer guidance.
API key setup
For model and prompt migrations, missing credentials block only the live call. They do not block requested migration source or configuration edits, documentation retrieval, or offline, mocked, static, fixture-based, or syntax validation. For other requests to build, run, configure, debug, or implement API-backed functionality, use openai-platform-api-key first when available.
For model migration or prompting-guidance requests, retrieve the relevant current guidance before any live-call credential check. Continue with requested source edits and offline validation when no API key is available; skip only validation that actually sends a live API request, and say that it was skipped.
Model guidance routing
Classify the model request before inspecting the project or checking credentials:
- Dynamic target: For latest, current, newest, recommended, default, flagship, or otherwise unspecified model selection, prompting, or migration, fetch
https://developers.openai.com/api/docs/guides/latest-model.md. Read itslatestModelInfometadata. For migrations or prompting guidance, resolve the exactmigrationGuideandpromptingGuidepaths againsthttps://developers.openai.comand fetch those exact URLs. Treat the metadata values as opaque; do not derive or substitute another route. - Explicit target: Preserve the requested model and fetch
https://developers.openai.com/api/docs/guides/latest-model?model=<requested-model>. For example, usehttps://developers.openai.com/api/docs/guides/latest-model?model=gpt-5.6for GPT-5.6 andhttps://developers.openai.com/api/docs/guides/latest-model?model=gpt-5.3-codexforgpt-5.3-codex. Do not replace the explicit target with the current model.
If an exact URL is unavailable or lacks substantive content, retry it once through Docs MCP, then run a compact Docs MCP search for that exact model or page. If necessary, fall back only to official OpenAI domains such as developers.openai.com and platform.openai.com. Do not widen to Slack, internal docs, private repositories, or historical launch artifacts.