cli-mcp-go-ecosystem / module versions

module versions - cli-mcp-go-ecosystem CLI reference

NAME

versions - all known versions of a module

SYNOPSIS

versions

DESCRIPTION

Returns every version the proxy knows about for a module path. Output is a JSON array of version strings:

["v3.0.0","v3.0.1","v3.1.0",...,"v3.9.0"]

MCP tool name: module_versions. Input: args (string array, first element is the module path).

Examples:

cli-mcp-go-ecosystem module versions github.com/urfave/cli/v3
# ["v3.0.0-alpha1","v3.0.0-alpha2",...,"v3.9.0"]

# MCP form
mcporter call go-ecosystem.module_versions \
  --args '{"args":["golang.org/x/mod"]}'

# module path with no versions, or unknown to proxy
cli-mcp-go-ecosystem module versions github.com/nope/nope
# error: ...

Versions are returned in proxy order (typically chronological by publication, not strictly semver-sorted). Sort client-side if you need semver ordering. Retracted versions ARE included; cross- reference with module info to identify them.

Usage:

versions [GLOBAL OPTIONS] [command [COMMAND OPTIONS]] [ARGUMENTS...]