Estimate Project

What is an MCP server? How it works and when your product needs one

A smiling chat bubble plugs one cable into a socket box wired to database, folder, calendar and wrench icons, while a black cat watches.

An MCP server is a program that lets AI applications such as Claude, ChatGPT, Cursor, and Visual Studio Code read data from your product and take actions in it through the Model Context Protocol (MCP), an open standard that Anthropic released in November 2024. The server offers three kinds of capability: tools for actions, resources for data, and prompts for ready-made instructions. Any AI application with an MCP client can connect to the server and use the capabilities that client supports.

What an MCP server is

An MCP server is a connector between AI applications and one system: a product, a database, a file store, or an internal service. It does not contain an AI model. It publishes a list of capabilities with plain-language descriptions, and the AI application decides when to use them. The official MCP documentation compares the protocol to a USB-C port: one standard plug instead of a different cable for every device.

Before MCP, each new data source required its own custom implementation, as Anthropic wrote when it introduced the protocol. In December 2025, Anthropic counted more than 10,000 active public MCP servers and named ChatGPT, Cursor, Gemini, Microsoft Copilot, and Visual Studio Code among the products that had adopted MCP.

An example: our MCP server for Open WebUI knowledge bases

Open WebUI is a self-hosted AI chat platform that companies run on their own servers, often with a knowledge base of internal documents. Our team built an MCP server for Open WebUI knowledge bases in TypeScript and released it as open source, along with a Python version. It gives AI applications such as Cursor and Claude Desktop four tools: list the available knowledge bases, search one of them, get details about one, and read the full text of a file in it. It runs either on the developer's computer or as a remote service, and every connection uses its own Open WebUI API token, so the AI sees only what that token's owner is allowed to see. In remote mode, the server forwards each user's own token to Open WebUI, a shortcut made for a team's internal tool rather than for outside users.

How an MCP server works

Every connection has three participants: a host, a client, and a server. The host is the AI application that the user works in, and it creates one MCP client for each server it connects to. The client gets the server's list of tools, the model picks the one that fits the user's request, and the server runs it and returns the result.

ParticipantRoleExamples
MCP hostThe AI application the user talks to; it calls the language model and manages the clientsClaude Desktop, ChatGPT, Cursor, Visual Studio Code
MCP clientA component inside the host that keeps the connection to one serverOne client per connected server, created by the host
MCP serverA program that offers tools, resources, and prompts from one systemA filesystem server, a server for an issue tracker, our Open WebUI server

Tools, resources, and prompts

The MCP specification defines three kinds of capability that a server can offer, and gives the decision to use each of them to a different party.

CapabilityWhat it isWho decides to use itExample
ToolsFunctions that take an action or retrieve informationThe model; the user should be able to deny the callCreate a support ticket, look up an order, search a knowledge base
ResourcesData that the application attaches to the conversation as contextThe host applicationA file, a database record, a document
PromptsReady-made instruction templates for common tasksThe user, for example through a slash command or a menuA template that summarizes a customer account

Most business servers start with tools, because tools let an assistant act on what the user asked for. Each tool has a name, a description, and a JSON Schema that defines its inputs. The model reads the descriptions to choose a tool, so their wording matters as much as the code behind them.

What happens when the AI uses a tool

The messages between client and server use JSON-RPC 2.0, a common format for remote calls. A typical exchange goes like this:

  1. The client asks the server for its list of tools and gives the list to the host.
  2. The user asks a question, and the model decides from the tool descriptions that one tool can help.
  3. The host should ask the user to approve the call: the specification says a person should always be able to deny a tool call.
  4. The client sends the call with its arguments, and the server checks permissions, runs the action in your system, and returns the result.
  5. The model uses the result in its answer or calls another tool.

Local and remote servers

The protocol defines two standard transports, the ways messages travel between client and server. With stdio, the host starts the server as a process on the same computer and talks to it through standard input and output. This local setup is typical for developer tools and file access, and the server reads its credentials from the local environment. With Streamable HTTP, the server runs on the web and every message is an HTTP request to one endpoint. A remote server can serve many users at once, and for sign-in the specification describes an authorization flow based on OAuth 2.1.

What the 2026-07-28 release (MCP 2.0) changed

