{"version":"2.1.335","anchor":"mcp-lent-to-env-marker-and-org-policy-default","canonical_anchor":"mcp-lent-to-env-marker-and-org-policy-default","heading":"Cloud sessions mark MCP servers with an environment variable","tier":"internal","area":"Cloud Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/mcp-lent-to-env-marker-and-org-policy-default","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Cloud sessions mark MCP servers with an environment variable\n\nIn cloud sessions Claude Code sets `CLAUDE_MCP_LENT_TO` to cloud_session for MCP servers and removes any value it inherited\n\n**What**\n\nIn cloud sessions (Claude Code running on a remote machine), Claude Code sets the environment variable `CLAUDE_MCP_LENT_TO` to \"cloud_session\". An environment variable is a named value that programs started by Claude Code can read. Any value inherited from elsewhere is removed first.\n\nThe usage reports Claude Code sends after a request to the API succeeds or fails also gained two fields recording whether an internal feature was on and which version of it ran.\n\n**Why**\n\nThis is background setup for cloud sessions plus extra reporting, with no change to what you do.\n\n- Area: Cloud Sessions\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}