Skip to main content
Glama
io.github.Ciphermap-io/ciphermap-mcp

io.github.Ciphermap-io/ciphermap-mcp

Official
by Ciphermap-io

CipherMap Local MCP Referee, pre-commit Hook & Multi-SCM CI Integration (v1.0.6)

Configuration templates, pre-commit hook definitions, and Official MCP Registry metadata (server.json) for running CipherMap (v1.0.6) as:

  1. A 100% local stdio Model Context Protocol (MCP) Referee (11 tools, 0 open network sockets) inside Claude Code, Cursor, VS Code (@mcp), GitHub Copilot, and Windsurf (ciphermap mcp --workspace .).

  2. A shift-left pre-commit hook scanning staged diffs in <250ms (--staged --offline).

  3. A zero-egress CI/CD gate & signed CycloneDX 1.6 / 1.7 (ECMA-424) CBOM generator across GitHub Actions, Bitbucket Pipelines / Data Center, GitLab CI, and Azure DevOps.

Public GitHub Repo PQC Scanner

Zero Source Egress: CipherMap ships as native Apple Developer ID (ZLF7244KA7) and Microsoft Authenticode signed binaries (download evaluation pack). No source code, .p12/.jks keystores, or AST fragments ever leave your workstation or self-hosted runner (--offline --no-telemetry).


1. Local stdio MCP Server (ciphermap mcp — 11 Tools in v1.0.6)

CipherMap's local MCP server auto-detects both newline-delimited JSON-RPC 2.0 and Content-Length framed stdio with zero network egress, exposing 11 deterministic verification & compliance tools:

MCP Tool

Purpose

ciphermap_scan_all

Runs local 12-language PQC (PQC-*, PQC-PRE-001..005, .jar/.p12) and structural handler/AI-config (IMM-*, IMM-AICFG-001) discovery.

ciphermap_check_baseline_health

Runs sandboxed T0 compiler/typecheck health probes and formal T0/T1 fault attribution before edits.

ciphermap_inspect_rule

Returns NIST FIPS 203/204/205, CNSA 2.0, SC-081 100-day TLS, CWE, and wire-protocol constraints before an agent drafts code.

ciphermap_recommend_pqc_sdk

Recommends constant-time finalized FIPS 203 (ML-KEM), FIPS 204 (ML-DSA), and FIPS 205 (SLH-DSA) libraries (preventing Round-3 kyber768/dilithium3 drift).

ciphermap_verify_dependencies

Firewalls proposed PQC/crypto packages against slopsquatting and timing-unsafe fallbacks.

ciphermap_extinguish_immunity

Synthesizes polyglot AST & .cursorrules/CLAUDE.md/.mcp.json codemods verified via 4-Gate compiler/test witnesses + ddmin salvage.

ciphermap_verify_candidate_fix

Stages candidate edits inside an ephemeral network-denied sandbox copy (never mutating live files) and returns structured counterexamples on failure.

ciphermap_verify_workspace_clean

Verifies zero remaining policy blockers and validates Ed25519 + ML-DSA-65 ProofBundles prior to commit.

ciphermap_generate_cbom

Emits deterministic CycloneDX 1.7 or 1.6 (ECMA-424) CBOM summaries across source, .jar/.whl archives, and .p12/.jks keystores.

ciphermap_generate_pqc_wrapper

Previews zero-code compensating PQC termination configs (Envoy, NGINX, HAProxy, K8s, IPsec, cert-manager, CNSA 2.0).

ciphermap_compliance_crosswalk

Maps workspace cryptographic assets across 16 global regulatory mandates (CNSA 2.0, PCI-DSS 4.0.1, FedRAMP, CMMC 2.0, EU DORA, NIS2, OSCAL 1.1.2, etc.).

Cursor (.cursor/mcp.json) & VS Code (.vscode/mcp.json)

{
  "mcpServers": {
    "ciphermap": {
      "command": "ciphermap",
      "args": ["mcp", "--workspace", "."]
    }
  }
}

Claude Code (.mcp.json or ~/.claude.json)

{
  "mcpServers": {
    "ciphermap": {
      "type": "stdio",
      "command": "ciphermap",
      "args": ["mcp", "--workspace", "."]
    }
  }
}

Emit 5-Agent Herd-Immunity Guardrails (Cursor, Claude Code, Copilot, Windsurf, Gemini)

ciphermap immunity emit-agent-rules . --write

Related MCP server: qrp-mcp

2. Shift-Left pre-commit Hook (<250ms Offline Staged Scan)

Add to .pre-commit-config.yaml to block legacy crypto regressions, Round-3 kyber768 hallucinations, and Trojan Unicode .cursorrules/CLAUDE.md poisoning (IMM-AICFG-001) before commit:

repos:
  - repo: https://github.com/Ciphermap-io/ciphermap-mcp
    rev: v1.0.6
    hooks:
      - id: ciphermap

3. Enterprise GitHub Actions (Ciphermap-io/ciphermap-action) & OWASP Dependency-Track v5 CBOM Ingestion

Use Ciphermap-io/ciphermap-action (pinned to its immutable 40-char commit SHA) to upload SARIF 2.1.0 to GitHub Code Scanning and stream signed CycloneDX 1.7 CBOMs straight into OWASP Dependency-Track v5:

      - name: Run CipherMap Zero-Egress PQC & CycloneDX 1.7 CBOM Gate
        uses: Ciphermap-io/ciphermap-action@b1379b1e9e40b396d0f15844feb01f15b3378b7c # v1.0.6
        with:
          fail-on: high
          target: cnsa-2.0
          include-archives: "true"
          cbom-file: cbom.cdx.json
          cbom-spec-version: "1.7"
          license-key: ${{ secrets.CIPHERMAP_LICENSE }}

      - name: Upload CycloneDX 1.7 CBOM to OWASP Dependency-Track v5 (Optional)
        if: env.DTRACK_API_KEY != ''
        env:
          DTRACK_URL: ${{ secrets.DTRACK_URL }}
          DTRACK_API_KEY: ${{ secrets.DTRACK_API_KEY }}
          DTRACK_PROJECT_UUID: ${{ secrets.DTRACK_PROJECT_UUID }}
        run: |
          curl --proto '=https' --tlsv1.2 -fsSL -X POST "${DTRACK_URL}/api/v1/bom" \
            -H "X-Api-Key: ${DTRACK_API_KEY}" \
            -F "project=${DTRACK_PROJECT_UUID}" \
            -F "bom=@cbom.cdx.json"

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Post-quantum readiness for AI coding agents: scans code for quantum-vulnerable cryptography (RSA/ECDH/ECDSA/DH) and returns NIST ML-KEM/ML-DSA/SLH-DSA (and hybrid) migration guidance, with fix verification and dependency checks. Content-based, advisory tools only; runs local (npx @quantakrypto/mcp) or as a hosted OAuth endpoint.
      16
      16
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      An MCP server that scans local codebases for quantum-vulnerable cryptography (secp256k1, Ed25519, RSA, etc.) and CI signing commands, classifying each finding as quantum-broken, post-quantum, or neither. It runs entirely locally with no network calls, providing a deterministic inventory for AI agents.
      5
      1,606 PyPI
      3
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients such as Cursor, Claude Desktop, and Claude Code to run deterministic static-analysis tools for scanning projects, listing entry points and reachable sinks, tracing taint paths, explaining findings, and checking sanitizers without API keys or network access.
      MIT