An MCP server is a program that gives an AI application access to something outside itself, such as your files, a database or a business system, through the Model Context Protocol (MCP), an open standard for connecting AI applications to external systems. It differs from an API in who it's built for: an API is an interface that developers write code against, while an MCP server describes what it offers in a form the AI application can discover and use by itself, often by calling an API underneath.
If you've been told to "add an MCP server" to Claude or ChatGPT and aren't sure what you'd be adding, this guide is for you. It covers the parts of an MCP connection, what a server can offer, local and remote servers, and where an API fits in, and ends with a worked example.
What is an MCP server in simple terms?
The official MCP introduction describes MCP as an open-source standard for connecting AI applications to external systems, and compares it to a USB-C port: one standard way to plug things in, instead of a different cable for every device.
In that picture, the MCP server is the thing on the other end of the cable. The MCP architecture overview defines it as a program that provides context to MCP clients. In practice, it sits in front of a system and tells an AI application what's available there and how to use it.
The introduction names AI assistants such as Claude and ChatGPT, and development tools such as Visual Studio Code, Cursor and MCPJam, among the applications that support MCP. A server written to the standard can be used from any of them without being rebuilt for each one.
How an MCP server works: host, client and server
Every MCP connection has three participants. The architecture overview defines them like this:
- The host is the AI application you use. It coordinates and manages the connections.
- The client is a component inside the host that keeps a connection to one server and fetches context from it for the host to use.
- The server is the program that provides that context.
The host creates one client for each server it connects to. If your AI application is connected to three servers, it runs three clients, each with its own dedicated connection. You don't see the clients. You see the list of servers you've added, often called connectors, and the things each one lets the AI do.
One limit is worth knowing. MCP covers only the exchange of context between the application and the server. The overview says it doesn't dictate how AI applications use language models or manage the context they're given.
What is an MCP server used for? Tools, resources and prompts
A server can offer three kinds of thing, which the standard calls primitives:
- Tools are functions the AI application can call to do something. The overview's examples are file operations, API calls and database queries.
- Resources are data sources that give the AI application context, such as file contents, database records or API responses.
- Prompts are reusable templates that help structure a conversation with a language model.
Tools are the part most people meet first, and the part to think hardest about. The introduction says MCP lets AI applications access user data and take actions on the user's behalf when necessary. A tool that only reads is the lower risk. A tool that changes something deserves the same care as any other change to your systems. Our guide to deciding what an AI agent may act on, draft or escalate covers how to draw that line.
Local and remote MCP servers
How does a local MCP server work?
A local server runs on the same machine as the AI application. The two talk over standard input and output, a transport the standard calls stdio, with no network involved. The overview's example is a filesystem server that the desktop application starts itself. A local server typically serves a single client: yours.
How is a remote MCP server different?
A remote server runs somewhere else, on the provider's platform, and typically serves many clients. It uses a transport called Streamable HTTP: the client sends its messages as HTTP requests, and the server can stream its replies back.
How does MCP server authentication work?
For remote servers, the overview says the HTTP transport supports standard authentication methods, including bearer tokens, API keys and custom headers, and that MCP recommends using OAuth to obtain the tokens. For you, OAuth means a familiar step: you sign in to the service, approve the connection, and the AI application receives a token. You don't paste a password or a key into a chat window.
What is an MCP server, and how is it different from an API?
An API is the interface a system offers to other software. Each one has its own addresses, its own way of signing in and its own documentation, and a developer reads that documentation and writes code for that one API.
An MCP server doesn't replace the API. Very often it sits on top of one: "API calls" are among the overview's own examples of what a tool does. What changes is how the AI application finds and uses what's there.
- Discovery. An MCP client asks the server what it offers. For tools, the request is called tools/list, and the answer is a list in which each tool has a name, a description and a schema for its inputs. The overview describes the pattern: the client lists the available tools, provides them to the model, and executes the ones the model calls. Nobody has to read documentation and write code for each new system first.
- One protocol. Every MCP server speaks the same protocol, whatever sits behind it. An AI application that can talk to one MCP server can talk to any of them. With plain APIs, each application would have to integrate each API separately.
- A list that can change. The overview notes that this design lets listings be dynamic, so a server can offer different tools at different times, or to different users.
The short version of MCP server vs API: the API is how software reaches a system, and the MCP server is how an AI application learns what it can do with that system and then does it.
An MCP server explained with an example
Our own Hosted MCP Server for Linnworks shows each part in one place. Here is how it maps onto the terms above:
- Host and client: the merchant's own AI application, such as Claude. The merchant adds the server's address as a connector. We test with Claude; other applications that support remote MCP servers should work, but we haven't tested them yet.
- Server: a remote MCP server that we host. Requests to it need a valid OAuth access token, so the merchant signs in and approves the connection before anything works.
- Tools: each tool call reads the merchant's own Linnworks account through the Linnworks API. The data is read live on each call and isn't cached. Orders and stock levels pass through on the way to the merchant's AI application and aren't stored by the server.
- A list that can change: each merchant is offered only the tools their plan allows, which is the dynamic listing described above.
- The model: the server makes no calls to any language model. The merchant's AI application calls the tools and passes the results to its model, under the merchant's own account with that provider.
So when a merchant asks "Which open orders have been waiting more than two days?", the AI application picks a tool from the server's list, the server calls the Linnworks API, and the answer comes back as the result of that tool call.
There's more on that product in our post on the Hosted MCP Server for Linnworks and Claude, and on where connectors sit among other AI tools in an AI stack for getting things done fast.
Questions to ask before you add an MCP server
The parts above give you a short checklist for any server, whoever provides it:
- Is it local or remote? A local server runs on your machine. A remote one runs on someone else's platform, so ask what it stores. In the example above, the answer is that the business data it reads isn't kept.
- How do you sign in? For a remote server, look for OAuth: you approve the connection yourself, and you don't hand a password to the AI.
- What tools does it offer? The server lists its tools for your AI application, each with a name and a description. Ask to see that list, and check which tools only read and which can change something.
- Where does the model sit? The server supplies data. Your AI application sends it to a model. Know which provider that is and on what terms.
Want to see what a remote MCP server looks like for a real business system? Read about the Hosted MCP Server for Linnworks, which you can try free for 14 days.