What Is An MCP Server?
What is an MCP server? It is a program that gives an AI app new tools and new data. MCP stands for Model Context Protocol. It is an open standard, so the same server can work in Claude Code, ChatGPT, Cursor and other apps. A server might read your files, search the web or query a database.
How Does It Work?
The app you talk to is called the host. Claude Code and Claude Desktop are both hosts. For each server it uses, the host starts a small piece called a client, and that client keeps its own line open to the server.
The MCP docs compare this to a USB-C port. One plug shape lets you connect many devices. In the same way, one standard lets many apps reach many tools.
What Can A Server Offer?
A server can offer three kinds of things.
- Tools are actions the model can take, such as sending a message or making a calendar event. The model decides when to use them.
- Resources are data the app can read, such as a file or a database schema.
- Prompts are ready-made requests the user picks, such as one that drafts an email.
One server can offer all three. Picture a server for a database. It could have tools that search the data, a resource that holds the layout of the tables, and a prompt with examples of good searches.
Does It Run On My Computer Or Online?
It can do either. A local server runs on your own computer, and it usually serves one app. The filesystem server is one example.
A remote server runs on the web and can serve many people at once. Sentry runs one on its own platform. A remote server talks over HTTP, so it can ask you to sign in.
What Can An Agent Do With One?
The MCP docs list a few real uses. An agent can read your Google Calendar and Notion. Claude Code can build a web app from a Figma design.
With servers connected, you can ask Claude Code to build a feature from a Jira issue and then open a pull request on GitHub. You can also ask it to check Sentry for errors or to look up users in your PostgreSQL database.
How Do I Add One To Claude Code?
A remote server takes one command with its web address. This command adds Notion.
claude mcp add --transport http notion https://mcp.notion.com/mcp
A local server runs on your own machine. You put the command that starts it after two dashes.
claude mcp add memory -- npx -y @modelcontextprotocol/server-memory
A new server loads only in the current project, and only you can see it. You can change that with the scope flag.
claude mcp add --scope project ... # saved in .mcp.json for your team claude mcp add --scope user ... # loads in all of your projects
Run claude mcp list to see your servers. Inside Claude Code, type /mcp to check on them.
A plugin can also bring its own servers. When you turn the plugin on, Claude Code starts its servers for you. We list the plugins that come with a server, along with who made each one.
Is It Safe To Add Any Server?
It is not. Anthropic tells you to check that you trust each server before you connect it. A server that pulls in outside content can expose you to prompt injection.
Claude Code also asks before it turns on a server that a project shares in .mcp.json. A repo you clone cannot approve its own servers.
Where Can I Find Servers?
Start with the MCP Registry at registry.modelcontextprotocol.io. It lists servers that people have published. It is still in preview, so its team warns that breaking changes or data resets may occur.
Anthropic keeps a directory of reviewed connectors for Claude. You can add any remote server from it with claude mcp add. We also keep a short list of servers made by the companies behind each product. Our marketplace guide shows where else servers are listed.
The modelcontextprotocol/servers repo on GitHub holds seven reference servers. They are Everything, Fetch, Filesystem, Git, Memory, Sequential Thinking and Time. The repo says they are there to teach, and it says they are not ready for real work.
How Is A Server Different From A Skill?
A skill is a folder with a SKILL.md file of written steps. A server is code that runs and hands the agent new tools.
You often want both. A skill can teach the agent how to use the tools a server gives it. Our skills and MCP side by side page shows when each one fits.
FAQ
What Does MCP Stand For?
It stands for Model Context Protocol. It is an open-source standard for linking AI apps to outside systems.
Do I Need To Write Code To Use One?
You do not. You add a server with one command, and the agent uses its tools for you.
Can One App Use More Than One Server?
Yes, it can. The app starts a separate client for each server, so each one keeps its own line.
Can I Build My Own Server?
Yes, you can. The MCP site has a guide for building servers, and Anthropic's mcp-server-dev plugin can set one up for you inside Claude Code.
Are The Reference Servers Good For Daily Use?
They are not. The repo says they exist to teach, so build on them only after you add your own safety checks.