Skip to main content
MCP server CX Codex

mcp-caf — Claude Code MCP server: setup

This MCP server exposes KYC/KYB, biometrics, document OCR, and Trust Platform flows. Its default service host currently fails DNS resolution.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env CAF_API_KEY=<CAF_API_KEY> --env CAF_API_BASE=<CAF_API_BASE> --transport stdio caf -- npx -y @codespar/mcp-caf
Open on GitHub

What mcp-caf does

mcp-caf gives an agent tools for checking people and companies, validating identity documents, comparing a selfie with a reference image, and running passive liveness checks. Its nine tools also start and inspect Trust Platform onboarding flows, list account data sources, and fetch an earlier check by ID.

The server expects CAF_API_KEY for Bearer authentication. CAF_API_BASE can point it to another API base, including the sandbox address described by the package. The package is deprecated: api.caf.io does not resolve in DNS, so requests sent to the default host do not reach a service. A functioning endpoint must be confirmed first.

Install it with npx -y @codespar/mcp-caf; setup commands are provided for Codex, Cursor, GitHub Copilot, and Gemini CLI as well. Claude Code uses claude mcp add with the API key in an environment variable.

What it helps with

  • check a person by CPF
  • screen a company by CNPJ
  • compare a selfie with a reference image
  • extract and validate document data
  • start a Trust Platform onboarding flow

Example prompts for the agent

  • Ask the agent to run person_check for this CPF and return the risk result.
  • Use company_check for this CNPJ and show the company profile and sanctions.
  • Run document_check on this document and report its OCR and authenticity result.

How to install mcp-caf

Platform CLI

claude mcp add --env CAF_API_KEY=<CAF_API_KEY> --env CAF_API_BASE=<CAF_API_BASE> --transport stdio caf -- npx -y @codespar/mcp-caf

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp-caf

How do I install mcp-caf in Claude Code?

Run claude mcp add mcp-caf -e CAF_API_KEY=<CAF_API_KEY> -- npx -y @codespar/mcp-caf.

What does mcp-caf do?

It exposes KYC/KYB, biometric, document, and Trust Platform flow tools to an AI coding client.

What does mcp-caf need to work?

It needs CAF_API_KEY and a reachable API base set with CAF_API_BASE. The default api.caf.io host fails DNS resolution, so the standard setup cannot complete requests.

Similar MCP servers

MCP servers catalog →

From the same set124

mcp-chargebee Manages recurring subscriptions, customer records, and invoices in Chargebee through your AI agent. Useful for automating SaaS billing tasks directly from the workspace. CX Codex +1 ★ 274repo stars mcp-certta This MCP server exposes Certta identity checks, biometrics, document OCR, fraud scoring, and signature tools to an agent. Its API host currently does not resolve, so the tools cannot reach a service. CX Codex +1 ★ 274repo stars mcp-celcoin An MCP server that hands your agent Celcoin's payment API: Pix charges, boletos, TED/DOC transfers, top-ups. Handy when a Brazilian payment has to happen from the chat. CX Codex +1 ★ 274repo stars mcp-caixa Connects AI agents to Caixa Econômica Federal for Pix transfers, Cobrança boletos, and statement queries using mTLS and OAuth2. CX Codex +1 ★ 274repo stars mcp-c6 An MCP server exposing Pix, boleto and account calls for C6 Bank to your coding agent. The npm package is deprecated and its hosts do not resolve. CX Codex +1 ★ 274repo stars mcp-btg Connects AI tools to BTG Pactual banking and investment services in Brazil. Handles Pix transfers, boletos, account data, and fund operations under strict mTLS. CX Codex +1 ★ 274repo stars mcp-braspag This MCP server lets an agent work with Braspag payments, recurring billing, card tokens, and marketplace splits. CX Codex +1 ★ 274repo stars mcp-brasil-api Hands your agent Brazilian public data: addresses by CEP, companies by CNPJ, banks, holidays, weather and FIPE vehicle prices. CX Codex +1 ★ 274repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor