Negotiating Capabilities
Check what features both sides support.
Not Everyone Speaks Every Feature
MCP is rich, but no client or server supports it all. So at startup both sides negotiate which features they have, like two devices agreeing on what they can do. 🤝
It Happens at Initialize
This deal is struck during the initialize handshake, the very first exchange. After it, each side knows what the other offers and what is off the table.
All lessons in this course
- What Roots Tell a Server
- Request the Client's Roots
- Negotiating Capabilities
- Respect Client Boundaries