Part of
AI agent development
Guides

What Is an MCP Server? The Model Context Protocol, Explained

Claude, ChatGPT and n8n connect through one MCP layer to ERP, CRM and file systems: 9 pieces instead of 18 connectors

An MCP server is a small program that connects AI applications to one system through the Model Context Protocol. That system might be a database, an ERP, a file store or GitHub. The server tells the AI app which tools, data and prompt templates it offers. It then runs the tool calls the app makes and returns the results in a standard format. Any AI app that supports MCP can use any MCP server, so you connect each system once instead of once per app. Our walkthrough of n8n and SAP Joule Studio over MCP shows one setup end to end. AI agent development is where we build connections like it for your systems.

Anthropic released MCP as an open standard on November 25, 2024. In December 2025 it was donated to the Agentic AI Foundation, a Linux Foundation project co-founded by Anthropic, Block and OpenAI. At the time of writing, the current revision of the specification is dated July 28, 2026.

What MCP means: the protocol and the server

MCP stands for Model Context Protocol. The protocol is the specification: the message format, the methods a client can call and the rules for authorization and transport. An MCP server is one running program that implements it for one system. The protocol and the server relate the way HTTP and a web server do. HTTP defines how browsers and servers talk, and Nginx is one server that uses it.

MCP cuts the number of connectors you have to build and maintain. Without a shared protocol, every AI app needs its own connector to every system. Each of those connectors can break at a different time. With MCP, each app implements the protocol once and each system gets one server.

The integration count
Every AI app wired to every system, with and without MCP
Custom connectors
183 apps × 6 systems, each built and kept alive separately
With MCP
93 MCP clients + 6 MCP servers
Each AI app speaks MCP once and each system gets one MCP server, so adding a tenth system means one new server, not one connector per app.

Hosts, clients and servers

An MCP setup has three roles: the host, the client and the server. Security and setup questions always come down to which of the three holds what.

RoleWhat it isExamples
MCP hostThe AI application the user works in. It runs the model and decides when a request needs outside data or an actionClaude, ChatGPT, an IDE such as Cursor, an n8n agent
MCP clientThe part of the host that talks to one MCP server: it sends requests and passes results back to the modelBuilt into the host, one per connected server
MCP serverThe program that wraps one system, holds its credentials and runs the actual queries or actionsA GitHub server, a file system server, a server for your ERP

One host can connect to many servers at once. A single chat can read a ticket from the helpdesk server and then check an order in the ERP server. The model never sees the ERP's API keys. The server holds those and decides what it will do on the model's behalf.

What an MCP server exposes: tools, resources and prompts

A server offers three kinds of capability, and the specification says who controls each one.

PrimitiveWhat it isWho decides when it is usedExample
ToolsFunctions that do something: query, calculate, create, update, sendThe modelget_po_status, create_ticket
ResourcesData the app can read into context, such as files, records or schemasThe applicationA product catalogue, a database schema
PromptsReusable templates for a recurring taskThe userSummarise this account, review this pull request

Tools carry most of the value and most of the risk, because a tool can change data in a real system. A well-built server exposes a short list of narrow tools, such as get_po_status, rather than a single tool that runs any query.

The client can offer features back to the server as well. In the 2026-07-28 revision, a feature called elicitation lets a server ask the user for missing input. That request can take more than one round trip. Two other client features, sampling and roots, are deprecated, so new servers should not rely on them.

How an MCP server works, step by step

Messages between client and server use JSON-RPC 2.0, a standard text format for requests and replies. Below, one question travels from a buyer to an ERP and back. Step through it to see which component does what.

Worked example
One question, seven steps through MCP
AI appMCP host
MCP clientinside the app
MCP serverERP connector
ERPsystem of record
1

You ask

A buyer types into the AI app: Where is purchase order 4471? The app is the MCP host.

2

Find out what the server speaks

The app's MCP client asks the ERP server which protocol versions and capabilities it supports. There is no session to open: since the 2026-07-28 revision, every request carries its own protocol version.

{"method":"server/discover"}
3

Discover tools

The client asked which tools the server offers. The server answered with names, descriptions and input schemas, including get_po_status.

{"method":"tools/list"}
4

The model picks a tool

The model reads the tool list next to the question and decides to call get_po_status with po_id 4471.

5

Call the tool

The client sends the call. The server checks the user's token, queries the ERP and returns the result as structured content.

{"method":"tools/call", "params":{"name":"get_po_status", "arguments":{"po_id":"4471"}}}
6

The ERP answers

The ERP returns status, supplier and delivery date. Only the server ever touches the ERP API or its credentials.

7

You get the answer

The model writes the reply from the returned data: PO 4471 shipped on Tuesday and is due Friday.

