get_versions
Pack: crates · Endpoint: https://gateway.pipeworx.io/crates/mcp
List all published versions for a crate in reverse chronological order. Returns version number, download count, and publish date.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Crate name |
Example call
Arguments
{
"name": "serde"
}
curl
curl -X POST https://gateway.pipeworx.io/crates/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_versions","arguments":{"name":"serde"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_versions', {
"name": "serde"
});
More examples
{
"name": "tokio"
}
Response shape
Always returns: crate, versions
| Field | Type | Description |
|---|---|---|
crate | string | Crate name |
versions | array |
Full JSON Schema
{
"type": "object",
"properties": {
"crate": {
"type": "string",
"description": "Crate name"
},
"versions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"version": {
"type": "string",
"description": "Version number"
},
"downloads": {
"type": "number",
"description": "Download count for this version"
},
"published_at": {
"type": "string",
"description": "Publication timestamp"
},
"yanked": {
"type": "boolean",
"description": "Whether version is yanked"
},
"license": {
"type": [
"string",
"null"
],
"description": "License identifier"
},
"rust_version": {
"type": [
"string",
"null"
],
"description": "Minimum Rust version required"
}
},
"required": [
"version",
"downloads",
"published_at",
"yanked",
"license",
"rust_version"
]
}
}
},
"required": [
"crate",
"versions"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"crates": {
"url": "https://gateway.pipeworx.io/crates/mcp"
}
}
}
See Getting Started for client-specific install steps.