What is an MCP server?

An MCP server is a small program that gives an AI app, such as Claude, Cursor or VS Code, access to one outside tool or data source through the Model Context Protocol. It tells the AI what it can do, in plain words, and carries out the calls when the AI decides to use it.

How it works

Three parts are in play. The host is the AI app you use. Inside it, an MCP client keeps one connection to each server you add. The server sits on the other end and speaks for one tool, such as GitHub, Postgres, a browser or your CRM.

When a conversation starts, the client asks each server what it offers. The server answers with a list of tools, each with a name, a plain description and the inputs it takes. The model reads those descriptions, and when a task needs one, it asks the client to call the tool. The server does the work against the real system and sends back the result, which the model reads and uses in its answer.

Before MCP, every AI app needed its own integration with every tool. Ten tools and three AI apps meant thirty integrations. With MCP, each tool needs one server and each app needs one client, and any pair works together.

What a server offers

  • Tools

    Actions the AI can take, such as search the CRM, run a query or create a ticket. The model decides when to call them; your app can ask you first.

  • Resources

    Data the AI can read for context, such as a file, a database row or a record. The app chooses what to load.

  • Prompts

    Saved instructions the server offers, so a common job runs the same way every time, such as an account brief or a code review.

Source: the MCP specification.

Local servers

A local server runs on your own computer. Your AI app starts it with a command, usually npx for a Node.js package, uvx for a Python one or docker run for an image, and talks to it over standard input and output. Data stays on your machine, and the server can reach local files and apps. You install and update it yourself.

Remote servers

A remote server runs on the provider's infrastructure, and your app connects to it by URL over streamable HTTP. There is nothing to install, it updates itself, and a whole team can use the same one. Most ask you to sign in with OAuth the first time, so the server acts with your own permissions.

How to pick a server you can trust

  • Who publishes it. An official server from the product's maker follows its API and sign-in; a community server needs a look at its code and open issues.
  • What it can change. Count the write tools. A server that only reads is far safer to try first.
  • How it signs in. OAuth or a scoped token beats pasting an admin key into a config file.
  • Where it runs. Local servers keep data on your machine; remote ones are easier to set up and share across a team.
  • How busy the repo is. Recent commits, answered issues and releases tell you more than the star count.
  • How many tools it adds. Each one costs the model context; a server with a hundred tools can make the AI pick the wrong one.

Every server page in the directory shows who publishes it, how it runs, its license and the tools its README lists, so you can check these before you install.

Keep it safe

A server can do whatever its credentials allow, so the key you give it is the real limit. Create a dedicated key or account with the smallest permissions the job needs, and start read-only.

Keep your AI app asking before tool calls until you trust a server. The biggest risk is prompt injection: a web page, email or file the server fetches can hold text written to steer the AI. Treat everything a server returns as data, and don't give one agent both access to untrusted content and the power to send, pay or delete.

Install one

Each AI app keeps its servers in its own config. Our guide shows where, for Claude Code, Claude Desktop, VS Code and Cursor.

Add a server to your AI app

Build one

Official SDKs exist for TypeScript, Python, Go, Java, C# and more, and a small server that wraps a few API calls takes a day or two. Production servers take longer for auth, limits and tests.

See frameworks and SDKs

Questions about MCP servers

Who created MCP?

Anthropic introduced the Model Context Protocol as an open standard in November 2024. In December 2025 it moved to the Agentic AI Foundation under the Linux Foundation, so it is governed in the open rather than by one company.

Is MCP only for Claude?

No. MCP is an open protocol, and AI apps such as VS Code with GitHub Copilot, Cursor and many others support it. A server you set up once works in any app that speaks MCP.

What is the difference between an MCP server and an API?

An API is how software talks to a service. An MCP server wraps one or more APIs in a standard shape an AI app understands: it describes each tool in plain words so the model knows when to use it, and handles the calls.

Do MCP servers cost money?

Most servers are free and open source. The service behind them may not be: a search, data or AI API still bills you for the calls the server makes. Hosted remote servers sometimes have their own plans.

What is the official MCP registry?

It is a public list of MCP servers run by the Model Context Protocol project at registry.modelcontextprotocol.io. Publishers list their server with its package, version and setup, and a namespace tied to a GitHub account or a verified domain. Our directory is built from it, with GitHub data and each server's README added.