Skip to content

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).

Lists registered techniques with their ATT&CK mappings.

Parameters:

  • phase (optional) — filter to one phase, for example reconnaissance or credential-access. Omit to list all.

Returns techniques (a list of id, name, phase, noise, mitre_id, tactic, mode), total, and a one-line summary.

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.

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.

Runs one technique against the cluster.

Parameters:

  • technique_id (required) — technique ID such as C1 or L1.
  • namespace (required) — target namespace.
  • target_pod (optional) — pod name for exec-mode techniques.
  • params (optional) — runtime values substituted into probe placeholders. They are inserted as given, neither validated nor shell-quoted.
  • dry_run (default True) — when true, report what the technique would do without touching the cluster.
  • noise_budget (default aggressive) — 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.

The filter compares the technique’s registry noise level against the budget, not its phase:

  • aggressive (default) — every technique is allowed.
  • cautious — allows very-low, low and medium noise, and refuses any exec-mode technique.
  • stealth — allows very-low noise only.
  • Any other value — allows nothing, so every technique is blocked.

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 (default all) — one of admission, network-policy, rbac, or all.

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.

Looks up fix guidance for a finding from assess_target.

Parameters:

  • check_id (required) — the check_id of a finding, for example privileged_mode or host_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.

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.