Skip to main content

mcp_friendly_name

Function mcp_friendly_name 

Source
fn mcp_friendly_name(scope: Option<&str>, name: &str) -> Option<String>
Expand description

Friendly MCP name from a parsed (scope, name), or None when the package isn’t a recognized MCP server:

  • <base>-mcp / <base>-mcp-server -> <base>
  • package literally named mcp -> the scope (@playwright/mcp -> playwright)
  • server-<base> (the @modelcontextprotocol convention) -> <base>