> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 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) |

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
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.

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
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 ok
```

***

## 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).

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
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 explanation
```

***

## Step-by-Step Setup

**1. Install PraisonAI with MCP support**

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
pip install "praisonai[mcp]"
```

**2. Add OpenAI Docs (no sign-in needed)**

> [tab] CLI (1 Command)
>
> ```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> praisonai connectors add openai-docs
> ```

> [tab] PraisonAI Dashboard
>
> Enable catalog connectors in your PraisonAIUI `config.yaml`:
>
> ```yaml theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
> 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 theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai connectors test openai-docs
```

**4. Use in your coding agent**

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
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

> [accordion] 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.

> [accordion] Combine with DeepWiki for full-stack research
>
> Add both `openai-docs` and [DeepWiki](https://praison.ai/docs/mcp/deepwiki.md) for zero-auth documentation lookup across OpenAI APIs and open-source repositories.

> [accordion] 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

> [card] [List of Connectors](https://praison.ai/docs/features/connectors-list.md)
>
> Browse all popular connectors and step-by-step guides

> [card] [DeepWiki Connector](https://praison.ai/docs/mcp/deepwiki.md)
>
> Zero-auth architecture lookup for any public GitHub repo

> [card] [OpenAI Model Provider](https://praison.ai/docs/models/openai.md)
>
> Configure OpenAI models in PraisonAI

> [card] [Remote MCP Connectors](https://praison.ai/docs/features/connectors.md)
>
> CLI commands, --manual sign-in, and Dashboard setup


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.