Onfido MCP Server
for AI Agents
Connect your AI agent to StackOne's Onfido MCP server and give it 91 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
91 Agent Actions
Agents can read, write, delete and run operations in Onfido. Extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Onfido MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Onfido tool response scanned for prompt injection in about 2.5 ms, with 0.94 F1 on tool-response attacks, all running on a CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Onfido call.
Tools Discovery →What is the Onfido MCP Server?
A Onfido MCP server lets AI agents read and write Onfido data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's Onfido MCP server ships with 91 pre-built actions, fully extensible via the Connector Builder, plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All Onfido MCP Tools
Every StackOne action for Onfido, ready for your agent. Read, write, delete and run operations, scoped to exactly what you need.
Applicants
- Create Applicant
Create an applicant, the person being verified.
- List Applicants
List applicants in the account, newest first.
- Retrieve Applicant
Retrieve a single applicant by ID.
- Update Applicant
Update an applicant's details.
- Delete Applicant
Schedule an applicant and their data for deletion.
Checks
- Create Check
Start a check made of one or more reports for an applicant.
- List Checks
List the checks run for an applicant.
- Retrieve Check
Retrieve a check by ID.
- Download Check
Download a check's results as a PDF.
Dashboard Users
- Create Dashboard User
Invite a new user to your Onfido Dashboard.
- List Dashboard Users
List the people who can sign in to your Onfido Dashboard.
- Retrieve Dashboard User
Retrieve a dashboard user by ID.
- Update Dashboard User
Change a dashboard user's name, role, access or active status.
- Delete Dashboard User
Delete a dashboard user.
Documents
- Upload Document
Upload an identity document image for an applicant.
- List Documents
List the identity documents uploaded for an applicant.
- Retrieve Document
Retrieve a document's metadata by ID.
- Download Document
Download the image or PDF of an uploaded document.
ID Photos
- Upload ID Photo
Upload an ID photo (reference face image) for an applicant.
- List ID Photos
List the ID photos of an applicant.
- Retrieve ID Photo
Retrieve an ID photo's metadata by ID.
- Download ID Photo
Download the image of an ID photo.
Live Photos
- Upload Live Photo
Upload a live photo (selfie) for an applicant.
- List Live Photos
List the live photos (selfies) of an applicant.
- Retrieve Live Photo
Retrieve a live photo's metadata by ID.
- Download Live Photo
Download the image of a live photo.
Live Videos
- List Live Videos
List the live videos of an applicant.
- Retrieve Live Video
Retrieve a live video's metadata by ID.
- Download Live Video
Download a live video.
Motion Captures
- List Motion Captures
List the motion captures of an applicant.
- Retrieve Motion Capture
Retrieve a motion capture's metadata by ID.
- Download Motion Capture
Download a motion capture video.
Passkeys
- List Passkeys
List the passkeys registered for a username.
- Retrieve Passkey
Retrieve one passkey's details.
Reports
- List Reports
List the reports of a check.
- Retrieve Report
Retrieve a report by ID with its full breakdown.
Signing Documents
- Upload Signing Document
Upload a PDF for an applicant to sign in an e-signature workflow.
- List Signing Documents
List the signing documents uploaded for an applicant.
- Retrieve Signing Document
Retrieve a signing document's metadata by ID.
- Download Signing Document
Download the PDF of a signing document.
Tasks
- List Tasks
List the tasks of a workflow run.
- Retrieve Task
Retrieve one task of a workflow run, with its input and output.
Timeline File For Workflow Runs
- Create Timeline File For Workflow Run
Start generating the timeline file (audit PDF) of a workflow run.
- Retrieve Timeline File For Workflow Run
Download a workflow run's timeline file (PDF).
Monitors
- Create Monitor
Start ongoing watchlist monitoring for an applicant.
- List Monitors
List ongoing watchlist monitors, for one applicant or the whole account.
- Retrieve Monitor
Retrieve a watchlist monitor by ID.
- Delete Monitor
Stop and deactivate a watchlist monitor.
Webhooks
- List Webhooks
List all registered webhooks.
- Retrieve Webhook
Retrieve a registered webhook by ID.
- Delete Webhook
Delete a registered webhook.
Workflow Runs
- Create Workflow Run
Create and start a workflow run for an applicant.
- List Workflow Runs
List workflow runs in the account with optional filters.
- Retrieve Workflow Run
Retrieve a single workflow run by ID.
Other (37)
- List Applicant Consents
List the consents recorded for an applicant.
- List Biometric Tokens
List the biometric tokens of one of your end users.
- Retrieve Biometric Token Details
Retrieve one biometric token's details.
- Download NFC Face
Download the face photo read from a document's NFC chip.
- Download Document Video
Download the video recorded while capturing a document.
- Retrieve Electronic Signature Document
Download a signed document, transaction receipt or certificate from any e-signature workflow.
- Retrieve Workflow Run Signed Document (QES)
Download the signed document or application form of a Qualified Electronic Signature workflow.
- Retrieve AES Document
Download the signed document or transaction receipt of an Advanced Electronic Signature workflow.
- Retrieve SES Document
Download the signed document or transaction receipt of a Simple Electronic Signature workflow.
- Download Live Video Frame
Download a single frame of a live video as an image.
- Download Motion Capture Frame
Download a single frame of a motion capture as an image.
- Retrieve Repeat Attempts
Retrieve earlier attempts that used the same document as a Document report.
- List Matches
List the watchlist matches on a monitor and whether each is enabled (beta).
- Retrieve Watchlist Alert Risks
List the detailed risks behind a watchlist alert.
- Retrieve Workflow Run Evidence Folder
Download the evidence folder (ZIP) for a workflow run.
- Retrieve Workflow Run Evidence Summary File
Download the signed evidence summary PDF for a workflow run.
- Update A Single Biometric Token Status
Approve or decline a biometric token.
- Update A Single Passkey State
Activate or deactivate a passkey.
- Set Match Status
Enable or disable matches on a watchlist monitor (beta).
- Delete A Single Passkey
Delete one passkey.
- Delete All Passkeys
Delete every passkey of a username.
- Address Picker
Look up addresses for a UK postcode.
- Restore Applicant
Restore an applicant that is scheduled for deletion.
- Invalidate A Single Biometric Token
Invalidate one biometric token.
- Invalidate All Biometric Tokens
Invalidate every biometric token of one of your end users.
- Resume Check
Resume a paused check.
- Autofill
Extract the data printed on an uploaded identity document.
- Ping
Check that the Onfido API in your region is up.
- Resume Report
Resume a paused report.
- Cancel Report
Cancel a paused report.
- Fraud Reporting
Report that a check or report result was wrong (alpha).
- Generate SDK Token
Generate an SDK token for an applicant (Checks and Reports API integrations).
- Complete Task
Complete a Send / Receive Data task with a payload.
- Force New Report Creation
Make a watchlist monitor create a new check and report now (beta).
- Register Webhook
Register a webhook URL to receive Onfido events.
- Edit Webhook
Change a registered webhook.
- Resend Webhooks
Resend past webhook events to every registered webhook of the matching environment.
Set Up Your Onfido MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Onfido in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Platform Resources
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, the security risks they share, and when to use one, both or a hybrid.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
FAQ
Onfido MCP Server FAQ
origin_owner_id.