What is capability negotiation in MCP?hard

Type
conceptual
Topic
capability-negotiation
Frequency
common
Tags
mcp, handshake
Answer

The handshake where a client and server exchange what features and primitives each supports before doing real work.

Explanation

On connect, the client and server declare their supported capabilities — for example whether the server offers resources or prompts, or whether the client supports sampling. This lets the protocol evolve without breaking older hosts or servers.

Follow-upWhat happens if a client requests a capability the server doesn't support?