descendants
Pack: mitre-cwe · 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/descendants for the schema, then POST the same URL with its arguments for the data.
“All weaknesses derived from [CWE]” / “full subtree below [N]” / “every variant of [X]” — full transitive descendants (children, grandchildren, …) of a CWE. Use for exhaustive coverage analysis — e.g. “every memory-safety weakness” via descendants of CWE-664/119.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Example call
Arguments
{
"id": "434"
}
curl
curl -X POST https://gateway.pipeworx.io/mitre-cwe/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"descendants","arguments":{"id":"434"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('descendants', {
"id": "434"
});
Response shape
| Field | Type | Description |
|---|---|---|
cwe_id | string | Root CWE identifier |
name | string | Root CWE name |
descendants | array | Recursive array of descendant CWEs with their subtrees |
Full JSON Schema
{
"type": "object",
"description": "Full descendant subtree of a CWE",
"properties": {
"cwe_id": {
"type": "string",
"description": "Root CWE identifier"
},
"name": {
"type": "string",
"description": "Root CWE name"
},
"descendants": {
"type": "array",
"description": "Recursive array of descendant CWEs with their subtrees",
"items": {
"type": "object"
}
}
}
}
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 mitre-cwe pack
{
"mcpServers": {
"mitre-cwe": {
"url": "https://gateway.pipeworx.io/mitre-cwe/mcp"
}
}
}
See Getting Started for client-specific install steps.