SKILL.md
$2a
Workflow
- Discover:
searchwith a focused query. If unsure, uselistto browse.
- Read:
fetchthe most relevant URL (optionally add an anchor).
- Apply: summarize and/or quote relevant sections; include the URL.
Script reference
The CLI wrapper is at scripts/openai-docs-mcp.sh and uses curl + jq against https://developers.openai.com/mcp.
Subcommands:
init: initialize and inspect server capabilities.
tools: list available tools on the MCP server.
search <query> [limit] [cursor]: return JSON hits from the docs index.
list [limit] [cursor]: browse docs index.
fetch <url> [anchor]: return markdown for a doc page or section.
endpoints: list OpenAPI endpoints.
openapi <endpoint-url> [lang1,lang2] [code-only]: fetch OpenAPI schema or code samples.
Environment:
MCP_URL: override the default MCP endpoint.