firmauy-mcp-inspect

v0.9.0
firmauy-mcp-inspect Checked 3 days ago Published 1 month ago

Read-only MCP server that brings FirmaUY signature inspection to your AI assistant.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

verify

Verify a signed file (PDF/PAdES, XAdES XML, or detached CMS/.p7s) and report its validity. Returns the structured result: the overall ``indication`` (VALID / INVALID / INDETERMINATE) and, per signature, the trust status, the issuer (a public CA) and each individual check. Chain validation is offline, up to the Uruguayan national root, and needs no smart card. **Two independent trusts, and neither implies the other.** Do not read one as the other: - ``signature.trusted`` answers *who signed*: the signer's certificate chained to the Uruguayan national root. - ``s…

ParameterTypeDescription
path *string
original

verify_batch

Verify many signed files at once and return a summary plus a compact per-file result. Built for triaging a folder of signed documents: it counts how many are VALID / INVALID / INDETERMINATE / errored, and for each file reports the indication, whether it is trusted to the national root, and the issuing CA(s). Use ``verify`` on a single path to get the full per-check detail. A detached ``.p7s`` is verified against the original next to it, named by the ``<x>.p7s -> <x>`` convention; for an original kept elsewhere, use ``verify`` with ``original``. The signer's personal da…

ParameterTypeDescription
paths *array

validate_ci

Validate a Uruguayan cédula's check digit: a purely arithmetic consistency check, offline. Returns ``{valid, normalized, body, check_digit, expected_check_digit}``. This is **not** an identity check: it only verifies that the number is internally consistent (it catches typos and obviously malformed numbers), not that the person exists or the document is valid. Args: number: the cédula number, with or without separators (for example "1.234.567-2").

ParameterTypeDescription
number *string

doctor

Report the local FirmaUY setup status (PC/SC stack, PKCS#11 module, card, bundled CAs). Useful to check whether the environment can verify (and sign). Returns ``{ok, checks}``, where each check is a named PASS/WARN/FAIL with a detail. The detail of the card and token checks is withheld unless the operator has enabled personal data for this server, because some PKCS#11 modules report the cardholder's name as the token label. The status of every check, which is what diagnoses the setup, is always reported.