Environment variables

CLAUDE_CODE_MCP_ALLOWLIST_ENV

Restricts stdio MCP servers to a safe baseline environment plus their configured env variables.

Syntax

CLAUDE_CODE_MCP_ALLOWLIST_ENV

Type to search the reference, templates and lessons.