• SUCCESS
  • FAILURE
  • LOGS
  • HUMAN

How to test passkey registration with your AI

Connect Hanko to your AI client to run automated WebAuthn handshakes. It handles the registration flow so you can verify your frontend works.

Ask AI about this page

Short answer

How can I test passkey registration with my AI?

Your AI uses the Hanko MCP to trigger and complete the WebAuthn registration handshake. This lets you confirm your frontend implementation is compatible without manual testing. You'll see exactly where the handshake succeeds or fails.

Test outcomes

Where your results land.

The AI processes the handshake and delivers these results.

SUCCESS

Registration confirmed

The AI completes the full handshake. You get a verified passkey credential ready for use.

FAILURE

Handshake error

The AI identifies where the WebAuthn flow broke. You get specific details on the failure point.

LOGS

Protocol data

The AI extracts the registration data. You can inspect the handshake steps to debug your frontend.

HUMAN

Manual intervention

If the browser environment requires physical user presence, you'll need to step in. The AI flags when it's waiting on you.

The workflow

What your AI does when the registration request arrives.

The AI acts as the client in the WebAuthn ceremony.

  1. Start the handshake

    The AI requests a new registration attempt from the Hanko service.

    passkey_registration_init
  2. Process credentials

    The AI handles the incoming challenge and prepares the response.

    passkey_registration_init
  3. Finalize registration

    The AI sends the completed credential back to the service to close the loop.

    passkey_registration_finalize
  4. Verify results

    The AI checks the final status to ensure the passkey is valid and stored.

    passkey_registration_finalize

Try it

Copy these to start.

Use these prompts to kick off a test.

Starting points

Replace the URL and domain names with your actual testing environment.

Hanko Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_FOAninCZae9duJcms78Myb9CbNaXDk54ffuUq1dU/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 — Hanko capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "hanko-passkey-auth-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_FOAninCZae9duJcms78Myb9CbNaXDk54ffuUq1dU/mcp"
    }
  }
}
Copy into chat04
  • Run a passkey registration test on https://auth.example.com/register

  • Test the WebAuthn registration flow for my dev environment at localhost:3000

  • Verify if my passkey registration endpoint at https://api.myapp.com/v1/register is working

  • Check the passkey registration handshake for the staging site at https://staging.example.com

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

Start here

Connect Hanko once, then ask.

Just link your Hanko account to the Vinkius platform. Your credentials stay encrypted, and you can immediately start testing with any MCP-compatible client.

Connect Hanko to your AI

FAQ

How this task behaves

  • 01

    Can the AI bypass user presence requirements?

    No. If your security policy requires a physical touch or biometric check, the AI cannot simulate that. You must perform that part of the handshake yourself.

  • 02

    Does the AI create real user accounts?

    Yes, the AI performs a real registration handshake. It creates valid passkey credentials in your Hanko instance just like a real user would.

  • 03

    Can the AI fix my frontend code?

    No. The AI can tell you why the registration failed, but it cannot modify your application code or fix the bugs for you.

  • 04

    Will the AI delete existing passkeys?

    No. The tools provided only handle registration. There is no tool in this MCP to delete or manage existing credentials.

  • 05

    Can I test multiple domains at once?

    Yes. You can prompt the AI to run separate registration tests for different URLs one after another.

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

Connect Hanko to Claude, Cursor, ChatGPT & more