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