1. Check if the `mcp__openaiDeveloperDocs__*` tools are available by running `codex mcp list` and checking for `openaiDeveloperDocs`.
2. If MCP tools are available, use `mcp__openaiDeveloperDocs__search_openai_docs` to search for relevant documentation.
3. Select the best URL from the search results.
4. Use `mcp__openaiDeveloperDocs__fetch_openai_doc` to retrieve the exact markdown content of the selected documentation page (optionally with an `anchor`).
5. If endpoint schemas or parameters are needed, use `mcp__openaiDeveloperDocs__get_openapi_spec` or `mcp__openaiDeveloperDocs__list_api_endpoints`.
6. Base the answer on the fetched text and quote or paraphrase it precisely.
7. If MCP is not configured, provide the CLI command or config file snippet for setup and ask the user to restart the Codex session.