Message flow ยท 2026-07-28

The client asks. The server answers.

Two cases, step by step. Whatever happens, every exchange begins with a request from the client.

MCP client
MCP server
tools/callthe client sends a request
notifications/progressoptional: the server reports on the request in flight
resultthe server answers the request
requestnot allowed: servers must not send requests

Every exchange starts with the client. The server answers, and may send notifications about the request in flight. It never sends a request of its own.

MCP client
MCP server
tools/callthe client sends a request
input_requiredthe server needs something mid-call
for example, the user confirms
tools/callthe client retries the original request, answers attached
resultthe server answers the original request

A server cannot ask the client a question. It replies with an input_required result, and the client sends the original request again with the answers attached.

Viktor Vedmich · vedmich.dev
teal: the client asks · amber: the server answers