mcp-caf
v0.1.3DEPRECATED: 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.
| Parameter | Type | Description |
|---|---|---|
cpf * | string | CPF (with or without punctuation) |
datasource_ids | array | Optional datasources (Receita, SPC, Serasa, OFAC, ...) |
company_check
KYB — validate a CNPJ, return corporate profile, QSA, regularity, sanctions. POST /v1/checks/company.
| Parameter | Type | Description |
|---|---|---|
cnpj * | string | CNPJ |
datasource_ids | array |
face_authentication
Face authentication against a base image (typically the document photo). Returns match_score + liveness verdict + spoofing indicators. POST /v1/biometrics/face.
| Parameter | Type | Description |
|---|---|---|
base_image * | string | Base64 JPEG or URL — typically document photo |
selfie * | string | Base64 JPEG or URL |
liveness_check
Passive liveness on a selfie (no comparison image). Returns liveness_score + spoofing signals. POST /v1/biometrics/liveness.
| Parameter | Type | Description |
|---|---|---|
selfie * | string | Base64 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.
| Parameter | Type | Description |
|---|---|---|
document_type * | string | |
front_image * | string | Base64 or URL |
back_image | string | Optional — 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.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | Trust Platform template id |
return_url | string | Where the hosted flow redirects after completion |
subject | object | { cpf, email, phone, ... } |
trust_platform_get
Get the status + step-by-step verdicts of a Trust Platform flow. GET /v1/trust/flows/{flow_id}.
| Parameter | Type | Description |
|---|---|---|
flow_id * | string | Trust 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}.
| Parameter | Type | Description |
|---|---|---|
check_id * | string | Check id |