get_package
Pack: nuget · Endpoint: https://gateway.pipeworx.io/nuget/mcp
Registration metadata for a package — versions, tags, dependencies, dates.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Package id (e.g. “Newtonsoft.Json”) |
prerelease | boolean | no | Include prerelease pages (default false) |
Example call
Arguments
{
"id": "Newtonsoft.Json"
}
curl
curl -X POST https://gateway.pipeworx.io/nuget/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_package","arguments":{"id":"Newtonsoft.Json"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_package', {
"id": "Newtonsoft.Json"
});
More examples
{
"id": "Serilog",
"prerelease": true
}
Response shape
| Field | Type | Description |
|---|---|---|
@context | object | JSON-LD context |
items | array | Version catalog pages |
count | integer | Total number of version pages |
Full JSON Schema
{
"type": "object",
"description": "Package registration metadata with versions and dependencies",
"properties": {
"@context": {
"type": "object",
"description": "JSON-LD context"
},
"items": {
"type": "array",
"description": "Version catalog pages",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "string",
"description": "URL to version page"
},
"lower": {
"type": "string",
"description": "Lower bound version in this page"
},
"upper": {
"type": "string",
"description": "Upper bound version in this page"
},
"count": {
"type": "integer",
"description": "Number of versions in this page"
},
"items": {
"type": "array",
"description": "Version entries",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "string",
"description": "URL to version metadata"
},
"version": {
"type": "string",
"description": "Package version"
},
"downloads": {
"type": "integer",
"description": "Version download count"
},
"listed": {
"type": "boolean",
"description": "Whether version is listed"
}
}
}
}
}
}
},
"count": {
"type": "integer",
"description": "Total number of version pages"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"nuget": {
"url": "https://gateway.pipeworx.io/nuget/mcp"
}
}
}
See Getting Started for client-specific install steps.