claude_code.internal.mcp_config_json
The client's mcp_servers as one --mcp-config JSON string, or null when no server is attached. The map is read here, at render time, so a server added between turns rides the next turn's process.
Reference version
Signature
function claude_code.internal.mcp_config_json(
) -> string | null throws baml.json.SerializationError
The client's mcp_servers as one --mcp-config JSON string, or null when no server is attached. The map is read here, at render time, so a server added between turns rides the next turn's process.
Source:<builtin>/claude_code/ns_internal/cli.bamlbytes 9047–9345