# @hsmkit/mcp-server

Local-first MCP server for HSM Kit encoding, check-digit, key-component, and payment test-data tools.

- **Type:** MCP server
- **Trust:** 85/100 (A), scored on the package rubric
- **Verification:** verified (build provenance)
- **Version:** 0.1.0
- **Author:** HSM Kit Editorial Team
- **License:** MIT
- **npm:** @hsmkit/mcp-server
- **Source:** https://github.com/hsm-kit/hsmkit
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

85/100 (A), scored on the package rubric
- Publisher verified: no
- Build provenance: verified attestation
- npm trusted publishing (OIDC): yes
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 0 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-09-23T16:53:05.357Z
- **Version scanned:** 0.1.0
- **CVEs:** none found by OSV at scan time

## Tools

6 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `luhn_calculate_check_digit` — Calculate the Luhn (Mod 10) check digit for a digits-only payload.
- `luhn_validate` — Validate a complete number using the Luhn (Mod 10) algorithm.
- `xor_key_components` — XOR equal-length hexadecimal key components for synthetic interoperability tests.
- `iso0_pin_block` — Generate an ISO 9564-1 format 0 clear PIN block from synthetic PIN and PAN test data.
- `base64_encode` — Encode UTF-8 text as standard Base64.
- `base64_decode` — Decode standard Base64 into UTF-8 text.

## Install

**Verdict: install** — No blocking findings and no open coverage gaps — safe to install as configured.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"mcp-server\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@hsmkit/mcp-server\"\n      ]\n    }\n  }\n}"
```

## Blast radius

Contained to moderate — no credential declaration found, from the publisher, the upstream registry, or the README. Known so far: runs on your machine; read-only tool surface.
- Floor 12, ceiling 30 (tier: unknown)
- `unknown` means the floor and ceiling land in different bands — not measured enough to name one. It does not mean low.
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/%40hsmkit%2Fmcp-server
- Install plan: https://forgeregistry.com/api/v1/packages/%40hsmkit%2Fmcp-server/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/%40hsmkit%2Fmcp-server
- HTML page: https://forgeregistry.com/registry/%40hsmkit%2Fmcp-server
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
