Skip to main content

mcp_name_from_npm

Function mcp_name_from_npm 

Source
fn mcp_name_from_npm(cmdline: &str) -> Option<String>
Expand description

npm exec @playwright/mcp@latest → playwright. Requires the literal npm + exec argv prefix; the package spec must resolve to an MCP name via mcp_friendly_name or this returns None.