OpenAI Docs Connector

Connect PraisonAI agents to official OpenAI developer documentation with zero authentication

Connect your PraisonAI agents to OpenAI’s official developer documentation MCP server with zero authentication — look up current Responses API parameters, model capabilities, Realtime API specs, and SDK examples live instead of relying on stale training data.

SettingValue
Catalog IDopenai-docs
Endpointhttps://developers.openai.com/mcp
TransportStreamable HTTP (Remote)
AuthenticationNone (public, zero-config)
python
from praisonaiagents import Agent, MCP

agent = Agent(
    name="API Reference Helper",
    instructions="Verify OpenAI API parameters against live official documentation before answering.",
    tools=MCP("https://developers.openai.com/mcp"),
)

agent.start("Look up the latest Responses API structured output parameters in OpenAI Docs")

The user asks for up-to-date OpenAI API syntax; PraisonAI queries OpenAI’s official docs server directly over HTTPS and returns verified documentation.

Diagram

👤 User

🤖 PraisonAI Agent

📖 OpenAI Docs MCP
developers.openai.com/mcp

✅ Verified API Specs


How It Works

https://developers.openai.com/mcp is a public, read-only Streamable HTTP MCP server. No OAuth login or separate docs API key is required (you only need your agent’s usual LLM key).

Diagram
PraisonAI AgentOpenAI Docs MCPpraisonai CLIUserPraisonAI AgentOpenAI Docs MCPpraisonai CLIUserpraisonai connectors add openai-docspraisonai connectors test openai-docsinitialize and tools/listOK with docs search toolsAsk for current API parametersSearch and fetch official docs pagesCurrent API reference contentUp-to-date code and explanation

Step-by-Step Setup

  1. Install PraisonAI with MCP support
    bash
    pip install "praisonai[mcp]"
  2. Add OpenAI Docs (no sign-in needed)

    CLI (1 Command)

    bash
    praisonai connectors add openai-docs

    PraisonAI Dashboard

    Enable catalog connectors in your PraisonAIUI config.yaml:

    yaml
    mcp:
      enabled: true
      allow:
        catalog: true

    Run praisonai dashboard, open Connectors / MCP, and click Connect on OpenAI Docs.

  3. Verify with a live handshake
    bash
    praisonai connectors test openai-docs
  4. Use in your coding agent
    python
    from praisonaiagents import Agent, MCP
    
    agent = Agent(
        name="SDK Advisor",
        instructions="Always cite the official OpenAI documentation page when answering API questions.",
        tools=MCP("https://developers.openai.com/mcp"),
    )
    
    agent.start("What are the current supported audio voices and formats in the OpenAI Audio API?")

Common Workflows

  • Prevent API Hallucinations: "Verify the exact tool-calling schema in the Responses API before generating Python code."
  • Migration Checks: "Check OpenAI Docs for the recommended migration path from Assistants API to Responses API."

Troubleshooting

SymptomCauseFix
Connection timeoutSlow network or proxyIncrease timeout: MCP("https://developers.openai.com/mcp", timeout=60)
praisonai connectors add says praisonai-code requiredOnly standalone praisonai-mcp installedRun pip install "praisonai[mcp]"

Best Practices

Use for coding agents so generated API code stays current

Attach MCP("https://developers.openai.com/mcp") to code-generation agents so they look up real parameter names and model IDs instead of guessing.

Combine with DeepWiki for full-stack research

Add both openai-docs and DeepWiki for zero-auth documentation lookup across OpenAI APIs and open-source repositories.

Works with any LLM provider

Even though it queries OpenAI’s documentation, your PraisonAI agent can use any LLM (Anthropic Claude, Google Gemini, Ollama, etc.) to read and summarize the docs.


Related