1. Home
  2. What MCP Clients and Servers Offer Each Other

What MCP Clients and Servers Offer Each Other

An MCP connection is a trade. The server brings tools, resources and prompts, and the client can bring sampling, roots and elicitation.

published

People often talk about MCP as one wire from an AI app to a tool. The spec draws it as a trade. Each side brings something. Each side gets something back. A workflow that runs on a clock, like one started by the n8n Schedule Trigger, needs none of this.

Three parts in every connection

The spec names three roles. It says hosts are LLM applications that initiate connections. It says clients are connectors within the host application. It says servers are services that provide context and capabilities.

So a chat app is the host. Inside it sits one client for each server it talks to. The server is the thing on the far end. The specification says the protocol uses JSON-RPC 2.0 messages between hosts, clients and servers.

What a server brings

The specification says servers can offer resources, prompts and tools to clients. Each one is a bit different.

It says a server's tools are functions for the AI model to execute. It says a server's resources are context and data for the user or the AI model to use. It says a server's prompts are templated messages and workflows for users.

Look at who each one is for. Tools are for the model. Prompts are for the person. Resources can go to either one.

What a client brings back

The trade goes the other way too. A server can ask things of the client. The specification says clients may offer sampling, roots and elicitation to servers.

This last one is easy to picture. The specification says elicitation is a server-initiated request for more information from users. Say a server is missing a detail. It can ask the person for it through the client.

The word "may" matters. A client does not have to offer any of the three. It can offer some, all or none.

How the two sides agree

Nobody has to guess what the other side can do. The specification says the protocol connections are stateful and servers and clients negotiate capabilities. Each side says what it can do when they first connect. After that, each one sticks to what the other said yes to.

Why the trade needs care

More power on each side means more risk. The spec is plain about this. The specification says tools represent arbitrary code execution and must be treated with appropriate caution. It says hosts must obtain explicit user consent before invoking any tool.

It also says MCP itself cannot enforce its security principles at the protocol level. The rules live in the host and the client. So the job falls to you. When you wire a client to a new server, read what that server offers. Then let it run.