CLI commands and flags

--mcp-config

Loads MCP servers from provided JSON configuration files or raw JSON strings.

Syntax

--mcp-config

Example

Terminal
claude --mcp-config ./mcp.json

Type to search the reference, templates and lessons.