How MCP works
What is an MCP server?
By Sophie Filer · Updated 1 Nov 2026
An MCP server is a small program that gives an AI assistant something it cannot do on its own: read your files, query a database, drive a browser, file a Jira ticket. MCP (Model Context Protocol) is the shared plug that lets any assistant use any of these servers.
- In one line
- A plug-in that gives an AI app new tools
- Works in
- Claude, Cursor, VS Code, Codex, ChatGPT and more
- Runs
- On your computer or at a URL
The short answer
A chat model on its own can only read what you paste in and write text back. An MCP server sits between the assistant and some other system, and offers the assistant a list of actions it may take there, such as "run this SQL query" or "open this web page". The assistant decides when to use them; your app asks you before it does, unless you have told it not to.
Anthropic published the Model Context Protocol in November 2024 as an open standard. Since then Claude, ChatGPT, Codex, Cursor, VS Code, Windsurf and many other apps have added support, so one server works in all of them. Before MCP, every app needed its own plugin for every tool.
The three parts
| Part | What it is | Example |
|---|---|---|
| Host | The AI app you type into | Claude Desktop, Cursor, ChatGPT |
| Client | The connection the host opens to one server | One per server you add |
| Server | The program that offers tools and data | Playwright, GitHub, Postgres MCP Pro |
When the host starts, it connects to each server you configured and asks what it offers. The server answers with a list of tools, each with a name, a description and the inputs it takes. The model reads those descriptions and calls a tool when it fits the conversation; the server does the work and sends the result back as text or data.
What a server can offer
- Tools: actions the model can call, such as
search_issues,take_screenshotorrun_query. This is what most servers are for. - Resources: data the app can read into the conversation, such as a file, a table schema or a document.
- Prompts: ready-made instructions the server suggests, which some apps show as slash commands.
Most apps today use tools far more than the other two, so when people compare servers they usually mean "which tools does it give my assistant". Every server page on MCP Shelf lists them.
Local and remote servers
A local server is a program your app starts on your own computer, usually with npx (Node.js), uvx (Python) or Docker, and talks to over standard input and output. A remote server is a web address run by someone else, reached over HTTP, often with a sign-in. Local suits anything that touches your files or network; remote suits services like Notion or GitHub where the vendor runs it for you. Remote or local goes through the trade-offs.
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest"]
}
}
}{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp"
}
}
}What people use them for
| Job | Servers on the shelf |
|---|---|
| Write and run code | Desktop Commander, Serena, GitHub |
| Read current docs | Context7, Ref, GitMCP |
| Use the live web | Playwright, Firecrawl, Exa |
| Work with data | Postgres MCP Pro, Supabase, Excel |
| Design and 3D | Framelink Figma, Blender, Godot |
| Notes and tickets | Notion, Atlassian, Basic Memory |
The whole shelf has 80 servers, sorted into categories such as developer tools and databases.
Before you install one
A local server runs with your user account, so it can do whatever you can. Check three things first: that the package in the config is published by the project itself (copycat names exist on npm and PyPI), that the repository is maintained, and what the tools can change. Start database and cluster servers in read-only mode where they offer one. Checking an MCP server covers this step by step.
Add your first server
Pick your app and follow its guide: Claude Code, Claude Desktop, Cursor, VS Code, Codex or ChatGPT. If it does not start, Fixing MCP server errors has the common messages and what each one means.
Questions
Is an MCP server the same as an API?
No. An API is how programs talk to a service. An MCP server usually wraps an API and describes its actions in a way an AI model can read and choose from, using one standard every MCP app understands.
Do I need to know how to code to use one?
Not for remote servers: you paste a URL into your app and sign in. Local servers need a config block and usually Node.js or Python installed, but no code of your own.
Does an MCP server cost money?
Most are free and open source. Some connect to a paid service, such as a search or scraping API, and need that service's key.
Which apps support MCP?
Claude (desktop, web and Claude Code), ChatGPT, Codex, Cursor, VS Code with Copilot, Windsurf and a growing list of others. ChatGPT on the web takes remote servers only; the desktop apps and coding tools can also run local ones.
Plant Your First Pea
Every server on the shelf has a tab with the exact config for your app.
For bots & AI agents
Machine-readable versions of this guide and MCP Shelf. Fetch these instead of parsing this page.
This guide (.md)llms.txtllms-full.txtai.txtFull catalog (.md)API specMCP serverMCP manifestDeveloper docs