Learning resourcesReviewed · OpenAI

Model Context Protocol

This Model Context Protocol (MCP) guide explains how ChatGPT users and Codex developers can connect ChatGPT or Codex to tools and information in other systems, but setup depends on the client, authentication and workspace permissions. It covers building a Sites-hosted plugin, connecting existing servers, configuring tool access and handling OAuth.

Researched 12 Nov 2026

In short.

This documentation guide helps teams and developers connect ChatGPT or Codex to other systems, but web plugins and local server connections require different setup. It combines a beginner-friendly ticket lookup example with detailed transport, authentication and configuration guidance. Successful connections, runtime compatibility, performance and total costs are not established by the documentation alone.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied page at [https://learn.chatgpt.com/docs/extend/mcp.md], including Sites plugins, GPT custom-action rebuilding, client differences, local and cloud execution caveats, transport configuration, OAuth, plugin manifests, troubleshooting and named server examples. Linked pages, repository and package contents, and the linked image asset itself are excluded. All behavior is documentation-based; runtime success, performance, access enforcement and total cost remain unassessed or unknown.

The overview

identity

Model Context Protocol is an OpenAI documentation page at [https://learn.chatgpt.com/docs/extend/mcp.md]. It explains how MCP servers expose tools and information to ChatGPT and Codex.

The page covers two routes: creating a plugin with Plugin Creator and Sites, or connecting an existing MCP server. Its scope includes ChatGPT web, the ChatGPT desktop app, Codex CLI and the IDE extension.

assessment

The guide is useful for deciding which connection route fits an existing tool or internal system. It explains the access requirements behind a simple plugin workflow and provides configuration details for developers maintaining servers.

Several implementation tasks, including building a server on another host and broader authentication setup, refer to separate guides. Those linked pages are outside the available evidence. End-to-end usability and successful deployment remain unassessed.

users

Team members with API documentation can follow the Plugin Creator route to describe a connection in ordinary language. Developers can use the command-line and configuration sections to connect existing local or remote servers.

Workspace administrators and system owners also have a role: they may need to enable publishing permissions, approve API access or resolve authentication. People without access to the underlying system will need that access arranged before a working integration is possible.

capabilities

For servers configured on a Codex host, the page documents STDIO connections, which start a server process, and Streamable HTTP connections, which contact a server address. Authentication options include bearer tokens, OAuth and ChatGPT session authentication for trusted first-party servers.

Configuration covers tool allow and deny lists, startup and tool timeouts, required-server readiness, approval behavior and per-tool output budgets. The guide also covers plugin sharing, updates, rebuilding GPT custom actions and troubleshooting. Hosted plugin tools can have different capabilities from directly configured servers.

Using it

requirements

The Sites route needs access to Plugin Creator and Sites, the system's API documentation and an approved connection method. Sites handles sign-in between ChatGPT and the MCP server; the server separately needs access to the system's API.

In Enterprise, the page identifies Use plugins and Sites access, plus Upload plugins and Create plugins with MCPs for the Site owner publishing the plugin. It says the two MCP publishing permissions are off by default. The Site owner must publish.

Shared use requires access to the plugin, its app and the Site, with at least viewer access to the Site. Each teammate installs and connects using their own account. A direct server connection requires a working server command or URL and any necessary credentials; minimum client and runtime versions are not specified.

mechanism

An MCP server describes its tools, receives requests, calls the connected system and returns results for the assistant to use. The ticket illustration shows this path through a ticketing system. The API connection controls which records and actions the server can access.

Codex also reads the server's initialization instructions as guidance across its tools. For HTTP authentication, configured credentials can take precedence over credentials supplied by a local header helper. Helper headers are cached; after certain same-origin 401 or 403 responses, Codex refreshes them once and retries only when values change.

OAuth registration can use Client ID Metadata Documents, Dynamic Client Registration or a configured client ID. Callback selection depends on client settings and authorization-server metadata. Returned issuer values are validated, and an issuer mismatch rejects the response before code exchange.

setup

For a new Sites plugin, the documented sequence is to attach API documentation to a Work task with Plugin Creator, describe the desired tools, arrange the API connection, have the Site owner publish, then install and connect the plugin. Sample data is an option while API access is being arranged.

For direct connections, Codex stores server settings in ~/.codex/config.toml or a project-scoped .codex/config.toml in a trusted project. The desktop app, CLI and IDE extension share configuration on the same Codex host. Desktop and IDE setup screens accept a server command or URL and require a restart after saving.

The CLI supports adding servers, listing connections and starting OAuth login. A no-browser login option prints an authorization URL and accepts the full redirect URL afterward. Pre-registered OAuth clients must register the exact callback printed by the CLI; a port written in the callback URL does not itself configure the listener port.

example

The main example is a read-only Support Ticket Lookup plugin. Its requested fields are ticket status, owner and latest update, retrieved by ticket number. After publication and connection, the user selects the plugin with @ in a new Work task and asks for a ticket's status.

For an existing documentation server, the page gives the command codex mcp add context7 -- npx -y @upstash/context7-mcp. This is a documented setup example. Neither the command nor the ticket lookup was executed, and no returned result is established.

Assessment & evidence

limitations

ChatGPT web uses remote MCP tools through plugins and does not read local Codex configuration files or expose the local Codex command menu. A remote server alone does not make a plugin web-compatible; plugins marked Desktop only require a supported desktop app or packaging changes.

Continuing a conversation using Local computer access with Work Cloud on another device does not install plugins or grant access to connected accounts. Local servers and transports may be unavailable in the cloud. Local HTTP header helpers are not supported for connections made through a remote execution environment.

GPT custom actions require rebuilding as a new plugin. Publishing through Sites creates a separate plugin, and Sites plugins do not currently support editing skills or reference files.

For enterprise cloud orchestration, the page describes supported admin-defined MCP hooks on the coordinator. Command hooks and hooks from local configuration or plugins are unsupported there, consumers lack hooks support in this feature, and MCP hooks do not provide a complete Compliance API audit trail.

reasoning

The documented client differences make the intended working environment the first decision. A team using ChatGPT web needs the plugin route, while developers using a Codex host can configure an existing server directly. Shared configuration applies to clients on that host; it does not establish access from every device or cloud environment.

Tool configuration and upstream authorization solve different problems. Allow and deny lists control exposed tools, while the API connection determines accessible records and actions. Because the writes approval mode relies on whether tools are marked read-only, that setting alone cannot establish that the underlying API is incapable of changes.

alternatives

Before building a custom connection, the page suggests checking the Plugins directory at [https://chatgpt.com/plugins]. It also offers connecting an existing server as an alternative to creating one.

Named examples include OpenAI Docs MCP and Context7 for documentation, Figma servers for design access, Playwright and Chrome Developer Tools for browser work, Sentry for logs, and GitHub for repository-related operations. These are examples for different tasks; comparative reliability, pricing, licenses and compatibility are not established.

evidence

The source is the complete documentation page at [https://learn.chatgpt.com/docs/extend/mcp.md]. It contains explanations, commands, configuration fragments, permission requirements and an illustrative ticket workflow.

These support statements about the documented setup and behavior. No software, server, plugin, authentication flow, hook or publishing step was executed. The contents of linked guides, repositories and packages are outside the available evidence.

Access & freshness

costs

Total cost is unknown. The page does not specify required subscription pricing, Sites hosting charges, connected API fees, infrastructure costs or billing conditions.

It describes Context7 as a free MCP server for developer documentation. That statement does not establish that ChatGPT or Codex access, every server, or the complete integration is free.

rights

The supplied page does not state a documentation redistribution license or license terms for the named server implementations. Rights to redistribute the page, package contents or connected system data are therefore unknown.

The documented sharing permissions concern access to plugins, apps, Sites and records. They do not establish ownership or redistribution rights over information returned by an API.

freshness

The source capture is dated 12 November 2026 at 23:22:30.421 UTC. Its source revision is sha256:faf9407740483f7ee27ac4d0db08a9d15510b3d241251edc9d00cf7b35c29e3b.

The supplied page does not establish its publication date, last-update date or a minimum supported client version. Behavior after the capture and compatibility with a particular installed release are unknown.

actions

Choose the intended client first, then check for an existing plugin or server. For a custom connection, gather API documentation, identify the Site owner if using Sites, and arrange the approved authentication method without putting secrets in chat.

Use a narrowly defined lookup such as the ticket example to check returned fields and record access before depending on the connection. For shared use, check a teammate's plugin, app, Site and record access separately.

For OAuth, register the exact callback shown by the CLI rather than copying an illustrative URL. For connection failures, check publication, installation, connection status and sign-in; if tools are available but unused, select the plugin with @ and request a specific lookup.

Evidence for this report

selected-page.txtselected · checked 2026-11-12