Skip to content

A plugin that fetches Go module information and latest versions from `proxy.golang.org`.

License

Notifications You must be signed in to change notification settings

hyper-mcp-rs/gomodule-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gomodule

A plugin that fetches Go module information and latest versions from proxy.golang.org.

What it does

Provides two main functionalities:

  1. go_module_latest_version: Fetches the latest version of multiple Go modules
  2. go_module_info: Fetches detailed information about multiple Go modules

Usage

Call with:

{
  "plugins": [
    {
      "name": "gomodule",
      "path": "oci://ghcr.io/hyper-mcp-rs/gomodule-plugin:latest",
      "runtime_config": {
        "allowed_hosts": ["proxy.golang.org"]
      }
    }
  ]
}

Example Usage

  1. Get latest version of multiple Go modules:
{
  "name": "go_module_latest_version",
  "params": {
    "module_names": "github.com/spf13/cobra,github.com/gorilla/mux,github.com/gin-gonic/gin"
  }
}
  1. Get detailed information about multiple Go modules:
{
  "name": "go_module_info",
  "params": {
    "module_names": "github.com/spf13/cobra,github.com/gorilla/mux,github.com/gin-gonic/gin"
  }
}

Returns:

  • For go_module_latest_version: A JSON object mapping module names to their latest version numbers
  • For go_module_info: An array of JSON objects containing detailed module information for each module, including:
    • Name
    • Latest version
    • Time
    • Version
    • And other metadata from proxy.golang.org

About

A plugin that fetches Go module information and latest versions from `proxy.golang.org`.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages