Expand description
Package specs for interpreter-launched MCP servers.
command: npx, args: ["@yawlabs/fetch-mcp"] runs whatever the registry
serves at spawn time. The binary pin cannot help here — it hashes npx
(see crate::exec::is_interpreter_command) — so the first thing that can
is knowing which release the user approved.
This module only parses and resolves the spec. Verifying the bytes that actually get executed needs package-manager cache introspection or a MUR-owned install, which is tracked separately.
Structs§
- Package
Spec - A package spec found in an interpreter entry’s args.
Enums§
Functions§
- parse_
spec - Find the package spec an interpreter entry will run.
- pinned_
version_ of - Find
name==versionfornamein auv pip compilelockfile. - resolve_
current_ version - Ask the package manager which version it would resolve right now.
- runner_
for - The runner behind a command, for callers that already know it’s one.