What is an MCP client?
An MCP client is a component running inside an AI application that sets up and manages the protocol connection with a single MCP server, making that server's tools, resources and prompt templates available to the application.
It differs from an MCP server in role: the server offers and runs capabilities, while the client discovers them and forwards calls. It differs from the MCP host in scope: the host contains one or more clients, each connected to one server. The client is not a model.
- Topic
- Agents and protocols
- Also known as
- Model Context Protocol client
How an MCP client works
- The host creates a separate, isolated client for each server it connects to.
- The client learns the server's versions and capabilities; since the stateless 2026-07-28 revision each request carries its own protocol version and client capabilities.
- It fetches tool, resource and prompt lists; the host presents them to the model as context.
- When the model wants a tool, the client forwards the call and returns the result to the host (MCP transport).
In more detail
Client-side features: sampling, roots and elicitation
An MCP client does not only consume server capabilities; it can also expose client-side capabilities to servers, specifically Sampling (letting a server ask the host's LLM for a completion under user supervision), Roots (defining filesystem/URI boundaries the server may inspect) and Elicitation (gathering structured user input mid-request).
The client as a security and reliability checkpoint
In production hosts, the MCP client acts as an enforcement point for security and reliability: it namespaces tools from different servers to avoid name collisions, enforces user consent prompts before executing sensitive tools, applies request timeouts and truncates oversized tool responses before they overflow the model's context window.
Commonly confused terms
| Term | How it differs |
|---|---|
| AI agent or language model | An AI agent or LLM is the reasoning engine that decides which tool to call, whereas the MCP client is deterministic protocol plumbing, not a model, that serialises JSON-RPC messages and manages the server connection. |
Why an MCP client matters for on-premises AI
A separate client per server makes it harder for one server to reach another's data or connection. Which servers to connect, which tools may be called and user approval are controlled on the host and client side, so client settings are part of security (MCP security). Clients connecting over the network need authentication set up separately (MCP authorisation). In-house, clients and servers stay on the organisation's network.
A bank's in-house assistant opens a dedicated MCP client for the internal knowledge base; it connects only to a read-only database server and forwards authorised queries.
Common questions
How does an MCP client differ from an MCP server?
The client runs the connection and forwards calls. The server offers and runs tools, resources and prompt templates.
Can one MCP client connect to several servers?
No. In the MCP architecture each client connects to one server. When several servers are needed, the host opens a client for each.
Related terms
- Model Context Protocol
- MCP server
- MCP host
- MCP transport
- MCP tool
- MCP authorisation
- Tool calling
- MCP security
- MCP sampling
- MCP roots
Sources
Related page on this site: Related FAQ · In the glossary: Glossary, M to Q