acp_issue
Issue a new PQC credential via the Agent Control Plane
Scan a system against STIG, NIST, CMMC and a post-quantum crypto STIG — offline, with every finding signed and written into an audit chain.
LABSCO SUMMARY
Compliance mappings are bundled rather than fetched, so a control lookup costs nothing and works with the network unplugged — which is the point for on-prem and SCIF deployments. Responses carry an ML-DSA-65 signature and land in a DAG chain that later exports as an attestation package or a DFARS POA&M, so the audit artefact falls out of the work instead of being assembled afterwards. The one decision to make early is the tier, because most of the catalogue sits above the free Community tier.
KHEPRA is a compliance and security engine that runs on your own hardware and answers as an MCP server. It bundles 36,195 STIG/CCI/NIST/CMMC mappings so lookups happen offline, signs responses with ML-DSA-65 (FIPS 204), and records what the agent did into a DAG audit chain. In sovereign and ironbank modes it makes no outbound network calls at all.
Two ways to run it: Docker (ghcr.io/nouchix/pqc-khepra-mcp:latest) or a Go 1.21+ binary that starts in about 300ms. KHEPRA_MODE picks sovereign (the default), ironbank, hybrid or edge, and an unknown value is rejected at startup and falls back to sovereign. KHEPRA_LICENSE_KEY is needed only above the free Community tier, which is pqc_stig, nist_map, khepra_query_stig and a core set; Pro is $19/mo and Enterprise $499/mo, neither charging per token or per query. Also configurable: KHEPRA_HOME, KHEPRA_DAG_PATH, KHEPRA_AUDIT_LOG_PATH, KHEPRA_NETWORK_POLICY, KHEPRA_MAX_CONCURRENT (default 5) and MCP_PQC_ENABLED.
One command — docker pull ghcr.io/nouchix/pqc-khepra-mcp:latest
USE CASES
Assess the source tree against the bundled PQC STIG, then inventory the crypto libraries and flag the weak primitives still in use.
Score the environment, read the gaps, and export both the POA&M and a signed evidence package an assessor can verify independently.
Run the scan, then produce the executive report with dollar-denominated impact per finding — staged behind a single-use token when someone has to approve it before it goes out.
Inventory the non-human identities, single out the orphaned and over-permissioned ones, then model the lateral movement paths they open up.
Every tool call is recorded and signed; export the chain as an evidence packet mapped to NIST 800-171 and CMMC controls, and audit its integrity separately.
Run the control checks against a live path, look up any rule in the bundled database, and get remediation guidance with CAT I, II and III severities.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
acp_issueIssue a new PQC credential via the Agent Control Plane
acp_revokeRevoke an active ACP credential
acp_statusList active ACP credentials and their expiry status
agent_recordRecord an agent action in the SouHimBou AI Flight Recorder. Records to PQC-signed DAG audit log.
attack_graphGenerate an attack graph from current NHI inventory. Models lateral movement paths, privilege escalation vectors, and blast radius.
audit_dag_integrityFull integrity audit of the KASA DAG. Verifies: node count, parent linkage, PQC metadata completeness, and signature chain.
cmmc_assessCMMC Level 1/2/3 assessment via KHEPRA compliance database (36,195 STIG→CCI→NIST→CMMC mappings). Returns satisfaction score, gaps, C3PAO readiness flag, and PQC status.
compliance_scanRun built-in compliance checks against CIS, STIG, and NIST baselines. Returns pass/fail per control with remediation guidance.
container_scanAnalyze Dockerfile and container manifests for security misconfigurations and base image vulnerabilities.
dag_attestationExport the PQC-signed DAG audit trail for the current session. Returns all DAG nodes with ML-DSA-65 signatures, timestamps, and Adinkra symbol chain.
dag_auditPerform a full integrity audit of the KASA DAG. Verifies node count, parent linkage, PQC metadata completeness.
dag_queryQuery the KASA DAG for nodes matching criteria. Returns matched nodes with signatures and provenance.
dag_writeWrite a manually-specified attested node to the shared KASA DAG. Use for arbitrary compliance events, human approvals, and audit points.
dark_crypto_contributePrivacy-preserving contribution of anonymized cryptographic inventory to the Global Quantum Exposure Network. Returns aggregate quantum risk ranking.
discover_assetsInventory environment: OS, runtimes, containers, CI/CD, AI agents, crypto libs, MCP configs. Recommends CMMC level and applicable STIG profiles.
drbc_backupCreate a DRBC genesis backup of the KHEPRA project. AES-256-GCM encrypted, ML-DSA-65 signed.
drbc_restoreRestore the KHEPRA project from a DRBC genesis backup. Requires the same password used during backup.
drift_detectDetect configuration drift between current state and a signed baseline. Uses the KHEPRA DriftEngine with Adinkra symbol binding.
ea_evolveRun Evolutionary Algorithm threat evolution. Optimizes for: NIST 800-171 control coverage, PQC readiness, threat posture. Returns the fittest genome with Adinkra symbol binding.
ea_risk_summarySynthesize EA-driven risk summary: vulnerability exposure, compliance gap, PQC migration cost, blast radius. Same engine as Godfather Report.
ea_threat_scoreCalculate a composite threat score for a target using the EA kernel. Returns CVSS-band score, confidence interval, and contributing factors.
enumerate_hostEnumerate host information: OS, kernel, network interfaces, running services, users, installed packages. MITRE ATT&CK T1082.
ert_architectPackage B: Live supply chain risk — Syft SBOM + Grype CVE + CISA KEV/EPSS/MITRE enrichment. Returns findings with NIST 800-171 control mapping.
ert_cryptoPackage C: PQC readiness attestation — source-level crypto primitive scan, SBOM crypto library inventory, weak primitive detection (MD5/SHA1/DES/RC4), CNSA 2.0 quantum risk context.
ert_godfatherPackage D: EA KernelRouter causal risk attestation. Runs STIG, PQC, SBOM, Network agents in parallel, produces board-level causal chain with CVSS-band dollar impact and DAG-signed evidence node.
ert_readinessPackage A: NIST 800-171 Rev2 compliance assessment + live SCA risk factor. Returns alignment score (0-100), control gaps, and prioritized remediation roadmap.
ert_scanRun ERT security scan (SBOM, CVE, secrets, STIG, PQC inventory) in Docker sandbox
fim_baselineCreate a file integrity monitoring baseline. Monitors critical paths using SHA-256 hash baselines. Baseline is DAG-attested.
fingerprint_deviceFingerprint a network device: OS detection, service banners, protocol analysis. MITRE ATT&CK T1046.
flight_exportExport a CMMC-aligned evidence packet from the SouHimBou AI flight log. Maps agent actions to NIST 800-171 / CMMC 2.0 controls.
flight_recordRecord an agent tool call to the SouHimBou AI Flight Recorder with cryptographic attestation. Creates a cryptographically verifiable audit trail.
forensic_snapshotCollect a DFIR-grade forensic snapshot: processes, network connections, loaded modules, environment variables. ML-DSA-65 signed, DAG-attested.
godfather_approveDeliver a staged executive compliance report. Requires the staged_token returned by godfather_report. Single-use — token is consumed on delivery.
godfather_reportGenerate an executive compliance report covering CMMC/STIG/NIST frameworks. When approval_required=true, returns a staged token — the full report is held until a human calls godfather_approve (30-min TTL).
ir_add_iocAdd an Indicator of Compromise to an existing incident. The IOC is ML-DSA-65 signed and DAG-recorded.
ir_incidentCreate a new incident in the KHEPRA IR Manager. Every incident is ML-DSA-65 signed at creation and DAG-attested.
kasa_crypto_agentRun the KASA Crypto Agent: detects tampering via entropy/structural feature analysis, computes a threat level, and auto-quarantines components above the Critical threshold with PQC-sealed forensic snapshots.
kasa_forensicsTrigger an immediate KASA forensic snapshot — processes, network connections, open ports, file hashes — compared against the last snapshot for anomaly detection. DAG-attested under symbol Sankofa.
kasa_scanRun KASA's port/service scanner against a target, with AI threat analysis. Maps to MITRE ATT&CK T1046. Every finding is DAG-attested with ML-DSA-65.
kasa_startStart the KASA autonomous security agent. Launches: vulnerability hunting hourly, internal pentest daily (NIST 800-53 CA-8), CMMC compliance audit daily. Every action is DAG-attested.
kasa_statusCheck current status of the KASA autonomous agent: uptime, active tasks, threat score, and EA kernel generation.
kasa_taskInject a security directive into the KASA task queue, bound to an Adinkra symbol (Eban=defense, Sankofa=forensics, OwoForoAdobe=vigilance, Dwennimmen=remediation). Executed within KASA's next cognitive cycle (≤5s).
khepra_export_attestationExport PQC-signed attestation package covering all active compliance frameworks. C3PAO-ready evidence artifact — ML-DSA-65 signed, DAG-anchored.
khepra_export_poamExport a DFARS 252.204-7012 POA&M (Plan of Action & Milestones) from the current DAG state. Maps open findings to remediation timelines.
khepra_get_compliance_scoreFast compliance score without full scan. Returns current CMMC/NIST/STIG satisfaction percentages from cached DAG state.
khepra_get_dag_chainExport the PQC-signed DAG chain for the current session. Returns all DAG nodes with ML-DSA-65 signatures and Adinkra symbol provenance.
khepra_query_stigQuery the embedded STIG/CCI/NIST control database (36,195 mappings). Look up STIG rules, CCI items, NIST 800-53 controls by ID or keyword.
khepra_query_threat_intelQuery embedded CISA KEV + CVE threat intelligence from offline database. Returns relevant CVEs, EPSS scores, MITRE ATT&CK mappings.
khepra_watchRegister a filesystem path for continuous STIG-triggered scanning. Fires ert_scan on file changes.
nhi_excessiveIdentify NHIs with overly broad permissions
nhi_expiredList expired or soon-to-expire non-human identities
nhi_inventoryList all non-human identities (service accounts, API keys, certificates)
nhi_orphansIdentify orphaned non-human identities with no active owner
nhi_revokeRevoke a non-human identity credential
nist_mapOffline semantic search across NIST 800-53 Rev5, NIST 800-171 Rev2, CMMC 2.0, and STIG CCI mappings. BM25 ranked results. Zero token cost, air-gap safe. 36,000+ controls indexed.
ouroboros_fim_eyeOuroboros FIM Eye — file integrity monitoring status. Returns hash baseline comparison and drift alerts.
ouroboros_stig_eyeOuroboros STIG Eye — continuous STIG compliance monitoring status. Returns current compliance posture and drift alerts.
ouroboros_vuln_eyeOuroboros Vuln Eye — continuous vulnerability scanning status. Returns active CVEs, EPSS scores, and remediation priority.
ouroboros_waf_eyeOuroboros WAF Eye — real-time web application firewall status from the Mitochondrial API Server. Returns blocked requests, threat patterns, and active rules.
owasp_agent_assessAssess this MCP server deployment against OWASP Agentic Top 10 (ASI01-ASI10). Returns scored findings, active controls, gaps, and ML-DSA-65 signed evidence.
packet_analyzeAnalyze a PCAP capture file. Extracts: protocol distribution, suspicious connections, DNS queries, HTTP methods, potential C2 patterns.
port_scanTCP port scan with service banner grabbing. Identifies open ports and running services. MITRE ATT&CK T1046.
pqc_keygenGenerate a new ML-DSA-65 keypair for agent identity. Returns public key (base64) and key ID. Private key is stored securely.
pqc_signSign arbitrary data with ML-DSA-65. Returns base64-encoded signature and public key ID. Air-gap safe.
pqc_stigWorld's First DoD PQC STIG (PQC-01-STIG-V1R1). CNSA 2.0 / FIPS 203/204/205 compliance assessment. Returns per-control findings, compliance score, and ML-DSA-65 signed evidence.
pqc_verifyVerify an ML-DSA-65 signature against data. Returns verification result and signer metadata.
quantum_optimizeRun Ising model quantum-inspired optimization for attack surface analysis. Simulates quantum annealing to find optimal defense configuration.
sbom_generateGenerate a CycloneDX / SPDX SBOM with PQC readiness annotations.
secret_scanScan for hardcoded secrets using entropy analysis + pattern matching. Detects: AWS keys, GitHub tokens, private keys, JWT secrets, database passwords.
stig_checkCheck a system path or configuration against STIG controls. Default: RHEL-09-STIG-V1R3. Returns CAT I/II/III findings with remediation guidance and compliance score.
threat_lookupLook up a CVE, IP, or domain against embedded CISA KEV + MITRE ATT&CK databases. Returns CVE details, CVSS/EPSS scores, ATT&CK TTP mapping.
threat_modelGenerate a STRIDE threat model with NIST 800-53 + MITRE ATT&CK mappings. 100% offline.
vuln_scanScan project for known vulnerabilities in dependencies (Go, NPM, Python). Returns CVE IDs, CVSS scores, affected packages, and fix versions.
BEFORE YOU INSTALL
73 tools when we connected. The README counts 76 tools and puts all but pqc_stig and 12 core tools on a paid licence; the free Community tier needs no key.
Docker
KHEPRA_LICENSE_KEY in your environment
CONTEXT COST
Rated by the size of the 73 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
docker pull ghcr.io/nouchix/pqc-khepra-mcp:latest{
"mcpServers": {
"khepra": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"KHEPRA_MODE=sovereign",
"-v",
"/var/lib/khepra:/var/lib/khepra",
"ghcr.io/nouchix/pqc-khepra-mcp:latest"
]
}
}
}{
"mcpServers": {
"khepra": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"KHEPRA_LICENSE_KEY",
"-e",
"KHEPRA_MODE=sovereign",
"-v",
"/var/lib/khepra:/var/lib/khepra",
"-v",
"/var/log/khepra:/var/log/khepra",
"ghcr.io/nouchix/pqc-khepra-mcp:latest"
],
"env": {
"KHEPRA_LICENSE_KEY": "<YOUR_KHEPRA_LICENSE_KEY>"
}
}
}
}{
"mcpServers": {
"khepra": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"KHEPRA_MODE=sovereign",
"-v",
"/var/lib/khepra:/var/lib/khepra",
"ghcr.io/nouchix/pqc-khepra-mcp:latest"
]
}
}
}{
"servers": {
"khepra": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"KHEPRA_MODE=sovereign",
"-v",
"${env:HOME}/.khepra:/var/lib/khepra",
"ghcr.io/nouchix/pqc-khepra-mcp:latest"
]
}
}
}{
"experimental": {
"modelContextProtocolServers": [
{
"name": "khepra",
"transport": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"KHEPRA_MODE=sovereign",
"ghcr.io/nouchix/pqc-khepra-mcp:latest"
]
}
}
]
}
}