---
title: "ChatGPT MCP: how to connect servers on web and desktop"
description: "On chatgpt.com, remote MCP servers go in as custom plugins (full MCP on Business and Enterprise). The desktop app runs local servers from Codex's config.toml."
url: https://getsharpy.com/blog/chatgpt-mcp
---

- [Sharpy](https://getsharpy.com/)
- Blog

# ChatGPT MCP: how to connect servers on web and desktop

On chatgpt.com, remote MCP servers go in as custom plugins (full MCP on Business and Enterprise). The desktop app runs local servers from Codex's config.toml.

17 November 2026 · 6 min read · By Sharpy

ChatGPT supports MCP in two places, and they work differently. On chatgpt.com you add a remote MCP server as a custom plugin: **Plugins**, the plus button, **Add custom MCP server**, then a public HTTPS URL or an OpenAI Secure MCP Tunnel. Full read-and-write MCP there is for Business and Enterprise/Edu workspaces, and Pro gets read and fetch only. The ChatGPT desktop app also runs local stdio servers, from **Settings → MCP servers** or `~/.codex/config.toml`, a file it shares with the Codex CLI and the IDE extension.

These facts come from OpenAI’s developer docs, ChatGPT docs and Help Center as they read on 16 November 2026, and OpenAI changes this area every few weeks. Most guides still tell you to switch on Developer mode first; the current Plugins flow doesn’t need it.

## Where ChatGPT supports MCP today

| Where | What it connects to | How you add it | Who can, per OpenAI (16 Nov 2026) |
| --- | --- | --- | --- |
| chatgpt.com | Remote servers over SSE or streaming HTTP: a public HTTPS URL or a Secure MCP Tunnel | Plugins → + → Add custom MCP server | Full MCP: Business, Enterprise/Edu. Pro: read and fetch only |
| ChatGPT mobile | Plugins already on your account | Custom servers can’t be added | n/a |
| ChatGPT desktop app | Local stdio servers and streamable HTTP servers | Settings → MCP servers, or config.toml | MCP listed for Plus, Pro, Business, Enterprise/Edu |
| Codex CLI and IDE extension | Same as the desktop app, same file | codex mcp add or config.toml | Same, plus API-key sign-in |

## How to add an MCP server to ChatGPT on the web

The server has to answer over public HTTPS, usually at a `/mcp` path, or sit behind a Secure MCP Tunnel. In a Business workspace only admins and owners can create these plugins. In Enterprise/Edu, admins give members the **Create plugins with MCPs** permission through role-based access control.

- Open `chatgpt.com/plugins`.

- Select the plus button, then **Add custom MCP server**.

- Enter a name and, if you want, a description.

- Under **Connection**, paste the server URL including the `/mcp` path, or select **Tunnel** and pick a tunnel.

- Choose authentication: **OAuth**, **No authentication**, or **OAuth or no authentication**.

- Read the risk warning and tick **I understand and want to continue**.

- Select **Create as a plugin** and check the tools ChatGPT discovered.

- Install the plugin, start a new conversation, type `@` and pick it.

ChatGPT treats every tool without the `readOnlyHint` annotation as a write and asks before running it. You can remember an approval for the rest of one conversation; a new conversation, or a refresh of the same one, asks again. Expand any tool call to see its full JSON input and output, which shows what a server returned when a call goes wrong.

Two things catch workspaces after launch. Once an admin publishes a server, ChatGPT keeps a frozen snapshot of its tools, so a changed tool schema on the server can make calls fail until an admin refreshes the actions in workspace settings. And nobody gets told: per the Help Center, the error doesn’t prompt an update and admins aren’t notified.

The older path, **Settings → Apps → Create**, still exists as the Help Center’s “legacy custom app configuration”. You don’t need it for a new server.

## Local MCP servers and chatgpt.com

Not directly from the web. The Help Center’s answer is that ChatGPT connects to remote servers, and for one on a private network or a developer machine you use OpenAI’s Secure MCP Tunnel. You run `tunnel-client` next to your server. It makes outbound HTTPS calls to `api.openai.com:443`, pulls queued MCP requests and passes them to your server over stdio or HTTP. No inbound port is opened.

You need a `tunnel_id` from the tunnel settings in the OpenAI Platform and a runtime API key. For a local stdio server, OpenAI’s guide gives:

```
export CONTROL_PLANE_API_KEY="sk-..."
tunnel-client init \
--sample sample_mcp_stdio_local \
--profile local-stdio \
--tunnel-id tunnel_0123456789abcdef0123456789abcdef \
--mcp-command "python /path/to/server.py"
tunnel-client doctor --profile local-stdio --explain
tunnel-client run --profile local-stdio
```

Keep `tunnel-client run` going while you use the plugin, then choose **Tunnel** in step 4 above. If the tunnel doesn’t show up, it is probably tied only to a Platform organization: it also has to be associated with your ChatGPT workspace. Default limits are 600 MCP requests a minute, 10 MiB per request or response, and 120 seconds per request, queue time included.

For one person on one computer, the desktop app is the shorter road.

## How to add an MCP server in the ChatGPT desktop app

The desktop app for macOS, Windows and Linux includes Codex, and Codex runs MCP servers on your machine, including stdio servers that start from a command.

- Open **Settings**, then **MCP servers**.

- Select **Add server**.

- Enter a name, choose **STDIO** or **Streamable HTTP**, and give the command or the URL.

- Save, then select **Restart**.

- For a server that uses OAuth, select **Authenticate** next to it in the list.

Type `/mcp` in the composer to see which servers are connected. These servers work in threads that run on your computer. ChatGPT on the web doesn’t read local Codex config files, and OpenAI warns that local MCP servers may not be available to Work tasks running in the cloud.

## Codex config.toml for ChatGPT MCP servers

The app saves servers to `~/.codex/config.toml`. The Codex CLI and the IDE extension read the same file, so a server added in one shows up in all three. A project can carry its own `.codex/config.toml`, which Codex reads only for trusted projects.

From the terminal:

```
codex mcp add context7 -- npx -y @upstash/context7-mcp
codex mcp list
codex mcp login <server-name>
```

`codex mcp login` is for servers that use OAuth. By hand, each server is one table:

```
# a local stdio server
[mcp_servers.context7]
command = "npx"
args = ["-y", "@upstash/context7-mcp"]
startup_timeout_sec = 20

# a remote server, with a bearer token read from the environment
[mcp_servers.docs]
url = "https://mcp.example.com/mcp"
bearer_token_env_var = "DOCS_TOKEN"
default_tools_approval_mode = "writes"
```

The options worth knowing: `startup_timeout_sec` defaults to 10 seconds and `tool_timeout_sec` to 60. `enabled = false` turns a server off without deleting it. `enabled_tools` and `disabled_tools` trim its tool list. `default_tools_approval_mode` takes `auto`, `prompt`, `writes` or `approve`, and `writes` asks only before tools that aren’t marked read-only.

## ChatGPT MCP limits worth knowing

- The web takes only remote servers over SSE or streaming HTTP. A server on `localhost` needs the tunnel or the desktop app.

- The Help Center lists custom servers on the web for Business and Enterprise/Edu, with read and fetch only on Pro. It names no web access for Free, Go or Plus.

- You can’t add a custom server on mobile. Plugins already on your account work there.

- Deep research can use custom servers for read and fetch, never for writes.

- Every MCP server adds its tool definitions to your context and uses more of your limit. OpenAI’s own advice is to turn off servers you aren’t using.

- `codex mcp-server`, which let other clients drive Codex over MCP, has been removed. Codex still connects to MCP servers as a client.

- Plugins marked **Desktop only** install from the desktop app, not from the web or a phone.

## Give ChatGPT your task list over MCP

Sharpy is a free AI to-do list for Mac. It builds one list from Slack, Gmail, Google Calendar, GitHub and the text on your screen, and the ChatGPT desktop app, Claude Code, Codex and Cursor read and update it through Sharpy’s MCP server.

That server is a local stdio helper, `/Applications/Sharpy.app/Contents/Helpers/sharpy-mcp`, so Sharpy reaches ChatGPT through the desktop app only. At first launch it writes a `[mcp_servers.sharpy]` entry into `~/.codex/config.toml`, and Codex in the ChatGPT app picks it up. chatgpt.com in a browser can’t reach Sharpy.

The app has to be running; when it isn’t, the server offers only `sharpy_status`. Then “what’s on my list today?” and “mark the invoice task done” work from a Codex chat. [The MCP page](https://getsharpy.com/mcp) has every tool by name.

Sharpy runs on macOS 14 or later, on Macs with Apple silicon. Your history is stored on your Mac; to find tasks, Sharpy sends the relevant text through its server to cloud AI models ([privacy](https://getsharpy.com/privacy)). Whatever ChatGPT reads from Sharpy goes to OpenAI with the chat. For the Claude Code side, see [Claude Code tasks](https://getsharpy.com/blog/claude-code-tasks) and [Claude Code memory](https://getsharpy.com/blog/claude-code-memory-mcp).

[Download Sharpy for Mac](https://getsharpy.com/download). Windows and Linux have a waitlist.

Sources, checked 16 November 2026: [Connecting custom MCP servers in ChatGPT](https://help.openai.com/en/articles/12584461) (OpenAI Help Center), [Add custom MCP server](https://developers.openai.com/api/docs/guides/custom-mcp-server), [Secure MCP Tunnel](https://developers.openai.com/api/docs/guides/secure-mcp-tunnels), [Model Context Protocol in ChatGPT and Codex](https://learn.chatgpt.com/docs/extend/mcp), [Plugins](https://learn.chatgpt.com/docs/plugins), [Codex pricing and plans](https://learn.chatgpt.com/docs/pricing).

## Questions

### Does ChatGPT support MCP?

Yes, in two places. On chatgpt.com you add a remote MCP server as a custom plugin from Plugins, Add custom MCP server; full read and write MCP is for Business and Enterprise/Edu workspaces, and Pro gets read and fetch. The ChatGPT desktop app also runs local stdio servers from Codex's config.toml. That is how OpenAI's docs read on 16 November 2026.

### Can I use MCP servers with ChatGPT Plus?

Not as custom servers on chatgpt.com: OpenAI's Help Center lists those for Business and Enterprise/Edu, with read and fetch on Pro. In the ChatGPT desktop app it's different. OpenAI's plan table for Codex lists MCP for Plus, so you can add servers under Settings, MCP servers, or with codex mcp add.

### Can ChatGPT connect to a local MCP server?

Not directly from the web. You can run OpenAI's tunnel-client next to the server and connect it as a Secure MCP Tunnel, which needs a tunnel_id and an API key from the OpenAI Platform. Or use the ChatGPT desktop app, which starts stdio servers on your own machine from ~/.codex/config.toml.

### Where is developer mode in ChatGPT?

You no longer need it to add a server. OpenAI's Help Center says the current Plugins flow adds a custom MCP server directly, with a risk warning for each server. In workspaces the permission behind it is still called Create plugins with MCPs, and admins grant it in Permissions & roles.

### Do Codex and the ChatGPT desktop app share MCP servers?

Yes. The desktop app, the Codex CLI and the Codex IDE extension all read ~/.codex/config.toml, so a server added in one shows up in the others after a restart. ChatGPT on the web doesn't read that file.

### Can ChatGPT on the web read my Sharpy task list?

No. Sharpy's MCP server runs on your Mac over stdio, so it reaches ChatGPT only through the desktop app, through the entry Sharpy writes into Codex's config.toml. The Sharpy app has to be running for ChatGPT to reach it.

[Next postClaude Code tasks: the todo list and a list that lasts](https://getsharpy.com/blog/claude-code-tasks)

## Let it find its first job.

[Download for Mac](https://getsharpy.com/download?get=1)[Send it to my Mac](https://getsharpy.com/download)[Windows waitlist](https://getsharpy.com/waitlist?platform=windows)

Free in early access. macOS 14 or later, Apple silicon.
