MCP client

An MCP client is the part of an AI application that connects to an MCP server and speaks the Model Context Protocol on the application's behalf.

How it works

A host application such as Claude Desktop, Cursor, VS Code or a custom agent creates one client for every server it connects to. The client agrees on capabilities with the server, asks which tools, resources and prompts are on offer, and sends the calls the model decides to make. A client can also offer features back to the server, such as MCP sampling and MCP elicitation.

Why it matters

Clients differ in what they support. Some only handle tools, others also handle resources, prompts and remote sign-in. That decides which servers work in which application, so it is worth checking before a team standardises on a client.

Where a gateway fits

To a client, a gateway looks like one MCP server. The client connects to a single address and the MCP gateway decides which servers and tools sit behind it.

Related terms

Further reading