Post-Quantum Audit MCP
Processes exported Cloudflare Logpush records to summarize visitor and origin TLS key exchange groups and supports auditing Cloudflare edge-to-origin post-quantum migration; also retrieves current Cloudflare documentation passages.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Post-Quantum Audit MCP Audit this workspace for post-quantum readiness and summarize migration gaps"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Post-Quantum Audit MCP

Find cryptographic dependencies in source code and CycloneDX inventories, verify TLS 1.3 negotiation, and check migration decisions against live publisher documentation. Use the standalone CLI or connect the local Model Context Protocol server to Codex or Claude Code.
Quick start · Live documentation · CycloneDX inventories · Codex and Claude Code · Audit another project · References
Quick start
Install Node.js 22 or newer, then run:
git clone https://github.com/matthews-wong/post-quantum-audit-mcp.git
cd post-quantum-audit-mcp
npm ci
npm test
node src/cli.js search "Cloudflare origin"Try the included synthetic Cloudflare inventory and logs:
node src/cli.js audit --inventory examples/inventory.json \
--cloudflare-log examples/cloudflare-logpush.ndjson --max-findings 10
The demo shows why migration reports should track each connection and cryptographic role. A visitor can negotiate X25519MLKEM768 at the edge while the origin uses classical X25519. Both connections still need independent authentication evidence. IETF hybrid TLS specification · Cloudflare traffic guide
Related MCP server: SecureVibes MCP
Live documentation
Start with a question such as “How does Cloudflare select a hybrid key exchange for my origin?” Search the local catalog, then fetch the relevant passage directly from the publisher.
node src/cli.js sources cloudflare --live-only
node src/cli.js document cf-origin --find "Automatic key exchange"
node src/cli.js document hybrid --find "Negotiated Groups"In an MCP client, use pqc_sources with {"query":"cloudflare","liveOnly":true}, then pqc_read_document with {"source":"cf-origin","find":"Automatic key exchange"}. Results include the source URL, retrieval time, line range and SHA-256 digest of the downloaded document. To continue reading, pass nextLine as startLine and omit the search phrase.
The catalog includes 55 references. Four Cloudflare documents and ten RFCs support live passage retrieval. Each call requests the indexed publisher over HTTPS with a ten-second timeout and a 1 MiB download limit. The phrase search runs locally. Publisher outages surface as tool errors. The bundled guides and source catalog work offline. Cloudflare origin guide · RFC 10024
CycloneDX inventories
node src/cli.js cbom examples/crypto-bom.jsonThe example declares ML-KEM-768 and an ECDSA signature inside a service component. The report flags ECDSA for authentication migration and records ML-KEM as a static indication. To establish what the service negotiates, add deployment observations to the audit workflow below.
Use pqc_review_cbom with {"path":"examples/crypto-bom.json"} or a JSON file under the configured workspace. It accepts CycloneDX 1.6 and 1.7, visits nested components and the metadata component, and reviews up to 100 mapped algorithms per page (4 MiB per file). To read the next page, pass the returned page.nextCursor as the MCP cursor or CLI --cursor. Continue until it is null. Each cursor identifies the file contents used for the first page. If the file changes, restart the review. Coverage counts show unsupported assets across the file and mapped algorithms remaining after this page. Certificate assets and related key material count toward unsupported coverage. Sample CBOM · CycloneDX JSON reference
Codex and Claude Code
After npm ci, launch your client from this repository root. The project configurations start the same local stdio server.
Client | Setup | Skills |
Codex | Trust the project so |
|
Claude Code | Approve the server from |
|
Clients with MCP prompt support can also request pqc_migration_review with a stack argument such as Go behind Cloudflare. It walks through source discovery, inventory evidence and rollout checks.
Try asking “Audit this workspace for post-quantum readiness. Prioritize long-lived data and show what still needs runtime evidence.” Codex MCP documentation · Claude Code MCP documentation
Audit another project
From the target project root, point to the installed helper with an absolute path.
pqc_cli="/absolute/path/to/post-quantum-audit-mcp/src/cli.js"
node "$pqc_cli" audit --workspace "$PWD"For MCP access inside that project, run the command for your client and restart the session.
codex mcp add post-quantum -- node "$pqc_cli" serve --workspace "$PWD"
claude mcp add --scope local post-quantum -- node "$pqc_cli" serve --workspace "$PWD"The Codex command creates a user-level entry anchored to the supplied workspace. For project-level setup, add the equivalent server entry to the target project's .codex/config.toml and use absolute paths. Copy the skill directories from .agents/skills or .claude/skills to the corresponding location in that project to use the skills there.
Audit workflow
Inventory the source. Run
node "$pqc_cli" scan --workspace "$PWD". Review flagged protocol settings, crypto APIs, public certificates, signature and password-hash usage, and provider indicators. Each result includes a file location, a rule and a follow-up action.Add deployment evidence. Use the inventory example to record observed algorithms, roles, and expected evidence.
node "$pqc_cli" assess inventory.jsonreturns prioritized migration actions and gaps. OptionalobservedAtandreferencefields can tie results to a timestamp and ticket or log.Verify a TLS endpoint you manage. Run
node "$pqc_cli" tls api.example.com. Add--hybrid-onlyto check hybrid compatibility with OpenSSL 3.5 or later and a supported build. OpenSSL verifies the peer using its configured trust store. The result describes one TCP TLS 1.3 handshake. Use production telemetry for fallback, QUIC and other connection legs.Review Cloudflare traffic. Export
ClientTLSKeyExchangeGroupandOriginTLSKeyExchangeGroupfrom Logpush and pass the JSON or NDJSON tonode "$pqc_cli" cloudflare-traffic logpush.ndjson. Process up to 10,000 rows per batch. Useaudit --inventory inventory.json --cloudflare-log logpush.ndjsonfor a combined report.
The static scan examines up to 20,000 entries and 2 MiB per file by default, with up to 500 findings in the output. It reports coverage counters and skips recognized credential files, private-key PEMs, symlinks, excluded directories, and gitignored paths. Review matches in documentation, dependencies, tests and disabled options before acting. Complete a deployment audit with effective provider settings, deployed binaries, certificate chains, runtime negotiation and managed-service telemetry. Audit runbook
MCP tools
Tool | Purpose |
| Search the dated knowledge base or open a guide with primary references. Resources also appear under |
| Discover publisher references and retrieve current passages by source ID, phrase or line. |
| Read a local CycloneDX JSON inventory and triage supported algorithm declarations. |
| Inspect workspace code, configuration and public certificate files. |
| Evaluate role-specific observations and get migration guidance for the supplied stack. |
| Combine source findings, supplied runtime inventory and Cloudflare data. |
| Summarize reported TLS key exchanges on visitor and origin connections. |
| Verify one user-selected TLS 1.3 endpoint. Enable by appending |
Research and references
The knowledge base was reviewed on December 4, 2026. The guides link to primary sources and label published standards, current deployment guidance and roadmap milestones.
Guide | Primary reference |
For research updates, record the primary URL, publication or revision date and affected behavior, then update the relevant guide and run npm test. For code issues, share sanitized findings and reproduction steps without credentials or production data.
Author and license
Matthews Wong · @matthews-wong · MIT License
Available Tools
9 toolspqc_assessBRead-onlyIdempotent
Triage supplied cryptographic inventory observations and get stack-specific migration actions.
Inputs: assets (required), stack, expected.
pqc_auditCRead-onlyIdempotent
Combine workspace scanning with supplied inventory and Cloudflare traffic evidence in one audit. Supply expected roles per connection to flag evidence gaps.
Inputs: path, maxFiles, inventory, maxFindings, +1 more.
pqc_cloudflare_trafficBRead-onlyIdempotent
Summarize hybrid, classical and missing negotiation evidence on both legs from selected Cloudflare Logpush request fields.
Inputs: rows (required).
pqc_read_documentCRead-onlyIdempotent
Fetch a current passage from a cataloged publisher. Locate a literal phrase and continue by line number.
Inputs: source (required), find, startLine.
pqc_read_guideCRead-onlyIdempotent
Read the full standards, Cloudflare, stack, primitives or audit guide.
Inputs: topic (required).
pqc_review_cbomBRead-onlyIdempotent
Review declared algorithm components in a workspace CycloneDX 1.6 or 1.7 JSON file.
Inputs: path (required), cursor.
pqc_scanBRead-onlyIdempotent
Read the configured workspace and report static crypto indicators with locations, coverage and source-backed actions.
Inputs: path, maxFiles, maxFindings.
pqc_searchARead-onlyIdempotent
Find dated PQC research guides and primary sources by keyword. An empty query lists every guide.
Inputs: query.
pqc_sourcesARead-onlyIdempotent
Search the publisher catalog by title, source ID, type or URL. Filter to sources with live text.
Inputs: query, liveOnly.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools have clearly distinct purposes, especially the research/document tools versus workspace and inventory analysis tools. The main overlap is between pqc_scan, pqc_audit, and pqc_assess, which all analyze cryptographic posture from different inputs and could be confused at first glance, though the descriptions distinguish their intended scopes.
All tools use a consistent pqc_ prefix and snake_case formatting, which makes the set easy to scan. There is minor inconsistency between verb-style names like pqc_scan and pqc_assess and noun-style names like pqc_sources and pqc_cloudflare_traffic, but the convention remains predictable enough.
Nine tools is well-scoped for a post-quantum audit server, covering scanning, evidence gathering, assessment, research, and CBOM review without excessive surface area. Each tool appears to earn its place in the audit workflow.
The surface covers the core audit lifecycle: scanning, inventory assessment, Cloudflare traffic evidence, CBOM review, and supporting research/document access. Minor gaps exist around report generation or exporting audit findings, but agents can work around these by assembling outputs from the existing tools.
Maintenance
Related MCP Connectors
Post-quantum TLS/SSH readiness, GitHub CycloneDX 1.6 CBOM auditing, and live LLM price routing.
1Run Claude Code, Codex and opencode on your own machines, with policy checks and phone approvals.
AI code governance and code review for Claude Code, Copilot and Cursor. Checks rules and security.
Detects database migration table locks, terraform cost leaks, and OWASP API flaws.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI-powered automated testing, security scanning, code review, and maintenance tasks directly within Claude Code or desktop.1258 PyPI4MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered security scanning of codebases through conversational analysis, allowing users to assess, threat model, code review, DAST test, and generate security reports using natural language with Claude.MIT
- AlicenseAqualityCmaintenanceAdds security capabilities like port scanning, TLS inspection, DNS enumeration, process monitoring, secrets scanning, HTTP header auditing, and CVE checking to Claude Code and Cursor.23MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to act as a strategic orchestrator with granular tools for repository reading/search/writing, optional Codex-assisted code generation, linting/testing quality gates, CI artifact parsing, Git operations, and security checks such as secret scanning and path validation. It provides step-by-step visibility, control, and audit logging for AI-assisted development workflows.MIT