--mcp-config<paths|json>
Loads MCP servers from JSON files or inline strings, space-separated.
FlagsIntegrations and environmentcurrent
What the documentation does not say
With -p, Claude Code waits for servers that are still connecting before the first turn, up to MCP_TIMEOUT, 30 seconds by default; a server whose tool list is cached skips the wait. The wait itself arrived in v2.1.221, which is why an older version could run the first turn without the tools it was given.
- Arguments
- <paths|json>