# mcp-onfido

Connects Onfido identity verification and KYC workflows to your AI assistant. Useful for managing applicants, file uploads, and checks from IDE chats.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 274
- Author: codespar
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/codespar/mcp-dev-latam/tree/HEAD/packages/identity/onfido
- Updated: 2026-09-27
- HTML: https://affpapa.org/en/nevibecode/mcp/mcp-onfido

## What it does

This server connects coding agents to Onfido API version 3.6 with 20 distinct tools. It handles identity checks covering 195+ countries. Agents can register applicant records, submit identity documents, handle selfie uploads, and trigger check reports directly. Workflow runs for Onfido Studio are supported too.

Document files and selfie photos arrive as base64 strings. The tool bundles them into `multipart/form-data` before forwarding them to Onfido. Beyond default endpoints, optional region routing handles EU, US, and CA data residency via `ONFIDO_REGION`. You can run the process over stdio or switch to HTTP on port 3000.

A valid `ONFIDO_API_TOKEN` is mandatory or requests fail immediately. Direct live photo uploads may be blocked depending on your Onfido contract settings. In those setups, use `generate_sdk_token` to handle capture through client SDKs instead.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `ONFIDO_API_TOKEN`, `ONFIDO_REGION` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env ONFIDO_API_TOKEN=<ONFIDO_API_TOKEN> --env ONFIDO_REGION=<ONFIDO_REGION> --transport stdio onfido -- npx -y @codespar/mcp-onfido
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add onfido --env ONFIDO_API_TOKEN=<ONFIDO_API_TOKEN> --env ONFIDO_REGION=<ONFIDO_REGION> -- npx -y @codespar/mcp-onfido
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "onfido": {
            "command": "npx",
            "args": [
                "-y",
                "@codespar/mcp-onfido"
            ],
            "env": {
                "ONFIDO_API_TOKEN": "<ONFIDO_API_TOKEN>",
                "ONFIDO_REGION": "<ONFIDO_REGION>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "onfido": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@codespar/mcp-onfido"
            ],
            "env": {
                "ONFIDO_API_TOKEN": "<ONFIDO_API_TOKEN>",
                "ONFIDO_REGION": "<ONFIDO_REGION>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e ONFIDO_API_TOKEN=<ONFIDO_API_TOKEN> -e ONFIDO_REGION=<ONFIDO_REGION> onfido npx -y @codespar/mcp-onfido
```
Replace <…> with your own values

## When to use it
- create and manage applicant profiles for identity verification
- upload identity documents and live photos encoded as base64
- inspect status of KYC checks and read detailed breakdown reports
- mint short-lived tokens for frontend Onfido SDK integrations
- trigger and monitor Onfido Studio workflow runs

## Example prompts
- Create an applicant record in Onfido for Jane Doe using email jane@example.com
- Upload `passport.jpg` for applicant `app_123` and trigger standard document checks
- Generate an SDK token for applicant `app_123` to initialize verification in the mobile app

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [mcp](https://affpapa.org/en/nevibecode/mcp/kubeshark-mcp.md) — MCP server · ★ 12109
- [Robin: AI-Powered Dark Web OSINT](https://affpapa.org/en/nevibecode/mcp/robin-ai-powered-dark-web-osint.md) — MCP server · ★ 7658
- [jshookmcp](https://affpapa.org/en/nevibecode/mcp/jshookmcp.md) — MCP server · ★ 2061
- [OpenOSINT](https://affpapa.org/en/nevibecode/mcp/openosint.md) — MCP server · ★ 1802

From the same set: [codespar/mcp-dev-latam](https://affpapa.org/en/nevibecode/by/codespar/mcp-dev-latam.md) — 124 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
