• MATCH
  • MISMATCH
  • HUMAN
  • DATA

How to automate identity verification with your AI

Connect Face++ to your AI client to handle facial recognition and identity matching. Once connected, your agent manages the entire verification loop.

Ask AI about this page

Short answer

How can I use AI to verify identities?

Your AI uses Face++ to compare incoming user photos against existing facial datasets to confirm a match. It handles everything from setting up the database to performing the actual comparison. You get a clear match or no-match result for every check.

Verification outcomes

Identity check results

What happens after your AI runs a check.

MATCH

Identity confirmed

The AI finds a high-confidence match in your database. It flags the user as verified and moves them to the next step in your process.

MISMATCH

Identity rejected

The AI determines the photo does not match any stored faces. It logs the failure and stops the verification attempt.

HUMAN

Manual review needed

If the similarity score is too low or ambiguous, the AI flags the case for you to inspect personally.

DATA

Database updated

The AI can add new verified faces to your existing sets to expand your recognition capabilities over time.

The workflow

What your AI does when a photo arrives.

The AI handles the heavy lifting of facial data management and comparison.

  1. Initialize storage

    The AI sets up a dedicated collection to hold the facial data for your specific verification project.

    create_faceset
  2. Register users

    Your agent populates the collection by adding individual facial profiles to the set.

    add_face_to_faceset
  3. Verify identity

    The AI checks a new photo against a single known face to see if they are the same person.

    compare_faces
  4. Find matches

    The AI scans your entire collection to find any face that matches the provided image.

    search_face

Try it

Copy these to start.

Use these prompts to trigger actions in Face++.

Starting points

These are starting points. Swap out the specific names of your facesets or user IDs to match your actual data.

Face++ / Megvii Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_9XeNBogqnvbfe37ielQPllFDO6AZEm0YUpuNS984/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Face++ / Megvii capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "face-megvii-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_9XeNBogqnvbfe37ielQPllFDO6AZEm0YUpuNS984/mcp"
    }
  }
}
Copy into chat04
  • Create a new faceset named 'Customer_ID_Vault' for my verification project.

  • Add this user's photo to the 'Employee_Records' faceset.

  • Compare this new selfie against the face in the 'Admin_Access' set.

  • Search the 'Client_Database' faceset to see if this photo matches anyone on file.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Face++ once, then ask.

Just link your account once. Your credentials stay encrypted and private, and you can immediately start giving your AI facial recognition tasks.

Connect Face++ to your AI

FAQ

How this task behaves

  • 01

    Can the AI delete faces from my database?

    No. The current tools only allow for creating sets, adding faces, and performing comparisons or searches.

  • 02

    Does the AI decide if a user is allowed access?

    No. The AI provides the comparison results and match scores, but you decide what happens after a match is found.

  • 03

    Can I use this to search across different facesets at once?

    No. You must specify the target faceset for searches and comparisons.

  • 04

    Will the AI automatically create a new faceset every time I ask?

    Only if you explicitly tell it to use the creation tool. It won't create new storage without your instruction.

  • 05

    How does the AI handle a photo that doesn't match anyone?

    The search tool will return no results, and the AI will report that no match was found in the specified set.

  • More questions about Face++? The Connector page answers them. See everything the Face++ Connector can do

Connect Face++ / Megvii to Claude, Cursor, ChatGPT & more