# MCP client

> Canonical: https://skillalmanac.com/glossary/mcp-client | Last verified: 2026-11-25 | Index status: index-eligible

An MCP client is the component inside an AI application, called the MCP host, that keeps a dedicated connection to one MCP server and obtains context from it for the host to use. The host creates one client per server.

Also called: MCP clients, Model Context Protocol client.

## In plain language

An MCP client is the connector inside an AI app that talks to one tool server. The Model Context Protocol is an agreed set of rules, called a protocol, for AI apps to use outside tools and data. The app itself, such as Claude Code, is called the host. When you add a server, the host creates a client for it, a bit like a phone line dedicated to one contact. People often say client when they mean the whole app. In MCP the client is the part that holds the connection, while the server is the program that provides tools. The limit: a client only reaches servers the host has configured, and what you approve there is an access decision.

## Technical definition

The MCP architecture overview defines three participants. The MCP host is the AI application that coordinates one or more clients. An MCP client is a component that maintains a connection to an MCP server and obtains context from it for the host to use. An MCP server is a program that provides context to clients. The host creates one client for each server, and each client keeps a dedicated connection with its server. Over the data layer the client discovers a server's tools, resources and prompts with list requests, and executes tools with tools/call. The overview names elicitation as a client feature and lists roots and sampling as deprecated as of protocol version 2026-07-28. Local stdio servers typically serve one client; remote Streamable HTTP servers typically serve many.

## How it shows up when you use agents

You usually do not handle an MCP client directly. In Claude Code, Cursor or another host you add a server to a configuration, and the host starts a client for it. That client connects, asks the server which tools it offers, and passes the list to the model. When the model chooses a tool, the host routes the call through the matching client and returns the result. This is [tool calling](/glossary/tool-calling) through the shared [Model Context Protocol](/glossary/model-context-protocol).

What breaks when the roles are mixed up: people look for a server setting when the fix is on the host side, or build a server when they only needed to configure an app to use an existing one. A server written for the wrong transport breaks the session. Credentials are another confusion: MCP recommends OAuth to obtain authentication tokens, per the architecture page, and the authorization specification says a server must not pass through the token it received from the client. The [MCP client vs MCP server](/learn/mcp-client-vs-mcp-server) guide covers this.

Next action: run `claude mcp list` to see the connections your session has and their status. If a server needs authentication, fix it on the host before debugging the server.

## Common confusions

- **MCP client versus MCP host.** The host is the AI application. The client is a component inside it that keeps one connection. The architecture overview says the host creates one client per server.
- **MCP client versus MCP server.** The server provides tools, resources and prompts. The client connects to it and obtains that context for the host to use.
- **MCP client versus API client.** An MCP client is itself a protocol client. It uses MCP's shared message formats and discovery operations; API clients in general are not necessarily limited to hard-coded endpoints.
- **Client versus decision-maker.** In a common LLM tool loop, the model requests a tool and the host routes it through a client. The protocol client is the communication component; the application determines its decision flow and controls. A protocol connection does not establish that a particular approval interface exists.

## Worked examples in this catalogue

### [MCP Client vs MCP Server: Who Starts Calls and Holds Keys](https://skillalmanac.com/learn/mcp-client-vs-mcp-server)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A comparison table of client and server: where each runs, who sends requests, and where credentials live, with a worked case of a remote server and a user's token.

Why it exercises the concept: It separates the client role from the server role, which is the distinction this entry defines.

### [How MCP Servers Work: Message Flow and Transports](https://skillalmanac.com/learn/how-mcp-servers-work)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The message flow between a host, the client it creates for a server, and the server, over stdio or Streamable HTTP.

Why it exercises the concept: It shows the client's job in order: connect, discover tools, then call them when the model asks.

### [mcp-builder](https://skillalmanac.com/skills/anthropic/mcp-builder)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A guide for building Model Context Protocol servers that connect an agent to outside services.

Why it exercises the concept: This skill covers the server side. Reading it clarifies what a client receives. It does not configure clients.

### [Claude Code](https://skillalmanac.com/tools/claude-code)

```
claude mcp list
```

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Claude Code prints the MCP servers configured for it, with a status next to each one, such as connected or needing authentication.

Why it exercises the concept: Claude Code is an MCP host, so each line corresponds to a connection its clients maintain to a server.

## Related terms

- [Model Context Protocol (MCP)](https://skillalmanac.com/glossary/model-context-protocol.md)
- [Tool calling (function calling)](https://skillalmanac.com/glossary/tool-calling.md)
- [Agent harness](https://skillalmanac.com/glossary/agent-harness.md)
- [AI agent](https://skillalmanac.com/glossary/ai-agent.md)
- [Coding agent](https://skillalmanac.com/glossary/coding-agent.md)

## Sources

- [Architecture overview](https://modelcontextprotocol.io/docs/learn/architecture), Model Context Protocol (accessed 2026-11-24)
- [Connect Claude Code to tools via MCP](https://code.claude.com/docs/en/mcp), Anthropic (Claude Code Docs) (accessed 2026-11-24)
- [Authorization](https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization), Model Context Protocol (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
