⌨️MCP_CONNECTION_NONBLOCKING
Also known as MCP_CONNECTION_NONBLOCKING=0
Set to 0, it waits for MCP servers before the first prompt.
Think of it like
It is like you start the meal while some guests are still on their way.
Example
Jack's first prompt always needs his database server, but it was not ready yet. He sets this to 0, and the tools are there from the start.
Why it matters
Not waiting makes start fast. Waiting makes sure the first prompt has every tool.
Definition
Example code
bash
export MCP_CONNECTION_NONBLOCKING=0
claudeCommon mistake
Key takeaways
- 1Default: no wait. Tools arrive later.
- 20 waits. Before the first prompt.
- 3alwaysLoad waits. Either way.