go_mod
Pack: goproxy · Endpoint: https://gateway.pipeworx.io/goproxy/mcp
go.mod content.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
module_path | string | yes | |
version | string | no |
Example call
Arguments
{
"module_path": "github.com/sirupsen/logrus",
"version": "v1.9.3"
}
curl
curl -X POST https://gateway.pipeworx.io/goproxy/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"go_mod","arguments":{"module_path":"github.com/sirupsen/logrus","version":"v1.9.3"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('go_mod', {
"module_path": "github.com/sirupsen/logrus",
"version": "v1.9.3"
});
More examples
{
"module_path": "github.com/google/uuid"
}
Response shape
Always returns: module_path, version, body
| Field | Type | Description |
|---|---|---|
module_path | string | The module path |
version | string | The version string |
body | string | Content of the go.mod file |
Full JSON Schema
{
"type": "object",
"description": "go.mod file content for a module version",
"properties": {
"module_path": {
"type": "string",
"description": "The module path"
},
"version": {
"type": "string",
"description": "The version string"
},
"body": {
"type": "string",
"description": "Content of the go.mod file"
}
},
"required": [
"module_path",
"version",
"body"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"goproxy": {
"url": "https://gateway.pipeworx.io/goproxy/mcp"
}
}
}
See Getting Started for client-specific install steps.