{"version":"2.1.331","anchor":"shell-env-filter-marks-tool-server-launches","canonical_anchor":"shell-env-filter-marks-tool-server-launches","heading":"Environment variable filtering now knows when it is launching a tool server","tier":"internal","area":"MCP","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/shell-env-filter-marks-tool-server-launches","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Environment variable filtering now knows when it is launching a tool server\n\nWhen Claude Code sets up environment variables for a tool server, its settings filter is now told it is a tool-server launch\n\n**Unclear.** It is not clear which variables are now passed or held back differently.\n\n**What**\n\nWhen Claude Code starts a tool server (a separate program, such as an MCP server, that gives Claude extra tools), it builds a set of environment variables for it. Environment variables are named values a program reads when it starts. The filter that applies your settings to those variables is now told that this is a tool-server launch. The check on each variable's name and value also changed.\n\n**Why**\n\nThe variables that reach MCP servers and other tool servers may differ from before.\n\n- Area: MCP\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}