# WaitForMcpServers Tool

> It waits for a slow MCP server to be ready.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** WaitForMcpServers, MCP server connecting

## Think of it like

It is like waiting at the door for a friend who is on the way.

## Definition

The WaitForMcpServers tool waits for MCP servers that are still connecting in the background. Claude Code connects servers as the session starts, so a slow one may not be ready yet. When Claude needs a tool from a server that is not ready, it calls this tool and waits. Then it can use the server, and you do not have to start the session again.

## Example

Lucy asks for her calendar just after she starts Claude Code. The calendar server is still connecting. So Claude waits a moment, then uses it.

## Why it matters

A slow server does not mean starting the session again.

## Common mistake

Restarting when a server's tools seem missing at first. They may still be connecting.

## Three principles

- **Waits for servers.** Still connecting.
- **No restart.** Same session.
- **Called by Claude.** When it is needed.

## Related terms

- [MCP Server](https://learn.benibix.com/term/ai/mcp-server)
- [MCP Transport](https://learn.benibix.com/term/ai/mcp-transport)
- [ToolSearch Tool](https://learn.benibix.com/term/ai/tool-search-tool)

## Taught in

- [MCP Tools in Claude Code](https://learn.benibix.com/learn/ai-claude-code/mcp-tools-in-claude-code): Claude Code, 13/16

![MCP servers offer tools and resources. ToolSearch loads a tool when it is needed, and the resource tools list and read files.](https://learn.benibix.com/diagrams/ct-mcp-tools.svg)

---

Source: https://learn.benibix.com/term/ai/wait-for-mcp-servers-tool
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