MCP versions are dates, not numbers. The release published on July 28, 2026, which some people call MCP 2.0, is officially the 2026-07-28 revision of the specification. It made the protocol stateless and removed its sessions: every request carries its protocol version and the client's capabilities, so the server can process each request on its own. In practice, a remote MCP server can now scale mostly like an ordinary web service. For a company that picks or connects MCP servers, the release changes four more things:

  • Both sides need a shared revision. According to the compatibility rules, a client that speaks only the new revision cannot use a server built for the 2025 revisions. Ask a vendor which revisions its server and its AI clients support; a server can serve both.
  • Simpler sign-in for AI applications. An AI application can now identify itself to your sign-in service with a public metadata file at an HTTPS address, a Client ID Metadata Document. The older way, where each application registers itself through an API call, is deprecated, and clients must check that each sign-in response comes from the expected sign-in service.
  • Easier control at the network edge. Each HTTP request names the called method and tool in its headers, so a gateway or firewall can route or rate-limit tool calls without reading the message body.
  • New features arrive as extensions. Optional extensions now have a formal place in the protocol: MCP Apps shows charts and forms inside the chat, Tasks runs long jobs, and Enterprise-Managed Authorization gives a company central control over access. Each one works only when both the client and the server support it.

The same release deprecated three older features: Sampling, which let a server borrow the AI application's model; Roots, which told a server which folders it may use; and Logging. They keep working for at least twelve months, but a server you choose today should not depend on them.

What an MCP server gives your business

Customers and employees reach your product's data and actions from the assistant they already work in, and you still decide which actions an AI may take and under whose permissions.

  • Build once, connect to many clients. The same server code serves Claude, ChatGPT, Cursor, Visual Studio Code, and other MCP clients, though some clients add their own packaging, as ChatGPT does with plugins.
  • A new way for customers to use your product. A customer can ask an assistant to check an order, prepare a report, or update a record without opening your interface.
  • Internal automation. Servers on top of a CRM, a ticket system, or a knowledge base let employees ask an assistant for data instead of searching several systems by hand.
  • Access you can audit. Every call passes through code you own, where you can check permissions and keep a log of what the AI did.

Risks and what MCP does not solve

MCP standardizes the connection, but it does not make the connection safe. The specification states that tools represent arbitrary code execution and that MCP cannot enforce its security principles at the protocol level. Consent, access control, and data protection are the work of whoever builds the host and the server.

  • Instructions hidden in data. Text that a tool returns, such as an email, a support ticket, or a web page, can contain instructions aimed at the model. This attack is called prompt injection. It is not only a lab risk: Microsoft fixed such a flaw in Microsoft 365 Copilot, CVE-2025-32711, in June 2025. Treat returned content as untrusted, and ask the user to confirm actions that change data or spend money.
  • Tool descriptions you cannot verify. The specification warns that descriptions of tool behavior should be considered untrusted unless they come from a trusted server. A third-party server can describe a tool one way and behave another way.
  • Token handling. The official security best practices call token passthrough an anti-pattern: a server should accept only access tokens issued for itself and should not forward a client's token to another API, the shortcut the Open WebUI example above takes.
  • Local installs. A local server runs on the user's machine and may have direct access to it. The same guide describes attacks through malicious startup commands and through harmful code inside downloaded servers, so install local servers only from sources you trust.
  • Too many tools. Every tool description takes space in the model's context, and a long list of similar tools makes a wrong choice more likely.

When you do not need an MCP server

An MCP server pays off when AI applications outside your own code need your product or data.

  • One AI feature in your own product. A support chatbot in your app that looks up orders in your backend can do that with direct function calls through the model provider's API, and a protocol layer would add work without adding users.
  • No API or clean data yet. An MCP server wraps functions that already exist. If the system has no API and the data is spread across spreadsheets, that work comes first.
  • Public content only. If you only want AI assistants to read your public documentation, a well-structured documentation site may be enough.
  • Questions over a fixed set of documents in one app. Retrieval-augmented generation (RAG), where the app finds relevant passages and adds them to the model's prompt, covers this case without a separate server.

What it takes to build an MCP server

Building a server means choosing the use cases, designing a small set of tools around them, connecting the tools to your system's API, adding authorization, and testing the server with the AI clients your users have. The protocol has official SDKs for several programming languages, and the MCP Inspector lets developers call a server's tools by hand while they test it. The steps with code are in our guide on how to build an MCP server, and the difference from a regular API is covered in MCP vs API.

