Disclosure: I run PickAPlugin, an independent catalog of ChatGPT and Codex plugins and MCP servers. This is adapted from our guide on the same topic, based on the official Claude, Cursor and Codex docs.
The server is the same in every app. The config is not. There are two common shapes:
- Local (stdio): the app starts a command on your machine (npx, uvx or a binary) and talks to it over stdin and stdout.
- Remote (Streamable HTTP or SSE): you give the app a URL and the server runs somewhere else.
A gotcha: claude mcp add is Claude Code
Many READMEs start with claude mcp add. That's Claude Code's command and it doesn't add the server to Claude Desktop. The ingredients are the same though. This line:
claude mcp add ztd-charts -- npx -y ztd-charts-mcp
means command npx, args -y ztd-charts-mcp. You can drop those into any of the three apps.
Claude Desktop
Easiest: Settings, Desktop app, Extensions, Browse extensions, Install. For a custom server, use Settings, Developer, Edit Config, which opens claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/username/Desktop"]
}
}
}
Use absolute paths, and fully quit and reopen Claude Desktop after saving. API keys go in an env object on that server; don't commit the file. For a remote server, current builds have Settings, Connectors, Add custom connector.
Cursor
Cursor reads ~/.cursor/mcp.json (all projects) and .cursor/mcp.json (one repo). They're merged, and the project file wins on name clashes.
{
"mcpServers": {
"pickaplugin": { "url": "https://pickaplugin.com/mcp" }
}
}
Static headers for remote servers go under headers. Restart Cursor after saving. If a server won't start, open the Output panel and pick MCP Logs. GUI-launched servers don't always inherit your shell environment, so put secrets in the env block.
Codex (CLI, IDE, ChatGPT desktop)
Codex uses TOML in ~/.codex/config.toml (or a project .codex/config.toml in trusted projects). The CLI is quickest:
codex mcp add context7 -- npx -y @upstash/context7-mcp
codex mcp add pickaplugin --url https://pickaplugin.com/mcp
codex mcp list
In the desktop app or IDE, use Settings, MCP servers, Add server. Type /mcp in the composer to see what's connected.
If it doesn't show up
Restart the app fully, validate your JSON (one missing comma breaks the file), check that paths are absolute, and make sure Node is on the PATH the app sees if you use npx. Before adding anything, read our checklist for checking an MCP server is safe.
Full version with more examples: how to install an MCP server in Claude Desktop, Cursor and Codex.
Top comments (0)