Build and test FaceSign step-up verification flows from your AI coding tool
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Import and initialize a client using an integration token
Make a request to any Facesign API endpoint.
A flow is a directed graph of nodes that defines a session. Sessions can serve different purposes β identity verification, data collection, authorization, analysis, or any combination. Every flow must start with a START node and end with one or more END nodes. Nodes connect to each other via outcomes β each outcome points to the id of the next node. All defined outcomes must be connected to other nodes; no outcome can be left unlinked.
The entry point of every flow. Each flow must have exactly one START node. It has a single outcome that points to the first node in the flow.
The terminal node of a flow. A flow can have multiple END nodes (e.g., one for success path, one for failure path). It has no outcomes.
The avatar speaks to the user using the prompt text and routes the flow based on the user's response. The session stays on this node until one of the outcome conditions matches the user's response, so a single conversation node can facilitate a multi-turn dialog with the user until the desired information is gathered.
The prompt field supports two modes:
Direct speech β Tell the avatar exactly what to say:
"Say: Hi, how are you doing?"
Goal-driven behavior β Describe what the avatar should achieve during the conversation:
"Chat with the user and find out how well they understand medicine."
When using goal-driven prompts, always include realistic exit conditions in the outcomes, since the dialog could otherwise continue indefinitely. Examples of exit conditions:
Uses conditional outcomes β each outcome has a condition (a natural language description of what the user's response should match) and a targetNodeId pointing to the next node.
Set doesNotRequireReply: true for nodes at the end of the flow where the avatar delivers a final message and no user response is needed (e.g., "Thank you for the conversation, goodbye!"). Typically used before an END node.
Outcomes use FSConditionalOutcome:
id β unique identifier for the outcometargetNodeId β the node to navigate tocondition β natural language description of the matching criteriaUnconditional transition: When the avatar should say a phrase and move to the next node regardless of the user's response, use a single outcome with an empty condition (""). This creates an unconditional transition β the avatar delivers the message, and whatever the user replies (or even if they don't), the flow proceeds to targetNodeId.
Direct speech example:
Goal-driven example:
End-of-flow example:
Requests camera and/or microphone permissions from the user before proceeding. Use this node when you need to display a custom prompt explaining why permissions are needed, or when you want to handle the denied case with a specific flow path.
If the flow does not contain any PERMISSIONS node, permissions will be requested automatically.
permissions.camera β request camera accesspermissions.microphone β request microphone accessprompt β optional message the avatar will say (uses direct speech mode, e.g., "Say: Could you please enable your microphone so I can hear you."). If the site already has permanent permissions granted, the avatar will not say this phrase and the flow will continue directly via the permissionsGranted outcome.Outcomes:
permissionsGranted β user granted the requested permissions (or they were already granted)permissionsDenied β user denied the permissionsChecks whether the user in front of the camera is a real person or a deepfake. The node analyzes the video feed to perform liveness detection.
Prerequisites: The user must have camera access granted before this node. Additionally, liveness detection requires several seconds of video recording for analysis. Do not place this node immediately after a PERMISSIONS node β instead, add a CONVERSATION node in between to give the system time to accumulate video data for analysis.
Recommended flow order:
PERMISSIONS β CONVERSATION β LIVENESS_DETECTION
Outcomes:
livenessDetected β the user is a real persondeepfakeDetected β a deepfake or spoofing attempt was detectednoFace β no face was detected in the camera feedDisplays a UI for the user to enter their email address without any verification or confirmation step. Use this node when you simply need to collect an email from the user as data input. Note: if your goal is to collect AND verify an email via OTP, use TWO_FACTOR_EMAIL instead β it handles email collection internally and does not require a preceding ENTER_EMAIL node.
prompt β optional phrase the avatar will say at the moment the input field appears (e.g., "Could you please enter your email?").Outcomes:
emailEntered β user submitted their emailcanceled β user canceled the email entryValidates data collected during the session and routes the flow based on the result. Uses a validation object to specify which field to check, what action to perform, and an optional expected value.
validation.field β the data field to validatevalidation.action β the validation action to performvalidation.value β optional expected value for comparisonUses conditional outcomes (same as CONVERSATION node) to branch the flow based on the validation result.
Opens a document scanning UI powered by Microblink. The user can scan identity documents using their camera. Extracted data (name, date of birth, document number, etc.) becomes available in the session report.
scanningMode β determines how to scan the document:
"single" β scan only one side of the document"automatic" β automatically determine how many sides need to be scannedallowedDocumentTypes β array of document types the user can scan (e.g., "passport", "id", "dl", "residence-permit", "visa", etc.)showTorchButton β show flashlight toggle (default: true)showCameraSwitch β show front/back camera toggle (default: true)showMirrorCameraButton β show mirror camera button (default: true)Outcomes:
scanSuccess β document was scanned successfullyuserCancelled β user canceled the scanscanTimeout β scan timed outPerforms biometric face recognition to identify the user. Compares the user's face against previously registered faces to determine if they are a known or new user.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/facesign-mcp)<a href="https://allmcps.com/mcp/facesign-mcp"><img src="https://allmcps.com/api/badge/facesign-mcp?style=directory" alt="Facesign MCP on AllMCPs" /></a>