“It is tempting to turn every API endpoint into a tool. It works better the other way around: one tool for each task a user would actually ask for, such as refunding an order, even if it calls several endpoints underneath. Then the permission check and the test cover the same thing the user wanted.”

Alexander Storozhevsky, Lead developer at Ronas IT

At Ronas IT, an MCP server counts as one AI feature, which costs from $3,000 per AI feature, and the work takes from one week, with the connection to your product's existing API included. If the product has no API yet, building it is quoted separately. A remote server also needs hosting: we can run it, with monitoring, in your own cloud account from $200 per month. How many systems the server connects to and how detailed its access rules are set the final scope of custom MCP server development.

What to do next

  1. Write down a few tasks that users or employees would ask an AI assistant to do in your product.
  2. For each task, check whether your product has an API for it and decide who may run it.
  3. Decide where the AI clients are: outside your product, which calls for an MCP server, or only inside it, where direct function calling is enough.

Planning an MCP server for your product? Tell us which tasks an AI assistant should handle, and we will propose the first tools and give you a preliminary estimate.

Frequently Asked Questions (FAQs)

What does MCP stand for?

MCP stands for Model Context Protocol. "Context" here means the information and actions a language model gets from outside its training data, such as a customer record or the ability to create a ticket. An MCP server is a program that implements the server side of this protocol for one system.

What does an MCP server do?

It answers requests from AI applications. It tells them which actions and data it offers, runs the actions they ask for in the system behind it, and returns the results in a format the model can read. The server does not run a language model itself: the model stays in the AI application.

Does ChatGPT support MCP servers?

Yes. OpenAI's developer documentation describes how a remote MCP server can make data available through a plugin in ChatGPT and Codex, through ChatGPT deep research and company knowledge, and through the OpenAI API.

Do I need an MCP server?

You need one when AI applications outside your own code, such as Claude or ChatGPT, should use your product's data or actions on behalf of your users. If the only AI feature lives inside your app, its model can call your backend directly through function calling.

Is an MCP server an actual server?

Not always. "Server" names its role in the protocol, not the hardware. A local MCP server is a small program that the AI application starts on the user's own computer, which is common for developer tools. A remote MCP server runs on the web and accepts connections from many users, which is the usual choice when a company wants its customers to connect.

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

An API is a general interface for programs, and developers read its documentation and write code against it. An MCP server describes a chosen set of actions in a form that a model can discover and call while it works on a user's request. Most MCP servers call an existing API underneath, so a product usually needs both.

Is MCP secure?

The protocol gives remote servers an authorization flow based on OAuth 2.1, but it cannot make a careless server safe. Security depends on the server: which actions it exposes, how it checks each user's permissions, how it treats tokens, and whether it logs what the AI did. Third-party servers deserve the same review as any other software you install.

Who maintains the Model Context Protocol?

Anthropic released MCP as an open standard in November 2024. In December 2025, it donated the protocol to the Agentic AI Foundation, a fund under the Linux Foundation co-founded by Anthropic, Block, and OpenAI. The specification is developed in the open and is published in dated revisions; the current one is 2026-07-28.

Can AI agents use MCP servers?

Yes. An AI agent is an application that plans and carries out several steps toward a goal, and MCP servers give it the tools for those steps: search a knowledge base, read a record, then update it. The same rules apply as for a chat assistant: narrow tools, permission checks, and confirmation for actions that change data.

Related posts

A black cat tightens a stacked server box with a wrench on a workbench; a cable runs to a smiling chat bubble beside database, key and gear icons.
How to
How to build an MCP server: 7 steps from the first tool to production
2026-12-03 • 17 min read
A laptop and a smiling chat bubble holding tool cards plug cables into one socket box with data icons, while a black cat watches.
Tech
MCP vs API: what changes when an AI model calls your product
2026-12-03 • 12 min read
A developer kneels with a wrench to assemble a robot, asking a question in a speech bubble while the robot answers with a smile
How to
How to build a custom AI agent: steps, architecture, and cost
2026-11-16 • 22 min read
Robot arms, a robot and a humanoid head work beside server racks, a brain under a glass dome, charts and a mechanical hand
Tech
AI-based knowledge management system: how it works, buy or build, and what it costs
2026-11-05 • 18 min read
Robot arms place cards, a light bulb and a chart around a window with a chat between two users and a robot
How to
AI business integration: how to add AI to the processes you already run
2026-11-17 • 14 min read