OmniscioGuidesMCP tool call timed out
MCP server tool call timed out after Ns: which limit ran out
An MCP tool call can end on three different clocks, and the message gives you the number of seconds it ran before it was stopped. Comparing that number with the three limits is the difference between a one-line setting change and a rewrite.
Checked against Anthropic's Claude Code documentation and changelog on November 25, 2026. By the Omniscio team. Updated .
What is the exact message?
The full form, which appears when the server asked a question during the call:
MCP server "<name>" tool "<tool>" timed out after <N>s. The server asked the user a question, and no answer came before the time limit. Do not call this tool again in this turn. Tell the user that the server's question got no answer, and wait for their reply.The last two sentences are instructions to Claude, not to you. The message is a tool result rather than a stopped turn, so the conversation continues and Claude is told not to retry the same call.
Before v2.1.310, the result ended at timed out after <N>s and said nothing about the question, so an older transcript showing that ending does not mean the server stayed silent.
What does it mean?
Claude Code stopped waiting for the server. The server's own work is a separate matter: as with a background call you stop from /tasks, stopping does not guarantee the server stops, so the call may still be running there and its result never reaches Claude.
The three clocks a call runs against
- The wall clock, meaning total elapsed time. It is the per-server
timeout, orMCP_TOOL_TIMEOUTacross servers. It is a hard limit per call, and the server's progress notifications do not extend it. - The per-request timer. For an HTTP, SSE or claude.ai connector server, a second timer runs to the first response byte. Claude Code sets it to the greatest of 60 seconds, the tool timeout that applies, and
MCP_TIMEOUT, which is the connection timeout you may already have set for slow-starting servers. Stdio and WebSocket servers have no such timer. - The idle window. A server that sends neither a response nor a progress notification for the window is aborted instead of waiting for the wall clock. The window is five minutes for a server Claude Code reaches over HTTP, SSE, WebSocket or a claude.ai connector, and thirty minutes for one it launches as a command, which is what stdio means. It does not apply to IDE servers or to servers an Agent SDK program runs inside its own process.
That ordering matters more than any single setting. A stop at about five minutes under a 10-minute MCP_TOOL_TIMEOUT is the idle window, and raising MCP_TOOL_TIMEOUT changes nothing. A per-server timeout behaves differently: it raises the idle window's floor to at least its own value.
Why a fast stop usually means the question
A server that asks for input through elicitation waits for a person. In a non-interactive run there is nobody to ask, so the call sits until its limit and then reports. That is the case the long message is describing, and its fix is an answer, not a longer clock.
How do I fix it?
Which clock your server runs on
The timers differ by how Claude Code reaches the server, and the message does not say which you have. Look at the server's entry: an entry with a url is HTTP, SSE or WebSocket, and an entry with a command is a server Claude Code launches itself, which is stdio and has no per-request timer.
The entry lives in a project's .mcp.json, in ~/.claude.json for a user or local scope, or in the entry claude mcp add wrote. Adding timeout to it looks like this:
{
"mcpServers": {
"inventory": {
"type": "http",
"url": "https://mcp.example.com/mcp",
"timeout": 600000
}
}
}If the call legitimately needs longer
- Add
timeoutto that server's configuration entry, in milliseconds, as above:"timeout": 600000is ten minutes. It overridesMCP_TOOL_TIMEOUTfor that server only. - Values below 1000 are ignored and fall through to
MCP_TOOL_TIMEOUT, whose default when unset is about 28 hours, so a small number is not a way to fail faster. - On an HTTP, SSE or connector server, the per-request timer still has to be met: it is never shorter than 60 seconds and never shorter than the tool timeout you set.
If it stops with no response at all
- Set
CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUTin milliseconds to widen the idle window, or to0to turn the check off. - A per-server
timeoutof at least 1000 also acts as a floor on the idle window, so the server is never aborted for idleness sooner than that value. - Have the server send progress notifications during long work. They do not extend the wall clock, but they do reset the idle window.
If the message mentions the server's question
- Run the task in an interactive session and answer the server's dialog yourself. This is the only fix that does not require configuration.
- For automation, set up an
Elicitationhook that answers the server's requests. - In a TypeScript Agent SDK application, return the answer from the
onElicitationcallback before the limit runs out.
How do I know it is fixed?
- The same call returns a result. Nothing in the transcript changes except the tool result, so that line is the evidence.
- Compare what the message reported with the limits you have. A stop at the number you configured is that wall clock; a stop near five minutes or thirty is the idle window; and on an HTTP, SSE or connector server a stop near 60 seconds, with no tool timeout set, is the per-request timer.
- For a long call in the main conversation of an interactive session, the work moves to a background task after two minutes instead of blocking the session, and the result arrives as a task notification. Seeing it there is normal, not a second timeout. In a non-interactive run, calls only move to the background with
CLAUDE_AUTO_BACKGROUND_TASKS=1, so expect no notification there.
Where these answers come from
- Anthropic's error reference, MCP tool call timed out with the server's question unanswered, read November 25, 2026: the message, the elicitation cause, the three fixes and the v2.1.310 note.
- Anthropic's MCP page, time limits on MCP tool calls, read the same day: the per-server
timeout,MCP_TOOL_TIMEOUT, the per-request timer, the idle window, the values ignored, and the floor a per-server timeout puts on the idle window. - Anthropic's MCP page, automatic backgrounding of long tool calls, read the same day: the two-minute move to a background task,
/tasks, and that stopping a task does not guarantee the server stops. - Anthropic's hooks reference, Elicitation, read the same day: the hook that answers a server's elicitation request.
- Anthropic's Claude Code issue tracker, read the same day, for the reports that quote a timed-out MCP tool call.
Common questions
What does "MCP server <name> tool <tool> timed out after Ns" mean?
The tool call to that MCP server ran past a limit Claude Code enforces and was stopped. The server may still be working on it; what ended is Claude Code's wait. The N is the number of seconds the call ran before it was stopped, so comparing it with the limits above is how you tell a wall-clock timeout from an idle one.
What does the sentence about the server's question mean?
The server asked for input through elicitation in the middle of the call, and the call's time limit ran out before an answer came. In a non-interactive run nobody can answer it, so Claude Code now says so instead of reporting only a timeout. Before v2.1.310 the result ended at timed out after Ns and said nothing about the question.
How do I give an MCP tool call longer?
Add a timeout field in milliseconds to that server's configuration entry, or set MCP_TOOL_TIMEOUT for every server. The per-server value is a hard wall-clock limit per call, and progress notifications do not extend it. Values below 1000 are ignored and fall through to MCP_TOOL_TIMEOUT.
Why did the call stop sooner than the timeout I set?
Because a second timer can be shorter. A server that sends nothing for the idle window is aborted whatever the wall clock allows: five minutes for HTTP, SSE, WebSocket and claude.ai connector servers, thirty minutes for stdio. Raise it with CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT, or set it to 0 to turn the check off.
How do I answer the server's question automatically?
Add an Elicitation hook that answers the request, or in a TypeScript Agent SDK application return the answer from the onElicitation callback before the limit runs out. For a one-off, run the task in an interactive session and answer the dialog yourself.
Does Claude keep waiting after the timeout?
No, and the server may keep working. Claude Code stopped waiting, which does not mean the server stopped: the same is true when you stop a backgrounded call from /tasks, where Anthropic says stopping does not guarantee the server stops.