list_versions

Pack: pkg-go-dev · Endpoint: https://gateway.pipeworx.io/pkg-go-dev/mcp

List all published versions of a Go module by its import path (e.g. “github.com/gin-gonic/gin”) from proxy.golang.org. Returns a sorted array of semver version strings.

Parameters

NameTypeRequiredDescription
module_pathstringyesModule import path (e.g. “github.com/gin-gonic/gin”, “golang.org/x/net”)

Example call

Arguments

{
  "module_path": "github.com/gin-gonic/gin"
}

curl

curl -X POST https://gateway.pipeworx.io/pkg-go-dev/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_versions","arguments":{"module_path":"github.com/gin-gonic/gin"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('list_versions', {
  "module_path": "github.com/gin-gonic/gin"
});

More examples

{
  "module_path": "golang.org/x/net"
}

Response shape

Always returns: module_path, count, versions

FieldTypeDescription
module_pathstringModule import path
countintegerNumber of published versions
versionsarrayList of published versions, sorted
Full JSON Schema
{
  "type": "object",
  "properties": {
    "module_path": {
      "type": "string",
      "description": "Module import path"
    },
    "count": {
      "type": "integer",
      "description": "Number of published versions"
    },
    "versions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of published versions, sorted"
    }
  },
  "required": [
    "module_path",
    "count",
    "versions"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "pkg-go-dev": {
      "url": "https://gateway.pipeworx.io/pkg-go-dev/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026