mcp-certta

v0.1.3
io.github.codespar/mcp-certta Checked 11 hours ago Published 2 months ago

DEPRECATED: no live endpoint (api.certta.com.br does not resolve)

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

kyc_lookup_cpf

Validate a CPF against Receita Federal + SPC / Serasa. Returns name, DOB, regularity status, restrictions, risk score. POST /v1/kyc/cpf.

ParameterTypeDescription
cpf *string11-digit CPF, with or without punctuation
birth_datestringYYYY-MM-DD (some Receita queries require for cross-check)

kyb_lookup_cnpj

Validate a CNPJ and return company profile — corporate name, fantasia, address, partners (QSA), CNAE, share capital, regularity status. POST /v1/kyb/cnpj.

ParameterTypeDescription
cnpj *string14-digit CNPJ

biometrics_face_match

Compare a selfie against a document photo (RG / CNH front). Returns match_score (0..1) and liveness verdict. POST /v1/biometrics/face-match.

ParameterTypeDescription
document_image *stringBase64-encoded JPEG or URL
selfie *stringBase64-encoded JPEG or URL
liveness_checkbooleanDefault true

biometrics_liveness

Passive liveness check on a selfie (no document). Returns liveness_score (0..1) + spoofing_indicators. POST /v1/biometrics/liveness.

ParameterTypeDescription
selfie *stringBase64-encoded JPEG or URL

documents_ocr

OCR a Brazilian ID document (RG / CNH / CRLV / proof of residence / passport). Returns extracted structured fields per document type. POST /v1/documents/ocr.

ParameterTypeDescription
document_type *stringDocument type
image *stringBase64-encoded JPEG/PNG or URL

antifraud_score

Compute Certta's antifraud risk score for an applicant given KYC + biometrics + device signals. 0..100 (higher = riskier). POST /v1/antifraud/score.

ParameterTypeDescription
subject *object{ cpf, name, email, phone, ip, device_fingerprint, ... }
contextobjectOptional transaction context (amount, currency, merchant)

signature_icp_create

Create an ICP-Brasil digital signature envelope for one or more documents. Returns envelope_id + signers' authorization URLs. POST /v1/signature/icp/envelopes.

ParameterTypeDescription
documents *arrayArray of { name, content (base64 PDF) }
signers *arrayArray of { name, cpf, email }

signature_electronic_create

Create a GoCertta electronic signature envelope (e-signature without ICP-Brasil cert — lower legal weight, faster UX). POST /v1/signature/electronic/envelopes.

ParameterTypeDescription
documents *array
signers *array

signature_get_envelope

Get status + signer responses for a signature envelope. GET /v1/signature/envelopes/{envelope_id}.

ParameterTypeDescription
envelope_id *stringEnvelope id returned by signature_*_create

onboarding_process_create

Kick off an orchestrated onboarding pipeline that chains KYC + biometrics + signature in one call. Returns process_id; track via onboarding_process_get. POST /v1/onboarding/processes.

ParameterTypeDescription
subject *object{ cpf, name, email, phone, ... }
template_id *stringTemplate ID configured in the Certta dashboard

onboarding_process_get

Get status + results of an onboarding process. Each step (KYC, biometrics, signature) reports its own verdict. GET /v1/onboarding/processes/{process_id}.

ParameterTypeDescription
process_id *stringOnboarding process id