get_license_text
Pack: spdx-license · Endpoint: https://gateway.pipeworx.io/spdx-license/mcp
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, or use one-click install buttons:
{
"mcpServers": {
"spdx-license": {
"url": "https://gateway.pipeworx.io/spdx-license/mcp"
}
}
}
See Getting Started for client-specific install steps.