KYC moderno developer-first — ótima DX e workflows orientados a template. 4ª entrada de identidade (Unico BR / Onfido global / Jumio enterprise / Persona moderno).
O Persona dá ao seu agente 20 tools que ele chama direto — escolha as que precisar, no Claude, Cursor ou qualquer cliente MCP.
create_inquiry — Create a Persona inquiry — a verification session bound to an inquiry template you configured in the Persona dashboard. The template defines which verifications run (document, selfie, database, phone, etc). Returns an inquiry id and (for hosted flows) a one-time link for the end user.retrieve_inquiry — Retrieve an inquiry by id. Response includes overall status ('created' | 'pending' | 'completed' | 'expired' | 'failed' | 'needs_review' | 'approved' | 'declined') and embedded verifications / reports. Poll this to track progress.list_inquiries — List inquiries, filterable by reference-id (your internal user id) or status. Useful for reconciling state or finding a user's inquiry history.// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_inquiry", { /* ... */ });$ npm install @codespar/mcp-personaAdicione esta entrada ao seu claude_desktop_config.json (ou a config de qualquer cliente compatível com MCP).
{
"mcpServers": {
"persona": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-persona"
],
"env": {
"PERSONA_API_KEY": "<your_persona_api_key>"
}
}
}
}Depois de reiniciar, seu agente pode chamar qualquer uma das 20 ferramentas abaixo — teste create_inquiry primeiro.
Necessárias pra autenticar o server. Armazenadas criptografadas ao usar a hospedagem gerenciada da CodeSpar.
PERSONA_API_KEYPersona API key. Sent as 'Authorization: Bearer <value>'.
PERSONA_API_VERSIONPersona API version pin (sent as 'Persona-Version' header). Defaults to '2023-01-05'.
Cada ferramenta é independente — seu agente carrega só o que precisa pra reduzir contexto e tempo de resposta.
create_inquiryretrieve_inquirylist_inquiriesapprove_inquirydecline_inquiryredact_inquirycreate_accountretrieve_accountMCP é um protocolo — qualquer framework que o fale pode montar este server.