API & MCP
Everything a person can do on Passkey & WebAuthn Tester, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://passkeywebauthntester.usefulweb.site/api/v1/calculate– run Passkey & WebAuthn TesterGET https://passkeywebauthntester.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Passkey & WebAuthn Tester
Checks which passkey features your browser offers, runs a real passkey registration and sign-in against this site, and decodes the result: authenticator flags (user present/verified, backup), AAGUID, key algorithm and transports. Paste clientDataJSON, attestationObject or authenticatorData to decode and verify them on the server.
| Field | Type | Default | Description |
|---|---|---|---|
clientDataJSON | textarea | — | clientDataJSON (base64url) |
attestationObject | textarea | — | attestationObject (base64url, registration) |
authenticatorData | textarea | — | authenticatorData (base64url, sign-in). From navigator.credentials.get(). Ignored when an attestationObject is given. |
signature | textarea | — | signature (base64url, sign-in) |
publicKey | textarea | — | Credential public key (COSE, base64url, to verify a sign-in signature) |
expectedChallenge | text | — | Expected challenge (base64url, optional) |
expectedOrigin | text | — | Expected origin (optional) |
expectedRpId | text | — | Expected RP ID (optional) |
Example request
Registration with packed self-attestation (synthetic software key)
curl -X POST https://passkeywebauthntester.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"clientDataJSON":"eyJ0eXBlIjoid2ViYXV0aG4uY3JlYXRlIiwiY2hhbGxlbmdlIjoiZTR0TnZzM0NtWk1SWlpqWVlwZjBSUFlGVjhETUJ6Ym0tTmRncXpuNktYVSIsIm9yaWdpbiI6Imh0dHBzOi8vdXNlZnVsd2ViLnNpdGUiLCJjcm9zc09yaWdpbiI6ZmFsc2V9","attestationObject":"o2NmbXRmcGFja2VkZ2F0dFN0bXSiY2FsZyZjc2lnWEgwRgIhAMY6wBkBpgg_WmvsahWqQpBuowRNNK9tLL6JjpdeWSFdAiEAye9k55Dyc3DyQQbcPVymc9KVP2ZvwaMcJjzzkIQ7CINoYXV0aERhdGFYlOx_npoPyQloSAHCywQcKoGnucq5KZN6JMYsOWZ9pvo0XQAAAAAAAAAAAAAAAAAAAAAAAAAAABC5eSMrhmCORJPJXUoBgVhOpQECAyYgASFYIObX00WVuw2Lu-D-Hln9Y2VEHPDKJQ4oXDXweSHYAgjjIlggyHkfre47j_wYetb2RK4y5fmMS0F-tNhrrrGPBjexWKg","expectedChallenge":"e4tNvs3CmZMRZZjYYpf0RPYFV8DMBzbm-Ndgqzn6KXU","expectedOrigin":"https://usefulweb.site","expectedRpId":"usefulweb.site"}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://passkeywebauthntester.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
passkey_webauthn_tester - Local stdio connector:
node src/mcp-stdio.ts --tool=passkey-webauthn-tester
{
"mcpServers": {
"passkey-webauthn-tester": { "type": "http", "url": "https://passkeywebauthntester.usefulweb.site/mcp" }
}
}