Skip to content
MCPChatGPTDeveloper Tools

ChatGPT MCP Servers: How to Connect a Remote MCP Server

ChatGPT connects only to remote MCP servers over HTTPS. Here is what your server needs, how Developer Mode works, and a security checklist.

9

99plug Editorial

Editorial Team

|
December 2, 2026
|
3 min read

Short answer: ChatGPT can only connect to remote MCP servers, not local ones. Your server needs a public HTTPS URL using a streaming transport (Streamable HTTP or SSE). For a custom server you usually enable Developer Mode in ChatGPT settings, then add the server URL as a connector.

This is the main difference from Claude Code, Cursor or Codex CLI, which can start a local program on your machine. ChatGPT runs in the cloud, so it can only reach servers that are on the public internet.

What ChatGPT needs from your server

  • A public HTTPS URL, for example https://your-server.example.com/mcp.
  • A supported transport: Streamable HTTP or Server-Sent Events (SSE). A local stdio server will not work directly.
  • Authentication you choose: none (for a public or test server), or OAuth for anything private. Never leave a server that can change data open to the whole internet.
  • Turn on Developer Mode and add the server

    The exact menu names change as ChatGPT's interface changes, so check OpenAI's current help pages. In general:

    1. Open ChatGPT Settings and look under the connectors or security and sign-in area for Developer Mode, and enable it. 2. Add a new connector and choose the option to add a custom MCP server. 3. Paste your server URL, choose the authentication type, and confirm. 4. Start a chat, enable the connector for that conversation, and ask a question that should trigger one of its tools.

    Developer Mode matters because it lets ChatGPT use custom tool schemas, including tools that write or change data. Without it, ChatGPT has historically expected connectors to provide read-style search and fetch tools. Treat write-capable tools carefully and review every action before approving it.

    Testing a local server

    If you are building a server on your laptop, expose it temporarily with a tunnel such as ngrok, then use the generated HTTPS address as the connector URL. Remove the tunnel when you finish, because it makes your local machine reachable from the internet.

    Security checklist

  • Validate the Origin header. The MCP specification requires servers using Streamable HTTP to do this to prevent DNS-rebinding attacks.
  • Require authentication on any server that is not purely public.
  • Give each tool the smallest permission it needs, and split read and write tools.
  • Log tool calls so you can audit what the model did.
  • Remember that tool results can contain text that tries to steer the model. Do not let a tool result trigger destructive actions without a human check.

Try a public example

99plug runs a public MCP endpoint, https://99plug.com/api/mcp, for comparing SaaS tools and fetching setup commands. In Claude Code you can add it with:

``bash claude mcp add --transport http 99plug https://99plug.com/api/mcp `

Browse more connectors on our [plugins page](/plugins), or compare what a stack of tools will cost over a year with the [TCO calculator](/tco).

Frequently asked questions

Can ChatGPT use a local MCP server? Not directly. It needs a public HTTPS URL. Use a tunnel for testing or deploy the server to a host.

Do I need to pay for connectors? Availability of custom connectors and Developer Mode depends on your ChatGPT plan and may change, so check OpenAI's current documentation.

What is the difference between ChatGPT connectors and Claude Code MCP? Claude Code can launch local stdio` servers and also connect to remote ones. ChatGPT connects only to remote servers.

Which is better for a first server, SSE or Streamable HTTP? Use whichever your framework's official MCP SDK recommends today; Streamable HTTP is the transport designed for remote servers.

See also: [Best MCP servers](/blog/best-mcp-servers) and [Codex MCP servers](/blog/codex-mcp-servers).

*Checked against public documentation on 2 December 2026. ChatGPT's interface and plan limits change often, so confirm in OpenAI's current help pages.*

Verified Partner Trials & Deals for This Guide

Browse all 20+ perks →

ElevenLabs

55% Off Creator Annual

$5/mo

Try Free

ElevenAgents

Sub-500ms Voice Agents

$6/mo

Try Free

HubSpot CRM

Free Forever CRM + Starter Deal

Free / $15/mo

Try Free

Semrush

14-Day Extended Pro Trial

$139.95/mo

Try Free

Partner Disclosure: Outbound /go/ links may earn 99plug a commission at zero extra cost to you.

Continue Reading