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

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.

| Participant | Role | Examples |
|---|---|---|
| MCP host | The AI application the user talks to; it calls the language model and manages the clients | Claude Desktop, ChatGPT, Cursor, Visual Studio Code |
| MCP client | A component inside the host that keeps the connection to one server | One client per connected server, created by the host |
| MCP server | A program that offers tools, resources, and prompts from one system | A 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.
| Capability | What it is | Who decides to use it | Example |
|---|---|---|---|
| Tools | Functions that take an action or retrieve information | The model; the user should be able to deny the call | Create a support ticket, look up an order, search a knowledge base |
| Resources | Data that the application attaches to the conversation as context | The host application | A file, a database record, a document |
| Prompts | Ready-made instruction templates for common tasks | The user, for example through a slash command or a menu | A 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:
- The client asks the server for its list of tools and gives the list to the host.
- The user asks a question, and the model decides from the tool descriptions that one tool can help.
- The host should ask the user to approve the call: the specification says a person should always be able to deny a tool call.
- The client sends the call with its arguments, and the server checks permissions, runs the action in your system, and returns the result.
- 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
- Write down a few tasks that users or employees would ask an AI assistant to do in your product.
- For each task, check whether your product has an API for it and decide who may run it.
- 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?
What does an MCP server do?
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?
Is an MCP server an actual server?
What is the difference between an MCP server and an API?
Is MCP secure?
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.






