MCP tools
The Kimera MCP server registers seven tools, defined in src/kimera/mcp/server.py. Each section below names a tool, its parameters with defaults, and the shape it returns. Every tool accepts an optional kubeconfig path and otherwise uses the ambient kubeconfig (in-cluster or ~/.kube/config).
list_techniques
Section titled “list_techniques”Lists registered techniques with their ATT&CK mappings.
Parameters:
phase(optional) — filter to one phase, for examplereconnaissanceorcredential-access. Omit to list all.
Returns techniques (a list of id, name, phase, noise, mitre_id, tactic, mode), total, and a one-line summary.
assess_target
Section titled “assess_target”Scans a namespace for workload misconfigurations against the CIS Kubernetes Benchmark checks. Non-destructive.
Parameters:
namespace(required) — namespace to scan.
Returns the assessment report: namespace, workloads_scanned, a findings list, and a summary. Each finding carries target, check_id, severity, title, detail, evidence, remediation, and a technique reference with the ATT&CK and CIS mapping.
enumerate_attack_surface
Section titled “enumerate_attack_surface”Lists the security-relevant resources in a namespace through standard Kubernetes list calls. Low-noise reconnaissance.
Parameters:
namespace(required) — namespace to enumerate.
Returns an inventory with deployments (including security-context detail), services, service_accounts, network_policies, secrets_metadata, RBAC bindings, and a summary counting the main resource types.
attempt_technique
Section titled “attempt_technique”Runs one technique against the cluster.
Parameters:
technique_id(required) — technique ID such asC1orL1.namespace(required) — target namespace.target_pod(optional) — pod name forexec-mode techniques.params(optional) — runtime values substituted into probe placeholders. They are inserted as given, neither validated nor shell-quoted.dry_run(defaultTrue) — when true, report what the technique would do without touching the cluster.noise_budget(defaultaggressive) — stealth filter, described below.
On a run, returns a technique result: technique_id, technique_name, mitre_id, tactic, target, success, evidence, impact, defense_caught (None when not checked), defense_detail, dry_run, not_attempted, raw_output, and a summary. No code path sets defense_caught today, and a BLOCKED summary does not prove a working control; see outcomes.
When the noise budget blocks the technique, the tool returns a different shape instead: technique_id, blocked_by: "noise_budget", noise_budget, usually technique_noise, and a summary. No technique result is produced.
Noise budget
Section titled “Noise budget”The filter compares the technique’s registry noise level against the budget, not its phase:
aggressive(default) — every technique is allowed.cautious— allowsvery-low,lowandmediumnoise, and refuses anyexec-mode technique.stealth— allowsvery-lownoise only.- Any other value — allows nothing, so every technique is blocked.
validate_defense
Section titled “validate_defense”Tests whether a security control blocks an attack. Admission tests submit resources with server-side dry-run, network-policy tests create a short-lived probe pod, and RBAC analysis reads bindings and role rules. The probe pod and the caveats on each method are described in defense validation.
Parameters:
namespace(required) — namespace to validate.control_type(defaultall) — one ofadmission,network-policy,rbac, orall.
Returns reports (one per control, each with per-check results), total_passed, total_failed, all_secure, and a summary. all_secure is computed from failures alone and ignores error verdicts; this MCP path also omits the network_topology check that the CLI applies. See defense validation.
get_remediation
Section titled “get_remediation”Looks up fix guidance for a finding from assess_target.
Parameters:
check_id(required) — thecheck_idof a finding, for exampleprivileged_modeorhost_pid.
Returns check_id, title, severity, remediation, mitre_id, mitre_name, cis_controls, and a summary. An unknown check_id returns check_id, an error message, and a summary.
reload_techniques
Section titled “reload_techniques”Re-reads technique definitions from disk, picking up new YAML files without a restart.
Takes no parameters. Returns previous_count, current_count, added, the full techniques list, and a summary.
All product names and logos are trademarks of their respective owners, used for identification only. No endorsement is implied.
