A tool call hangs. No error, no result, just silence after the request went out. MCP doesn’t hand you a fixed number of seconds to wait before giving up — that decision is left entirely to whichever client you’re running. What the spec does give you is a narrow set of rules for how a timeout should behave once you’ve picked one: when it’s allowed to reset, what has to happen when it fires, and why resetting it forever isn’t actually safe.
There’s no timeout value in the protocol
MCP is built on JSON-RPC 2.0 messages over a transport — see how that message format works — and neither JSON-RPC nor MCP itself specifies how long a sender should wait for a response. The spec’s guidance is a should, not a number: implementations should establish timeouts for all requests, specifically to prevent a hung connection from tying up resources forever. What that timeout actually is — five seconds, thirty, two minutes — is an implementation detail of the specific client or SDK you’re using, and it isn’t something you can discover by reading the server’s tool list. The closest thing to a visible symptom is the JSON-RPC error code a client raises when its own clock runs out, which is exactly what MCP error -32001, “Request timed out” means in practice: not that the server failed, but that the side waiting on it stopped waiting.
Progress notifications can buy a call more time
A long-running tool isn’t automatically doomed to hit that clock. If a request carries a progressToken, the server can send progress notifications while it works, and the spec allows a client to treat each one as a sign that the request is still alive — resetting its timeout clock instead of counting the whole call against one static deadline. That’s the mechanism that lets a crawl or a large export survive past whatever a client’s default timeout would otherwise allow, as long as the server keeps reporting that it’s still making progress.
It comes with a safety rule attached, and the rule matters more than the mechanism: the spec says a client should still enforce some maximum total timeout regardless of how many progress notifications arrive, precisely to bound what a misbehaving or stalled server can do to it. A server that sends a progress update every few seconds forever, without the underlying work ever actually finishing, is indistinguishable from a legitimately slow job unless something on the client side eventually says “enough” on its own. Progress notifications earn a call more patience. They don’t remove the ceiling.
What happens when the clock actually runs out
When a client’s timeout fires, the spec’s expected behavior is to send a cancellation notification for that request and stop waiting on it. That’s the same notifications/cancelled message covered in our piece on cancellation, and it inherits the exact same gap: it tells the server to stop sending work back over the connection, and says nothing about whatever that server had already set in motion on the other side of the call. A read-only lookup that times out is cheap to abandon. A tool call that writes, sends, or charges something may have already done it by the time the timeout fires — the timeout just stopped you from finding out.
That leaves the model (or the person driving it) in the same position described in our piece on tool idempotency: a timed-out call and a genuinely failed one look identical from the caller’s side, since neither produced a result. Retrying on a timeout is the reasonable default for a pure read. It is not a safe default for anything that isn’t one, and nothing about the timeout mechanism itself tells you which kind of tool you just called.
For genuinely long work, the better fix is to not wait at all
Tuning timeouts and progress updates still assumes the connection stays open for the whole job, which is the wrong shape for work that can take minutes rather than seconds. That’s the problem MCP Tasks is built for: instead of a request that blocks until it’s done, the server hands back a reference immediately and the caller checks on it later, on its own schedule, possibly from a different connection entirely. A timeout is a client refusing to keep waiting. A task is the protocol admitting that some work was never going to fit inside one request-response pair in the first place.
If you’re building a server
Don’t rely on the caller’s patience as your error-handling strategy. Set your own timeout on any upstream call your tool makes — a slow third-party API shouldn’t be able to hang your tool indefinitely just because it’s having a bad day — and return a clear, specific error once that internal timeout fires, instead of letting the client’s own clock be the only thing that ever ends the call. If a tool is legitimately slow by nature, send progress notifications so a client has a reason to keep waiting instead of guessing, and say in the tool’s description roughly how long it tends to take. A client deciding whether to wait thirty more seconds makes a very different choice with that information than without it.
latency_ms for every single call that passes through it, successful or not, and surface that in the plain-language activity log, including a median latency figure across recent calls. A tool that’s crept from “occasionally slow” to “times out half the time” shows up as a pattern in that log instead of staying invisible until someone happens to notice the spinner taking too long. See /mcp-gateway for the rest of what gate logs, or scan a server before you connect it.The bottom line
MCP leaves the actual timeout value up to whoever’s implementing the client, but it does specify the shape around that number: progress notifications can earn a slow call more time, a maximum timeout should exist regardless, and a timeout that fires is handled the same way a cancellation is — a request to stop, not a guarantee that nothing happened. Treat a timed-out write the same way you’d treat a cancelled one: unconfirmed until proven otherwise, not simply failed.