Since the 2026-07-28 revision, there is no session to open. The initialize handshake and the session header are gone. Every request carries its own protocol version and client capabilities. A client that wants to know what a server supports up front can call server/discover.

MCP has two standard transports, the ways messages travel between client and server. Standard input and output (stdio) connects a host to a server it launches on the same machine. Most developer tools start their servers this way. Streamable HTTP sends each message as an HTTP POST to one MCP endpoint, and a company uses it to run a server that many people share. Streamable HTTP replaced the older transport, HTTP with server-sent events (SSE), in the March 2025 revision. The 2026-07-28 revision formally deprecates that old transport, which keeps working for at least twelve months. Guides that describe MCP servers as SSE endpoints are out of date.

MCP vs API: what is the difference?

An API exposes a product's operations to any software a developer writes against its documentation. An MCP server offers a few of those operations as tools. An AI app finds those tools at run time, reads their descriptions and calls them through the same protocol it uses for every other server. Most MCP servers call an API underneath. MCP adds a layer for AI apps, and the API keeps serving everything else.

APIMCP server
Built forAny software client a developer writesAI apps and agents
ProtocolEach vendor's own endpoints and conventions, usually REST over HTTPJSON-RPC 2.0, with the same methods on every server
DiscoveryDocumentation, read by a developer, then hardcodedtools/list returns names, descriptions and input schemas at run time
Who reads the descriptionA developer, onceThe model, each time it picks a tool
New AI appNew connector code for each appNone, if the app speaks MCP
CredentialsHeld by whichever client calls the APIHeld by the server: OAuth 2.1 over HTTP, environment credentials over stdio
Typical scopeEvery endpoint the product offersA few task-shaped tools chosen for the AI use case

The description row changes how you build. The model reads a tool's description when it chooses which tool to call. So we write each description as one sentence that names the business action, the inputs and the result. We review it as closely as the code behind it.

Call the API directly when one fixed workflow calls one endpoint. Nothing has to choose between tools there, so a server only adds a component to run and secure. Build an MCP server when more than one AI app needs the same system. Build one too when an agent has to choose among several actions while it works.

MCP vs RAG and agent frameworks

MCP does not replace retrieval-augmented generation (RAG). RAG searches a vector index, a store of documents searchable by meaning, for the passages that best match a question. That suits policies, contracts and past tickets. An MCP server queries live systems, which suits a current account balance or today's stock level. Most agents in production use both. A search over the document index can itself be offered as an MCP tool. Our comparison of enterprise chatbot platforms shows which kinds of chatbot reach live systems and which answer from documents alone.

MCP is also not an agent framework. Frameworks such as LangGraph, CrewAI or an n8n workflow decide how an agent plans and which step comes next. MCP only defines how that agent reaches tools and data. Our post on how agents connect to your ERP, CRM and data shows where MCP sits in a five-layer architecture.

Who supports MCP

MCP started in Anthropic's Claude apps, and the other large AI vendors adopted it within months. OpenAI added MCP support to its Agents SDK in March 2025 and to the Responses API that May. ChatGPT apps are built on it. Microsoft made MCP generally available in Copilot Studio on May 29, 2025, and Google added it to the Gemini API and SDK. In April 2025, n8n added an MCP Server Trigger node and an MCP Client Tool node in version 1.88.0. With them, an n8n workflow can act as an MCP server or call one. In Sim.ai, the open-source agent builder, agents call MCP servers as tools. Any workflow there can also be published as an MCP server.

An official MCP Registry, a public catalogue of servers, launched in preview on September 8, 2025. Anyone can publish a server to it. Treat a listing as a lead, and review the server yourself before it reaches company data.

Examples of MCP servers

The MCP project maintains a small set of reference servers, and software vendors publish servers for their own products.

ServerMaintained byWhat it does
FilesystemMCP projectReads and writes files in the folders you allow, with configurable access controls
GitMCP projectReads, searches and changes Git repositories
FetchMCP projectFetches web pages and converts them into text a model can use
MemoryMCP projectKeeps a knowledge graph the model can write to and recall from
TimeMCP projectConverts times and time zones
EverythingMCP projectExposes sample prompts, resources and tools for testing a client
GitHubGitHubWorks with issues, pull requests and repositories, hosted by GitHub or run locally with a read-only flag

The project keeps one more reference server, Sequential Thinking, and calls all of them educational examples rather than production-ready code. Its earlier GitHub, GitLab, PostgreSQL, SQLite, Slack and Google Drive servers are archived. A tutorial that installs the reference Postgres server points at code nobody maintains. For a database, use a server that the database's own maintainers publish, or build a narrow one with read-only tools.

