latest_version
Pack: maven-central · Endpoint: https://gateway.pipeworx.io/maven-central/mcp
Most recent release version of (groupId, artifactId).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
group_id | string | yes | |
artifact_id | string | yes |
Example call
Arguments
{
"group_id": "org.apache.maven",
"artifact_id": "maven-core"
}
curl
curl -X POST https://gateway.pipeworx.io/maven-central/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"latest_version","arguments":{"group_id":"org.apache.maven","artifact_id":"maven-core"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('latest_version', {
"group_id": "org.apache.maven",
"artifact_id": "maven-core"
});
Response shape
Always returns: group_id, artifact_id, latest_version
| Field | Type | Description |
|---|---|---|
group_id | string | groupId queried |
artifact_id | string | artifactId queried |
latest_version | string | Most recent release version |
Full JSON Schema
{
"type": "object",
"properties": {
"group_id": {
"type": "string",
"description": "groupId queried"
},
"artifact_id": {
"type": "string",
"description": "artifactId queried"
},
"latest_version": {
"type": "string",
"description": "Most recent release version"
}
},
"required": [
"group_id",
"artifact_id",
"latest_version"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"maven-central": {
"url": "https://gateway.pipeworx.io/maven-central/mcp"
}
}
}
See Getting Started for client-specific install steps.