Package

pkinative MCP — X.509, CMS, OCSP, time-stamps and PKCS#12 without a key byte leaving

PKI MCP server: inspect, verify, issue, sign X.509, CSR, CRL, OCSP, CMS, TSP, PKCS#12. 34 tools

io.github.Nizoka/pkinative-mcpSource repository
Version1.0.0latest catalog version
ConnectionPackagenpm
PublishedOct 17, 2026catalog
UpdatedOct 17, 2026catalog
Overview

What this server provides

PKI MCP server: inspect, verify, issue, sign X.509, CSR, CRL, OCSP, CMS, TSP, PKCS#12. 34 tools

Install

Packages

1
Package 1npm
pkinative-mcp1.0.0
  • PKINATIVE_MCP_OUTPUT_DIR

    Absolute path of the one sandbox directory: path inputs are read from it and outputMode='file' outputs are written under it (never overwritten; the real path of every file read and of every parent written must stay inside — a planted symlink or junction is SECURITY_VIOLATION). Key-bearing files (.key .p8 .p12 .pfx) are read by the key tools only, never written, never served as resources. Unset: every tool works on inline PEM / base64 only.

    Format: filepath
    Optional
  • PKINATIVE_MCP_CACHE_DIR

    Opt-in content-addressed response cache directory (SHA-256 keyed, 1h TTL, 256 MiB LRU, plaintext at rest). Never caches path inputs, file output, a call carrying a password or a signer, a clock-dependent instant, a random serial or nonce, describe_engine or draft_governance_issue.

    Format: filepath
    Optional
  • PKINATIVE_MCP_PORT

    Serve Streamable HTTP on this loopback port (POST /mcp) instead of stdio (MCP 2026-07-28, stateless, legacy fallback). Unauthenticated unless PKINATIVE_MCP_HTTP_TOKEN is set.

    Format: number
    Optional
  • PKINATIVE_MCP_HTTP_TOKEN

    Opt-in bearer token for the HTTP transport (>= 16 chars, no whitespace; a weaker value refuses to start). When set, /mcp requires 'Authorization: Bearer <token>' or answers 401. Compared constant-time, never logged.

    Optional
  • PKINATIVE_MCP_PASSWORD

    Operator-side password of the encrypted PKCS#8 key or PKCS#12 file the tools open (keeps the secret out of the model transcript). Exclusive with the per-call password input (both at once is VALIDATION_ERROR). Never logged; only its presence is reported at startup.

    Optional
  • PKINATIVE_MCP_AT

    Pinned instant (ISO 8601 or epoch milliseconds) every omitted at / notBefore / signingTime falls back to, for reproducible verdicts and artefacts. Unset: the wall clock (a clock-dependent result is never cached). An invalid value refuses to start.

    Optional
  • PKINATIVE_MCP_MAX_INPUT_BYTES

    Operator ceiling for limits.maxInputBytes and the decoded size of one PKI object (default 67108864 = 64 MiB, the engine default). Integer >= 1024, read once at startup; an invalid value refuses to start. A per-call value above it is refused with LIMIT_CEILING_EXCEEDED.

    Format: number
    Optional
  • PKINATIVE_MCP_MAX_KDF_ITERATIONS

    Operator ceiling for limits.maxKdfIterations and limits.maxPkcs12KdfIterations (default 10000000, the engine default): the CPU bound of a hostile PBES2 key or PKCS#12 file. Integer >= 1, read once at startup; an invalid value refuses to start.

    Format: number
    Optional
  • PKINATIVE_MCP_MAX_PATHS_EXPLORED

    Operator ceiling for limits.maxPathsExplored (default 1000, the engine default): the RFC 5280 section 6 path-building work bound. Integer >= 1, read once at startup; an invalid value refuses to start.

    Format: number
    Optional
View server metadata