{"version":"2.1.334","anchor":"plugin-launches-via-npxuvx-can-be-pinned-to-the-directory-l","canonical_anchor":"plugin-launches-via-npxuvx-can-be-pinned-to-the-directory-l","heading":"Plugin MCP servers can be limited to package versions from when the plugin was listed","tier":"soon","area":"Plugins","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/plugin-launches-via-npxuvx-can-be-pinned-to-the-directory-l","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Plugin MCP servers can be limited to package versions from when the plugin was listed\n\nPlugin MCP servers started with npx or uvx can be held to package versions that existed when the Anthropic Directory listed the plugin, under `tengu_cozy_horizon`\n\n**What**\n\nA plugin can start an MCP server, an outside tool server that Claude Code connects to, using a command such as `npx` or `uvx` that downloads packages when it runs. New code can now rewrite that command so it only installs package versions that existed when the Anthropic Directory listed the plugin:\n\n- For `uvx`, it adds `--exclude-newer=<time>`.\n\n- For npm-style commands, it adds `--before=<time>` and a pinned version, and can first build a lockfile (a file that fixes exact package versions).\n\n- In `enforce` mode, if this fails the server is not started and you see \"Not started: this plugin's packages can't be installed safely\".\n\n- In `on` mode, a failure is only recorded and the server starts as before.\n\n- The rewrite is skipped when you have your own registry, `uv.toml` or similar settings.\n\nThis is tied to the remote switch `tengu_cozy_horizon`, a setting Anthropic's servers control. Nothing has been read about its state. Separately, Claude Code can now refresh its settings because a directory was removed (`directory_removed`), next to the existing reason for a directory being added (`directory_added`).\n\n**Why**\n\nPinning protects you from a package published after the plugin was reviewed, such as a tampered update. Watch for `enforce` mode: it can stop a plugin's server from starting if its packages cannot be installed this way.\n\n- Flag `tengu_cozy_horizon`: Not enough to say (read for one account on one subscription tier against v2.1.334; this account: no value returned, anonymous baseline: no value returned, compiled default: not a boolean we can read) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Plugins\n- Tier: Nothing to try yet\n- Useful: 3\/5\n- Signal: 4\/5\n- Scope: both\n- Heads-up: no\n- Present in the build but not switched on"}