MCP servers in ChatGPT:how to connect one
Updated · 5 min read
ChatGPT connects to outside systems through MCP. You can connect your own server just for yourself or your company, publish it in the directory for everyone, or call it through the OpenAI API. Here is what each route looks like in October 2026.
Three routes
- A custom MCP server in ChatGPT: you or your company see it, and your admins vet it. OpenAI doesn't review it.
- A plugin in the Plugin Directory: reviewed by OpenAI, and any ChatGPT user can find it.
- The OpenAI API and Codex: an MCP server as a tool in your own app, agent or development work.
Plugins, apps and MCP
On July 9, 2026, the ChatGPT app directory was replaced by the Plugin Directory. A plugin is a package that can hold apps, skills and templates. An app is still the connection layer, with an MCP server underneath. Existing app connections keep working unchanged.
You can connect the same MCP server to Claude as a connector. The comparison is in MCP server vs ChatGPT plugin vs Claude connector.
How to add a custom MCP server
A separate developer mode is no longer needed. You add the server straight from the plugin list:
- Go to chatgpt.com/plugins, click + and choose Add custom MCP server.
- Enter a name and, optionally, a description.
- Under Connection, enter the server's public HTTPS URL, usually ending in /mcp, or choose Tunnel for a server without a public address.
- Set up sign-in: OAuth or none.
- Tick I understand and want to continue, click Create as a plugin and review the tools ChatGPT found.
Plans and permissions
- Business, Enterprise and Edu: full MCP, including tools that change things. Web only for now, not in the mobile app.
- Pro: custom servers with read-only access.
- OpenAI's help pages don't mention the Free and Plus plans in this context.
- Business: only admins and owners create and publish servers in the workspace. Enterprise and Edu: admins can grant the Create plugins with MCPs permission to chosen people and decide which groups see each plugin.
- Enterprise and Edu admins can switch individual server actions on and off.
- ChatGPT stores the tool list as it was when published. Changes on the server only apply after a refresh and republish, and new actions start switched off.
Technical requirements
- Streamable HTTP transport on a public HTTPS address.
- A local (stdio) server can only be connected through OpenAI's Secure MCP Tunnel or after you expose it at an HTTPS address.
- Sign-in: OAuth 2.1 with PKCE (S256), with client registration through CIMD (preferred) or DCR, or no sign-in. API keys, client credentials and service accounts aren't supported. Details in OAuth for MCP servers.
- The offline_access scope, so ChatGPT can refresh tokens without signing the user in again.
- The readOnlyHint, destructiveHint and openWorldHint tool annotations. ChatGPT uses them to decide when to ask for confirmation, but they don't replace permission checks on the server.
- Search and fetch tools are no longer required.
Security and confirmations
- For every new server ChatGPT warns about the risks, prompt injection included, and asks you to confirm.
- An admin enabling an app that changes data gets an extra warning. Some very risky actions ChatGPT simply blocks.
- Deep research uses custom servers for reading only.
- Before you connect company systems, go through our security checklist.
MCP in the OpenAI API
In the Responses API you pass an MCP server as a tool of type mcp. The model fetches the tool list itself and calls tools while it answers:
- server_label and server_url point to the server, and allowed_tools narrows the tool list.
- require_approval: "always", "never" or a list of tools that may run without approval. An approval request arrives as mcp_approval_request.
- authorization carries the OAuth token. The API doesn't store it, so you send it with every request. Extra headers go in headers.
- You pay only for the tokens used to load tool definitions and make calls, with no fee per call.
- Ready-made connectors through connector_id (Gmail, Google Drive, SharePoint and others) are marked legacy and don't work with models released after September 1, 2026.
- The Agents SDK for Python has HostedMCPTool, MCPServerStreamableHttp and MCPServerStdio. MCPServerSse is deprecated.
Codex
Codex in the terminal and in the editor shares one configuration in ~/.codex/config.toml, in a [mcp_servers.<name>] table. A local server is described with command and args, a remote one with url and bearer_token_env_var. Add a server with codex mcp add and sign in with codex mcp login.
Official MCP servers and the registry
The official MCP Registry (registry.modelcontextprotocol.io) is a central metadata store for public MCP servers. It's still in preview, holds only server descriptions (server.json) and verifies ownership through DNS or GitHub. It's mostly used by other directories. ChatGPT has its own Plugin Directory.
OpenAI also runs its own documentation server at https://developers.openai.com/mcp. It needs no sign-in and is read-only, which makes it a good first test.
When to publish in the directory
A custom server is enough when you or your team use it. If any customer should be able to find it, you need a plugin in the Plugin Directory. OpenAI then requires identity verification, a public domain, a test account without MFA, a justification for each tool's annotations and test cases, among other things. The full list is in How to get listed in ChatGPT and Claude.
- Can I connect an MCP server on the Plus plan?
- According to OpenAI's help pages, full MCP is on Business, Enterprise and Edu, and Pro gets read-only access. OpenAI doesn't mention Plus in this context. You can call the server through the API regardless of your ChatGPT plan, though.
- Does ChatGPT support local MCP servers?
- Not directly. You connect a local server through Secure MCP Tunnel or after exposing it at a public HTTPS address.
- Will the same server work in Claude?
- Yes, Claude connects to the same server as a connector. The sign-in details and limits differ, as described in [OAuth for MCP servers](/guides/mcp-server-oauth).
- MCP integration: your ERP, store and CRM in ChatGPT and Claude
- Aesthetic clinic websites in Poland
- Online booking for a private clinic
- An AI assistant for your clinic: what's allowed in 2026
- ChatGPT product feed: get your products into ChatGPT shopping
- Clinic advertising in Poland: what a website may say
- Your clinic in ChatGPT and Google
- Patients from abroad: a medical tourism website
- Claude connectors: what they are and how to add one
- How to connect WooCommerce to ChatGPT in 2026
- OAuth for MCP servers: sign-in in ChatGPT and Claude
- MCP Apps: interface in ChatGPT and Claude
- MCP server security: what to check before launch
- How to test an MCP server in ChatGPT and Claude
- MCP server or API? When you need both
- Hiring a software studio in Poland
- Your Shopify or WooCommerce store in ChatGPT
- What is an MCP server? Explained for online stores
- Claude connector for SaaS: what it takes
- How to sell in ChatGPT in 2026
- MCP server, ChatGPT plugin or Claude connector?
- How to get listed in ChatGPT and Claude
Need an MCP server for ChatGPT?
ChatGPT plugins