{"version":"2.1.333","anchor":"stdio-mcp-servers-run-through-npx-get-resolved-to-a-plain-no","canonical_anchor":"plugin-mcp-servers-launched-via-npx-can-be-run-from-the-lock","heading":"MCP servers started with npx can be run directly with node, and plugin servers from their lockfile","tier":"notice","area":"MCP","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/stdio-mcp-servers-run-through-npx-get-resolved-to-a-plain-no","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### MCP servers started with npx can be run directly with node, and plugin servers from their lockfile\n\nClaude Code can now turn npx MCP server commands into plain node runs, using a plugin's lockfile when it passes checks, behind two server-side switches\n\n**Unclear.** What switches this on, and when it runs, is not shown.\n\n**What**\n\nAn MCP server is an add-on program that gives Claude extra tools. Many are started with `npx`, a command that downloads a package and runs it. New code can now replace such a command with `node <program>`, which runs the package's program directly.\n\n- For local MCP servers started with `npx`, Claude Code asks npm where the package's program is, using `npx --no`. If it is a plain node script, Claude Code runs it with `node` instead of going through npx.\n\n- For MCP servers that come from a plugin, Claude Code installs only the packages listed in the plugin's lockfile. A lockfile is a file that pins exact package versions. Before using it, Claude Code checks the registry addresses, the integrity hashes, any install scripts and that the program starts as a node script.\n\n- If those checks fail, the server either falls back to plain `npx` or is not started at all, depending on the setting. A refusal reads: \"Not started: this plugin's lockfile can't be used. Update the plugin once its author has fixed it.\"\n\n- The plugin path sits behind two server-side switches, `tengu_eventual_cookie` and `tengu_lively_tarjan`. Each defaults to \"off\", and the values \"on\" or \"enforce\" turn the code on. Nothing has been read about either switch.\n\n**Why**\n\nPlugin MCP servers can be launched with exactly the package versions the plugin author pinned, instead of whatever npx fetches at launch. If the stricter mode applies to you, a plugin with a broken lockfile can stop its MCP server from starting until the plugin is updated.\n\n- Area: MCP\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}