NAME
gomod - raw go.mod text for a specific version
SYNOPSIS
gomod
DESCRIPTION
Returns the raw text of go.mod as published with the given version. NOT JSON; this is the literal file contents.
MCP tool name: module_gomod. Input: args (string array; first
element is module path, second is version).
Examples:
cli-mcp-go-ecosystem module gomod github.com/urfave/cli/v3 v3.9.0
# module github.com/urfave/cli/v3
#
# go 1.18
# ...
# MCP form, the result content is the raw text
mcporter call go-ecosystem.module_gomod \
--args '{"args":["github.com/urfave/cli/v3","v3.9.0"]}'
Use this to inspect a module's declared dependencies and minimum Go
version without downloading the full module zip. Pair with
module info to verify you have the right version pinned.
Usage:
gomod [GLOBAL OPTIONS] [command [COMMAND OPTIONS]] [ARGUMENTS...]