How to Connect ChatGPT to a Remote MCP Server
A step-by-step guide to add any remote MCP endpoint URL to ChatGPT on the Web or Desktop.
Remote MCP Server Overview
MCP (Model Context Protocol) lets ChatGPT use tools and data provided by another service. ChatGPT manages remote connections through Plugins on both Web and Desktop. This guide covers endpoints available over HTTPS, not tools that run locally on your computer.
Before You Start
- Treat any endpoint tokens like passwords. Do not post or publicly share them with anyone who should not have access.
- Only connect servers from organizations you trust. Their tools may be able to read data or take actions on your behalf.
Plan Availability and Permissions
- Web: Pro accounts can use custom plugins with read and fetch permissions. Business, Enterprise, and Edu plans also support write and modify actions. On Business, access is limited to admins and owners. Enterprise and Edu admins can grant access to other members with role-based access control. See OpenAI's availability guide.
- Desktop: The Plugins directory is available across ChatGPT plans, but adding and using a server may depend on your plan, workspace settings, and role. See OpenAI's Plugins guide.
ChatGPT Web
- Copy the entire MCP endpoint URL.
- Open ChatGPT in your browser.
- Select Plugins in the sidebar.
- Click the + button next to Search plugins.
- Enter a name. You can also add an icon and description.
- Under Connection, select Server URL and paste the entire MCP endpoint URL.
- Choose the authentication method required by the server.
- Check I understand and want to continue, then click Create.
- Start a new conversation, select the plugin below the prompt box, and ask ChatGPT to use the tool.
ChatGPT Desktop
- Copy the entire MCP endpoint URL.
- Open the ChatGPT Desktop app.
- Select Plugins in the sidebar.
- Click the Manage gear next to Installed.
- Select the MCPs tab.
- Click Add server.
- Enter a name, select Streamable HTTP, and paste the entire MCP endpoint URL.
- Click Save, then restart ChatGPT when prompted.
- Make sure the server is turned on in the MCPs list.
- If the server requires OAuth, click Authenticate and complete the sign-in flow.
- Return to the app and choose ChatGPT or Codex. In ChatGPT mode, choose Chat or Work, then ask it to use the tool.
You only need to add the server once. It is available in both the ChatGPT and Codex modes of ChatGPT Desktop. The same configuration is also shared with Codex CLI and the IDE extension. See OpenAI's MCP setup guide for details.
Troubleshoot ChatGPT MCP Connections
- The connection is unauthorized: Copy the endpoint again and make sure the full token is present.
- ChatGPT cannot find the tools: Start a new conversation and make sure the plugin or server is enabled.
- The connection times out: Confirm the endpoint is publicly reachable over HTTPS. ChatGPT Web calls the server from OpenAI's cloud, while ChatGPT Desktop connects from the app.
- The setting is missing: Update ChatGPT, check whether your plan supports custom connections, and ask your workspace administrator whether plugins or local access are restricted.