Sort the MCP messages
You're studying the MCP specification's schema.ts to understand how clients and servers talk. Some messages expect a matching reply; others are one-way events that need no response.
Getting this distinction straight is exactly what will matter later when you learn why the StreamableHTTP transport limits server-to-client messages.
This exercise is part of the course
Model Context Protocol: Advanced Topics
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise