mcp-caf

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

DEPRECATED: no live endpoint (api.caf.io does not resolve)

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

person_check

KYC — validate a CPF, return name + DOB + restrictions + risk indicators. POST /v1/checks/person.

ParameterTypeDescription
cpf *stringCPF (with or without punctuation)
datasource_idsarrayOptional datasources (Receita, SPC, Serasa, OFAC, ...)

company_check

KYB — validate a CNPJ, return corporate profile, QSA, regularity, sanctions. POST /v1/checks/company.

ParameterTypeDescription
cnpj *stringCNPJ
datasource_idsarray

face_authentication

Face authentication against a base image (typically the document photo). Returns match_score + liveness verdict + spoofing indicators. POST /v1/biometrics/face.

ParameterTypeDescription
base_image *stringBase64 JPEG or URL — typically document photo
selfie *stringBase64 JPEG or URL

liveness_check

Passive liveness on a selfie (no comparison image). Returns liveness_score + spoofing signals. POST /v1/biometrics/liveness.

ParameterTypeDescription
selfie *stringBase64 JPEG or URL

document_check

Document validation — OCR + authenticity check on RG / CNH / passport / proof of residence. Returns structured fields + authenticity_score. POST /v1/checks/document.

ParameterTypeDescription
document_type *string
front_image *stringBase64 or URL
back_imagestringOptional — required for some doc types (CNH back)

trust_platform_start

Start a Trust Platform onboarding flow — orchestrated pipeline chaining person/company checks + biometrics + document validation per a dashboard template. Returns flow_id + hosted onboarding URL. POST /v1/trust/flows.

ParameterTypeDescription
template_id *stringTrust Platform template id
return_urlstringWhere the hosted flow redirects after completion
subjectobject{ cpf, email, phone, ... }

trust_platform_get

Get the status + step-by-step verdicts of a Trust Platform flow. GET /v1/trust/flows/{flow_id}.

ParameterTypeDescription
flow_id *stringTrust Platform flow id

list_datasources

List the datasources available to your Caf account (varies per subscription tier). GET /v1/datasources.

get_check_result

Retrieve a previously-run check by ID (person, company, or document). Useful for replay + auditing without re-querying datasources. GET /v1/checks/{check_id}.

ParameterTypeDescription
check_id *stringCheck id