get_license_text
Pack: spdx-license · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_license_text for the schema, then POST the same URL with its arguments for the data.
Get the full license text for a single SPDX license id (returns standard text + cross-references).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Example call
Arguments
{
"id": "GPL-3.0-or-later"
}
curl
curl -X POST https://gateway.pipeworx.io/spdx-license/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_license_text","arguments":{"id":"GPL-3.0-or-later"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_license_text', {
"id": "GPL-3.0-or-later"
});
Response shape
Always returns: licenseId, name, licenseText
| Field | Type | Description |
|---|---|---|
licenseId | string | SPDX license identifier |
name | string | Full license name |
licenseText | string | Full license text |
standardLicenseHeader | string | null | Standard license header if available |
seeAlso | array | Cross-reference URLs |
Full JSON Schema
{
"type": "object",
"properties": {
"licenseId": {
"type": "string",
"description": "SPDX license identifier"
},
"name": {
"type": "string",
"description": "Full license name"
},
"licenseText": {
"type": "string",
"description": "Full license text"
},
"standardLicenseHeader": {
"type": [
"string",
"null"
],
"description": "Standard license header if available"
},
"seeAlso": {
"type": "array",
"items": {
"type": "string"
},
"description": "Cross-reference URLs"
}
},
"required": [
"licenseId",
"name",
"licenseText"
]
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the spdx-license pack
{
"mcpServers": {
"spdx-license": {
"url": "https://gateway.pipeworx.io/spdx-license/mcp"
}
}
}
See Getting Started for client-specific install steps.