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.
| Setting | Value |
|---|---|
| Catalog ID | openai-docs |
| Endpoint | https://developers.openai.com/mcp |
| Transport | Streamable HTTP (Remote) |
| Authentication | None (public, zero-config) |
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.
graph LR
User["👤 User"] --> Agent["🤖 PraisonAI Agent"]
Agent --> Docs["📖 OpenAI Docs MCP<br/>developers.openai.com/mcp"]
Docs --> Result["✅ Verified API Specs"]
classDef input fill:#6366F1,stroke:#7C90A0,color:#fff
classDef agent fill:#8B0000,stroke:#7C90A0,color:#fff
classDef ok fill:#10B981,stroke:#7C90A0,color:#fff
class User input
class Agent agent
class Docs,Result okHow 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).
sequenceDiagram
participant User
participant CLI as praisonai CLI
participant OAI as OpenAI Docs MCP
participant Agent as PraisonAI Agent
User->>CLI: praisonai connectors add openai-docs
User->>CLI: praisonai connectors test openai-docs
CLI->>OAI: initialize and tools/list
OAI-->>CLI: OK with docs search tools
User->>Agent: Ask for current API parameters
Agent->>OAI: Search and fetch official docs pages
OAI-->>Agent: Current API reference content
Agent-->>User: Up-to-date code and explanationStep-by-Step Setup
- Install PraisonAI with MCP support
bash pip install "praisonai[mcp]" - Add OpenAI Docs (no sign-in needed)
CLI (1 Command)
bash praisonai connectors add openai-docsPraisonAI Dashboard
Enable catalog connectors in your PraisonAIUI
config.yaml:yaml mcp: enabled: true allow: catalog: trueRun
praisonai dashboard, open Connectors / MCP, and click Connect on OpenAI Docs. - Verify with a live handshake
bash praisonai connectors test openai-docs - 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
| Symptom | Cause | Fix |
|---|---|---|
| Connection timeout | Slow network or proxy | Increase timeout: MCP("https://developers.openai.com/mcp", timeout=60) |
praisonai connectors add says praisonai-code required | Only standalone praisonai-mcp installed | Run 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.