KYC moderno developer-first — gran DX y workflows orientados a template. 4ª entrada de identidad (Unico BR / Onfido global / Jumio enterprise / Persona moderno).
Persona le da a tu agente 20 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier 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-personaAgregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).
{
"mcpServers": {
"persona": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-persona"
],
"env": {
"PERSONA_API_KEY": "<your_persona_api_key>"
}
}
}
}Después de reiniciar, tu agente puede llamar cualquiera de las 20 herramientas de abajo — probá create_inquiry primero.
Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de 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 herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.
create_inquiryretrieve_inquirylist_inquiriesapprove_inquirydecline_inquiryredact_inquirycreate_accountretrieve_accountMCP es un protocolo — cualquier framework que lo hable puede montar este server.