🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@codespar/mcp-caf

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codespar/mcp-caf

MCP server for Caf — Brazilian identity + Trust Platform (KYC/KYB, face authentication + liveness, document validation + OCR, orchestrated onboarding)

npmnpm
Version
0.1.0
Version published
Weekly downloads
45
18.42%
Maintainers
1
Weekly downloads
 
Created
Source

@codespar/mcp-caf

MCP server for Caf — Brazilian identity + Trust Platform. KYC/KYB, face authentication + liveness, document validation + OCR, and orchestrated onboarding flows. Direct competitor to Unico / IDwall / Certta; their Trust Platform chains multi-step identity verifications with policy rules.

Quick Start

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "caf": {
      "command": "npx",
      "args": ["@codespar/mcp-caf"],
      "env": {
        "CAF_API_KEY": "your-api-key"
      }
    }
  }
}

Cursor / VS Code

Same config in .cursor/mcp.json.

Tools (9)

KYC / KYB

ToolCaf endpointNotes
person_checkPOST /v1/checks/personCPF → name, DOB, restrictions, risk
company_checkPOST /v1/checks/companyCNPJ → profile, QSA, sanctions

Biometrics

ToolCaf endpointNotes
face_authenticationPOST /v1/biometrics/faceSelfie vs base image + liveness
liveness_checkPOST /v1/biometrics/livenessPassive liveness only

Documents

ToolCaf endpointNotes
document_checkPOST /v1/checks/documentOCR + authenticity for RG / CNH / passport / proof of residence

Trust Platform orchestration

ToolCaf endpointNotes
trust_platform_startPOST /v1/trust/flowsHosted onboarding flow per dashboard template
trust_platform_getGET /v1/trust/flows/{flow_id}Per-step verdicts

Metadata + replay

ToolCaf endpointNotes
list_datasourcesGET /v1/datasourcesDatasources enabled on your account
get_check_resultGET /v1/checks/{check_id}Replay a previous check by id

Authentication

Standard Bearer auth:

Authorization: Bearer <CAF_API_KEY>

Issue your API key from the Caf dashboard:

  • Production: https://caf.io
  • Docs: https://docs.caf.io

Sandbox / Testing

Sandbox endpoint: https://api-sandbox.caf.io. Override via CAF_API_BASE.

Environment Variables

VariableRequiredDescription
CAF_API_KEYyesAPI key from the Caf dashboard
CAF_API_BASEnoOverride base URL (default https://api.caf.io)

Caf vs Certta vs BigDataCorp

Three BR identity rails in this catalog, each with a different specialty:

ProviderStrengthBest for
CafKYC + Trust Platform orchestrationHosted onboarding with policy rules
Certta (@codespar/mcp-certta)KYC + biometrics + ICP-Brasil signatureOnboarding with signed contracts
BigDataCorp (@codespar/mcp-bigdatacorp)Broad data enrichment + antifraudKYC + AML + credit decisioning

Enterprise

Need governance, budget limits, and audit trails for agent identity calls? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Keywords

mcp

FAQs

Package last updated on 14 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts