Module validation

Module validation 

Source

Functionsยง

canonical_reference_key
Canonical key (host, org, repo) all lowercased, without .git
get_host_from_url
Extract host from SSH/HTTPS URLs
is_git_url
Return true if string looks like a git URL we support
is_https_url
True if URL starts with https://
is_ssh_url
True if the URL uses SSH schemes we do not support in MCP
sanitize_mount_name
Sanitize a mount name for use as directory name
validate_reference_url
Validate that a reference URL is well-formed and points to org/repo (repo-level only)
validate_reference_url_https_only
Validate MCP add_reference input: