Integration

Stytch integration

Modern passwordless authentication platform. Build secure user authentication flows with email magic links, SMS OTP, passwords, WebAuthn, and session management. Designed for developers building modern web and mobile applications with frictionless user experiences.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Stytch.Built from the 20 Stytch tools below, on the connection you add once.

Common Stytch use cases

  • 2FA via SMS
  • user logout
  • user lookup
  • account deletion
  • team invitations
  • updating profile
  • traditional login
  • user registration
  • passkey enrollment
  • passwordless login

What you can do with Stytch

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

User, 5 operations

  • create_userCreate userPOSTCreates a new user with email and optional metadata.
  • delete_userDelete userDELETEPermanently deletes a user.
  • get_userGet userGETRetrieves a user by their Stytch user_id.
  • search_usersSearch usersPOSTSearches users by email, phone, name, or attributes.
  • update_userUpdate userPUTUpdates a user's profile and metadata.

Magic link, 4 operations

  • authenticate_magic_linkAuthenticate magic linkPOSTAuthenticates a magic-link token and starts a session.
  • invite_magic_linkInvite magic linkPOSTInvites a new user via magic-link email.
  • login_or_create_magic_linkLogin or create magic linkPOSTSends a magic link, creating the user if missing.
  • send_magic_linkSend magic linkPOSTSends a magic-link email to an existing user.

Password, 3 operations

  • authenticate_passwordAuthenticate passwordPOSTAuthenticates a user by email and password.
  • create_passwordCreate passwordPOSTCreates a password-based user account.
  • password_strength_checkPassword strength checkPOSTChecks the strength and breach status of a password.

Otp sms, 2 operations

  • login_or_create_otp_smsLogin or create otp smsPOSTSends an SMS OTP, creating the user if missing.
  • send_otp_smsSend otp smsPOSTSends a one-time passcode via SMS.

Session, 2 operations

  • authenticate_sessionAuthenticate sessionPOSTValidates a session token and returns the user.
  • revoke_sessionRevoke sessionPOSTRevokes a session, logging the user out.

Webauthn, 2 operations

  • webauthn_authenticateWebauthn authenticatePOSTAuthenticates a WebAuthn credential and starts a session.
  • webauthn_register_startWebauthn register startPOSTStarts WebAuthn credential registration.

Jwks, 1 operation

  • get_jwksGet jwksGETRetrieves the JSON Web Key Set for offline JWT verification.

Otp, 1 operation

  • authenticate_otpAuthenticate otpPOSTAuthenticates an OTP code and starts a session.

Use Stytch from Claude Code, Cursor or Codex

Connect Stytch in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Stytch operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Stytch

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Stytch once

    Add your Stytch connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Stytch integration FAQ

What can you do with the Stytch integration?

LiveContext exposes 20 operations on Stytch, covering user, magic link, password and otp sms. Common uses include 2FA via SMS, user logout and user lookup.

Popular integrations

Browse the whole catalog