MCP servers in our own builds

Most company systems have no public MCP server. The servers below are ones we build, as our platform pages describe them.

  • An n8n workflow as an MCP server for SAP Joule Studio. An MCP Server Trigger node exposes the workflow as a tool such as request_supplier_documents. A destination in the SAP BTP cockpit holds the endpoint and its bearer token, and a Joule agent calls the tool. n8n runs the steps in a fixed order with its own credentials and log. We start with the MCP Server Trigger rather than n8n's instance-level MCP. Instance-level MCP shows every enabled workflow to every connected client. The SAP Joule Studio page covers the platform side.
  • n8n agents as MCP clients. The MCP Client Tool node lets an n8n AI Agent call another team's MCP server. The agents on our n8n platform page wait for a person to approve before they act.
  • Connectors for Claude Cowork. Claude Cowork reaches company systems through MCP, with connector controls on Team and Enterprise plans. Where your stack needs a connector that does not exist yet, we build it, as the Claude Cowork page sets out.
  • A custom server on your ERP or CRM. A handful of task-shaped tools, such as get_po_status from the step-through above, that follow your business rules. That rule layer is what our enterprise context layer builds. The business rules post shows how rules reach an agent through MCP.

How to build an MCP server

We follow six steps for a server on one business system, with each technical detail taken from the official MCP documentation.

  1. List the tools before writing code. Pick one system and the few actions an AI app needs from it. Write each tool description as one sentence, and mark which tools only read data and which change it. The write tools decide your approval and logging design.
  2. Pick an official SDK. The MCP project rates its TypeScript, Python, C#, Go, Rust and Ruby SDKs as Tier 1, Java as Tier 2, and Swift, PHP and Kotlin as Tier 3. Each SDK adopts a protocol revision on its own schedule, so check that yours supports 2026-07-28. On an n8n stack, the MCP Server Trigger node does the job without an SDK.
  3. Choose the transport. Use stdio when the host launches the server on the same machine, as a developer tool does. Use Streamable HTTP when several people or apps share one server. On stdio, send logs to standard error, because anything written to standard output corrupts the JSON-RPC messages.
  4. Add authorization. Over HTTP, the specification bases authorization on OAuth 2.1. The server publishes OAuth Protected Resource Metadata (RFC 9728) so clients can find its authorization server. It accepts only tokens issued for itself. Over stdio, the server reads credentials from its environment. Our guide to MCP security in the enterprise covers scopes, gateways and approvals.
  5. Test with the MCP Inspector. npx @modelcontextprotocol/inspector opens a browser interface where you call each tool by hand. The --cli mode runs the same checks in CI. The Inspector defaults to the legacy protocol era. Run the CLI again with --protocol-era modern to confirm that clients on the 2026-07-28 revision see your tools.
  6. Connect a real host and read the logs. Ask the questions your users will ask, and check which tool the model picks for each. Rewrite any description it misreads before anyone relies on the server.

Frequently asked questions

What is an MCP server in simple terms?

It is a connector that lets AI apps use one system, such as a database or an ERP, through a shared standard. It lists what it can do and runs the actions the AI asks for, within the limits it was given. Then it returns the results.

Is an MCP server a real server?

Yes. It is a running program that listens for requests and answers them. It can run on your own machine, connected over standard input and output, or as a network service reached over Streamable HTTP.

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

An API is a general interface for any software, documented for developers. An MCP server usually wraps an API and presents a few of its operations as tools. An AI model finds those tools at run time and calls them over one standard protocol. Any app that supports MCP can use them without new connector code.

What are some examples of MCP servers?

The MCP project maintains reference servers for the file system, Git, web fetching, memory and time. GitHub publishes its own server for issues, pull requests and repositories. In company work, the common examples are custom servers on an ERP or CRM and n8n workflows exposed as MCP tools.

Does ChatGPT use MCP?

Yes. OpenAI added MCP to its Agents SDK and Responses API in 2025, and apps in ChatGPT are built on the protocol. Claude, Microsoft Copilot Studio, Gemini and many coding tools support it as well.

How do I build an MCP server?

Define a short list of tools and pick an official SDK, such as TypeScript or Python. Choose stdio or Streamable HTTP, add OAuth for HTTP, and test every tool with the MCP Inspector. n8n can expose a workflow as an MCP server through its MCP Server Trigger node without an SDK.

Ovidius builds MCP servers and agents on n8n inside your own systems, with the permissions and logs set before launch. If you have a system your AI tools need to reach, book a discovery call. We will look at which tools it should expose.

More on this topic

Put your first workflow on the board

Answer a few questions about your team and what you want automated, then a senior partner scopes it with you on the call.