How to Install an MCP Server: Claude, ChatGPT & Gemini
Install an MCP server step by step in Claude, Claude Code, ChatGPT, Gemini CLI, VS Code and Cursor. Remote or local, with copyable examples.
Nov 11, 2026· 6 min read
Installing an MCP takes between one and five minutes. Before you start, a single question decides the path: does the server have a web address, or does it run on your computer? If you're not yet clear on what MCP is, start with what MCP is and what it's for.
Before you start: remote or local
| Remote | Local | |
|---|---|---|
| What you're given | An address starting with https:// | A command, such as npx -y package |
| Where it runs | On the internet | On your computer |
| What you need | Just your assistant | Node.js (or Python) installed |
| Time | 1 minute | 5 minutes |
| Example | Context7 | Playwright |
Every Mcpteca listing shows it next to the name: "Remote" or "Local". If it's remote, the listing has the steps for each assistant and the address ready to copy.
What about Claude Fable 5.2?
Claude Fable 5.2 came out on November 9, 2026 and Claude Code already uses it as its default Fable model. You don't need to do anything special: MCP servers are added to the app (Claude, Claude Code), not to the model. The ones you already had are still there when you switch to Fable 5.2, and the ones you add now will work with whichever model you choose.
Install a remote MCP in Claude
This works for claude.ai and the Claude app:
1. Open Customize → Connectors. 2. Click + Add and choose Add custom connector. 3. Type a name you'll recognise, paste the server's address and click Continue. 4. If the server doesn't need an account, choose No sign in, click Continue and then Add. If it does, sign in when prompted.
Then, in a chat, click + at the bottom left → Connectors and turn it on. On the free plan you can have one custom connector.
Install a remote MCP in ChatGPT
ChatGPT now calls custom MCP servers plugins, and you need a paid account:
1. Go to chatgpt.com/plugins. 2. Click + and choose Add custom MCP server. 3. Type a name and a description, and paste the address under Connection. 4. If it doesn't need an account, don't set up authentication. Accept the warning and click Create as a plugin.
To use it, type @ in a new chat and pick the plugin.
Install an MCP in Gemini (Gemini CLI)
The Gemini app doesn't support custom servers yet, but Gemini CLI does. It runs in the terminal and needs a Gemini Code Assist license: since June 2026 it has no free tier.
gemini mcp add --transport http -s user context7 https://mcp.context7.com/mcp
Open Gemini CLI and type /mcp to check it's there. Mcpteca listings have this command ready with each server's address.
Install an MCP in Claude Code
Claude Code is Anthropic's coding assistant for the terminal (compare it with Codex, Gemini CLI and others in AI coding CLIs compared). A remote server is added with one command:
claude mcp add --transport http name https://server-address
And a local one by putting its start command after --:
claude mcp add name -- npx -y server-package
By default the server is only available in the folder you're in. Add --scope user to have it in all your projects. claude mcp list shows the ones you have.
Install a local MCP in Claude Desktop
For servers that run on your computer:
1. Install Node.js and check in a terminal that node --version responds. 2. In Claude Desktop open Settings → Developer → Edit Config. This opens the claude_desktop_config.json file. 3. Add the server inside mcpServers. This is the official example, which gives access to a folder:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "C:\\Users\\your-user\\Documents"]
}
}
}
4. Save, quit Claude Desktop completely and open it again.
What each line means:
filesystemis the name you'll see in Claude; you can use any name.commandis the program that starts the server (npxcomes with
Node.js).
argsare the options: the server package and, in this case, the folder
you give it access to. Only include the folder you need.
Install an MCP in VS Code
In Visual Studio Code open the Command Palette and choose MCP: Add Server. You can also write it by hand in .vscode/mcp.json (just for that project) or in your user configuration (MCP: Open User Configuration). Note that VS Code uses the servers key:
{
"servers": {
"context7": {
"type": "http",
"url": "https://mcp.context7.com/mcp"
}
}
}
For a local one, use "type": "stdio" with command and args, as in Claude Desktop.
Install an MCP in Cursor
Cursor reads ~/.cursor/mcp.json (for all your projects) or .cursor/mcp.json (for just one). It uses the mcpServers key:
{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp"
},
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest"]
}
}
}
Summary by assistant
| Assistant | Remote | Local | Where you add it |
|---|---|---|---|
| Claude (web and app) | Yes | No | Customize → Connectors |
| Claude Desktop | Yes | Yes | Connectors or claude_desktop_config.json |
| Claude Code | Yes | Yes | claude mcp add |
| ChatGPT | Yes (paid) | No | chatgpt.com/plugins |
| Gemini CLI | Yes | Yes | gemini mcp add |
| VS Code | Yes | Yes | MCP: Add Server or mcp.json (servers) |
| Cursor | Yes | Yes | mcp.json (mcpServers) |
Check that it works
Ask a question only the server can answer. With Context7, for example: "Use Context7 to look up the current documentation for this library". The assistant should ask your permission to use the tool and answer with up-to-date documentation. If it answers from memory without asking, the server isn't active: check that it's turned on in the chat.
If something goes wrong
- It doesn't show up: quit the app completely (also from the system
tray) and open it again.
- Error when saving the file: almost always a missing comma or an extra
brace. Paste the file into a JSON validator.
- `npx` not found (`ENOENT`): Node.js isn't installed or the app can't
see it. Install it and restart your computer.
- Windows paths: inside the JSON, write double backslashes
(C:\\Users\\...).
- It asks you to sign in: that's normal for servers of services with an
account; follow the steps your assistant shows.
Below you'll find servers to practise with, and Context7 ready to install.
Servers mentioned in this guide
Context7
CommunityContext7 pulls up-to-date, version-specific library documentation and code examples into AI coding agents via MCP.
GitHub
CommunityOfficial GitHub MCP server connecting AI assistants to repositories, issues, pull requests, Actions, security alerts, and more via natural language.
Playwright
CommunityOfficial Playwright MCP server for browser automation via accessibility snapshots, enabling LLMs to test and extract data from web pages.
Try it
/How to install
You need: Any Claude plan. The free plan allows 1 custom connector; on Team or Enterprise the organisation owner adds it first.
https://mcp.context7.com/mcpAfterwards: In a chat, press "+" at the bottom left → "Connectors" and turn it on.
You need: A paid ChatGPT account: it may not be available on the free plan. ChatGPT now calls connectors "Plugins".
https://mcp.context7.com/mcpAfterwards: In a new chat, type @ and pick the plugin.
You need: The Gemini app doesn't support custom connectors yet. It's done with Gemini CLI from the terminal, which needs a Gemini Code Assist license (it no longer has a free tier).
gemini mcp add --transport http -s user context7 'https://mcp.context7.com/mcp'Afterwards: Ask as usual: Gemini will use the connector when it needs it.
You need: A Grok account. On Grok Business or Enterprise, an admin turns it on first.
https://mcp.context7.com/mcpAfterwards: Grok will use the connector whenever your question needs it.
Mcpteca does not review this server's code. A project can change hands or content: before you install or connect it, check its code or run it through a security reviewer.
Frequently asked questions
How do I know whether an MCP server is remote or local?
If you're given an address starting with https://, it's remote. If you're given a command such as npx or uvx, it's local. Every Mcpteca listing shows it at the top, next to the name.
Do I need to install anything to use a remote MCP?
No. In Claude, ChatGPT and Grok you just paste the address. In Gemini it's done with Gemini CLI, which you do need to install.
Can I use MCP on Claude's free plan?
Yes. On the free plan you can have one custom connector. On Team and Enterprise plans the organisation owner adds it first.
And in ChatGPT?
ChatGPT now calls custom MCP servers "plugins". You need a paid account: on the free plan it may not be available.
The server doesn't show up after adding it. What do I do?
In desktop apps, quit the app completely and open it again. In a configuration file, check that no comma or brace is missing. If it's local, check in a terminal that node --version responds.
Where is Claude Desktop's configuration file?
On Windows, at %APPDATA%\Claude\claude_desktop_config.json. On macOS, at ~/Library/Application Support/Claude/claude_desktop_config.json. From the app it opens via Settings > Developer > Edit Config.
Is it safe to install a local server?
A local server runs on your computer with your permissions. Only install those from authors you trust and check their repository first.
Browse the free directory of MCP servers, or tell us about yours.