parents
Pack: mitre-cwe · Endpoint: https://gateway.pipeworx.io/mitre-cwe/mcp
“What’s the parent CWE of [N]” / “broader weakness category for [X]” / “where does [CWE] sit in the taxonomy” — list immediate parents of a CWE in the relationship tree. Use to walk up to a more general weakness class.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Example call
Arguments
{
"id": "89"
}
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":"parents","arguments":{"id":"89"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('parents', {
"id": "89"
});
Response shape
| Field | Type | Description |
|---|---|---|
cwe_id | string | Child CWE identifier |
parents | array | Array of parent CWE records |
Full JSON Schema
{
"type": "object",
"description": "Parent relationships of a CWE",
"properties": {
"cwe_id": {
"type": "string",
"description": "Child CWE identifier"
},
"parents": {
"type": "array",
"description": "Array of parent CWE records",
"items": {
"type": "object",
"properties": {
"cwe_id": {
"type": "string",
"description": "Parent CWE identifier"
},
"name": {
"type": "string",
"description": "Parent name"
},
"relation_type": {
"type": "string",
"description": "Type of parent relationship"
}
}
}
}
}
}
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.