# Add a remote MCP server to Claude, ChatGPT, Cursor and more

Add a remote MCP server by pasting its URL into your agent and signing in once. Pick your agent for the exact steps, command or config.

A free tool that runs in the browser: https://supertaster.me/tools/mcp-server-setup

The tool above writes the setup for 13 agents from one URL. Each method was checked against the vendor's documentation in December 2026, and each panel links to the page it follows. Menus move often, so if yours differs, trust that page.

## What is a remote MCP server?

An MCP server gives an AI agent tools from another service, like searching a library or saving to it. A remote one runs on the web, so you connect it by pasting its URL instead of installing anything. The longer version is [what is an MCP server? A plain explanation for designers](/blog/what-is-an-mcp-server-for-designers).

## What does OAuth sign-in look like?

Most remote servers use OAuth. After you add the URL, the agent opens a browser tab on the service's own site. You sign in there, see what the agent asks for, and approve it. The agent gets a token for your account, never your password. You do this once per agent, and again only if the token expires or you revoke it.

Servers without OAuth give you a token to send in a header instead; treat it like a password. [How to connect a remote MCP server](/blog/connect-remote-mcp-server) explains what sign-in lets a server do.

## The steps for each agent

- **Claude** (claude.ai and the desktop app): Customize, Connectors, + Add, Add custom connector. Paste the URL and sign in.
- **ChatGPT**: on the web, Plugins, then +, then Add custom MCP server. Paste the URL, choose OAuth, and Create as a plugin. Pro accounts get read actions only.
- **Claude Code**: `claude mcp add --transport http --scope user NAME URL`, then `/mcp` to sign in.
- **Codex**: `codex mcp add NAME --url URL`, then `codex mcp login NAME`.
- **Cursor**: add the URL under `mcpServers` in `~/.cursor/mcp.json`, or use an Add to Cursor link. Cursor's docs now live under Grok Build.
- **VS Code** with GitHub Copilot: run MCP: Add Server, choose HTTP, then Global and Copilot Global. The file is `~/.copilot/mcp-config.json`, with `"type": "http"`.
- **Windsurf**, now Devin Desktop: Customize, MCPs, This computer, then add the URL to `~/.config/devin/mcp_config.json`.
- **Zed**: Settings, AI, MCP Servers, Add Server, Add Remote Server. Or add it under `context_servers` in settings.json.
- **Gemini CLI**: `gemini mcp add --transport http NAME URL`, then `/mcp auth NAME`.
- **Antigravity**: put the URL in `serverUrl` in `~/.gemini/config/mcp_config.json`. It replaced Gemini CLI for free and Google One accounts in June 2026.
- **Cline**: MCP Servers, Remote Servers, Streamable HTTP. In JSON, set `"type": "streamableHttp"`.
- **LM Studio**: Program, Install, Edit mcp.json, and add the URL under `mcpServers`. Needs 0.3.17 or later.
- **Warp**: Settings, Agents, MCP servers, + Add, and paste the entry.

## Troubleshooting

**Claude or ChatGPT can't reach the server.** Both connect from their own cloud, so a server on localhost or behind a VPN won't work. It has to be public HTTPS.

**A 404, or no server found.** The URL is probably missing its path, often `/mcp`. Copy the full URL from the service's docs.

**A 401 or 403.** The sign-in expired or the token is wrong. Sign in again (`/mcp` in Claude Code, `codex mcp login` in Codex, `/mcp auth` in Gemini CLI) or make a new token. Claude Code shows a 401 on a server with a header as a failed connection: check the token, or remove the header to use OAuth.

**Claude Code says the server already exists.** Run `claude mcp remove NAME` first, or pick another name.

**The entry loads but never connects.** Check the transport key. Claude Code reads an entry with a `url` but no `type` as a local server, so add `"type": "http"`. Cline treats a missing `type` as legacy SSE, so set `"streamableHttp"`. In Gemini CLI, `url` means SSE and `httpUrl` means streamable HTTP. Antigravity doesn't read `httpUrl` at all; use `serverUrl`.

**No sign-in window opens.** Gemini CLI's OAuth needs a browser on the same machine, so over SSH or in a container, use a token.

**ChatGPT has no option to add a server.** It's on the web only, and on Business plans only admins and owners can add one.

**Where to look next.** Cursor: Output panel, MCP Logs. Warp: View Logs on the server. Zed: a green dot beside the server means it's active.

For which servers are worth adding, see [MCP servers for designers](/blog/mcp-servers-for-designers).

## Questions

### Do I have to set it up in every agent?

Yes, once per agent, since each keeps its own sign-in. Claude on the web and the desktop app share one setting, and the Codex CLI, its IDE extension and the ChatGPT desktop app share one file.

### Should I use OAuth or a token?

Use OAuth when the server offers it. You sign in on the service's own site, and you can revoke access there. Use a token for agents that can't open a browser, and keep it out of any file you commit or share.

### Does this work with any remote MCP server?

Yes, with any server at an HTTPS URL. The tool starts with the URL for [Supertaster](/), an archive your agents save references to and search over MCP. Replace it with the URL of the server you want.

### Is what I type sent anywhere?

No. The tool builds everything in your browser. It never asks for a real token: where one is needed, the output says YOUR_TOKEN for you to replace.
