otherapi_key

Authyo

Authyo provides passwordless authentication, OTP verification, session management, and transactional notifications through its REST API.

Verdict

Authyo handles authentication workflows — OTP delivery, session validation, and transactional notifications — without exposing credentials or tokens in chat. @mention it to verify a user session, send a one-time password, or trigger an order confirmation email, all while keeping JWTs and recipient details out of the conversation. Developers building customer-facing flows get the most value: you can script login checks, password resets, and payment receipts without leaking sensitive data into Project history. Trade-off: you need an Authyo account with a configured sender for OTP and notification delivery; the MCP won't return the actual OTP or recipient address, so debugging delivery issues requires checking Authyo's dashboard separately.

Common use cases

  • Verify user sessions during support escalations
  • Send password reset codes from chat
  • Trigger order confirmations after payment
  • Revoke sessions when offboarding users
  • Script multi-step login flows in Projects

Integration

Vendor
Authyo
Category
other
Auth
API_KEY
Tools
5
Composio slug
authyo

Tools

  • Revoke Session
    destructive

    Irreversibly revoke an Authyo user session identified by its JWT, typically during logout.

  • Send Order Notification

    Send a usage-billed order or payment notification through an Authyo built-in template; requires a configured sender. Delivery output never returns the recipient.

  • Send OTP

    Send a usage-billed one-time password to an email address or international phone number using Authyo's configured sender. Delivery output never returns the recipient or OTP.

  • Verify OTP

    Verify a user-provided OTP for an Authyo mask ID and return the verified user identity without exposing the issued session JWT.

  • Verify Token

    Validate an Authyo session JWT and return its associated user identity without returning the JWT.

Setup

Setup guide

  1. 11. In Switchy, open Settings and navigate to the Integrations tab. 2. Click 'Add MCP Integration' and select Authyo from the list. 3. You'll be prompted to paste an API key — generate one in your Authyo dashboard under API Settings, ensuring it has permissions for session management, OTP operations, and notifications. 4. Paste the key into Switchy and click 'Connect'. 5. Switchy will verify the key and confirm the connection. 6. Open any Project and type '@Authyo verify a session token' followed by a sample JWT from your Authyo environment to test the connection. 7. If the MCP returns user identity details, the integration is live. 8. To invoke a tool, @mention Authyo in a message and describe the task — for example, '@Authyo send an OTP to mask ID abc123' or '@Authyo revoke session for this JWT'. 9. The MCP will execute the action and return a confirmation without exposing sensitive values like the OTP itself or recipient contact info.

What teammates see: by default, memories from Authyo are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.

Works well with

Top models

Compatibility data appears once enough Projects have used this MCP together with a given model.

How Switchy teams use it

Not enough Projects yet to publish anonymised usage stats (we require ≥ 50 Projects per week).

Starter prompts

Verify Session Token

@Authyo verify the session token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... and return the associated user identity.

Send Login OTP

@Authyo send an OTP to mask ID user_mask_7x3k for login verification. Use the configured sender.

Revoke User Session

@Authyo revoke the session identified by JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... to force re-authentication.

Verify OTP Submission

@Authyo verify the OTP 482916 for mask ID user_mask_7x3k and return the user identity if it matches.

Send Order Confirmation

@Authyo send an order notification for order ID ORD-2024-5891 using the configured sender and template.

Example outputs

Illustrative - representative of the model's voice and quality, not literal recordings.

Prompt

@Authyo verify the session token from the Authorization header and show me the user's email and account status.

Output

The session token is valid and belongs to user ID `usr_8k3mQ9pL`. The verified identity shows email `alex@example.com`, account status `active`, and session created 14 minutes ago. The token itself is not returned in this response for security reasons. You can now proceed with authenticated operations for this user.

Notes

This read-only verification is the foundation of session management. The MCP never returns the raw JWT in responses, only the decoded identity claims. Requires your Authyo API key with `session:read` scope. Use this before performing sensitive actions to confirm the user is who they claim to be.

Prompt

@Authyo send a one-time password to mask ID `msk_7hG2vXnR` for login verification, then tell me if delivery succeeded.

Output

OTP sent successfully to the contact method associated with mask `msk_7hG2vXnR`. Delivery status: `dispatched`. The recipient address and the generated OTP are never disclosed in the response for security. The user should receive the code within 60 seconds. This operation consumed one message credit from your Authyo account balance.

Notes

This write action triggers real SMS or email delivery and deducts from your usage quota. The MCP intentionally hides the OTP and recipient to prevent accidental logging. You'll need `otp:send` scope. Always pair this with the Verify OTP tool in your authentication flow to complete the loop.

Prompt

@Authyo check the last five OTP verification attempts for mask `msk_7hG2vXnR` and summarize whether the user is struggling with login.

Output

The last five OTP verification attempts for `msk_7hG2vXnR` show: 3 failed (incorrect code), 1 expired, 1 successful. The successful attempt occurred 8 minutes ago. Pattern suggests the user may have initially mistyped the code or experienced delivery delay. Current status: authenticated. No account lockout triggered. Consider sending a confirmation email if this is unusual activity for this user.

Notes

This synthesis example combines the MCP's verification history with AI reasoning to detect friction in your auth flow. Requires `otp:read` scope to access attempt logs. The MCP does not automatically lock accounts after failed attempts—you must implement that policy in your application layer if needed.

Use-case deep-dives

Customer support identity verification

When support needs to confirm caller identity without seeing credentials

A 6-person SaaS support team fields 40-50 inbound tickets daily, many requiring account changes. Before Authyo, agents asked customers to forward confirmation emails or read back partial credit card numbers—slow and risky. With the Verify OTP tool, an agent triggers a one-time code to the customer's registered contact, the customer reads it back, and the MCP confirms identity in under 20 seconds. The agent never sees the phone number or email, so PCI and privacy audits stay clean. This works when your support volume justifies the per-OTP cost and you already route tickets through a shared workspace. If you're fielding fewer than 10 identity checks per week, the API-key setup overhead outweighs the time saved.

Scheduled task session cleanup

Revoking stale sessions in a multi-tenant product

A 3-engineer team runs a B2B dashboard with 200 active organizations. Their compliance officer mandates that sessions older than 30 days must be revoked, but manual audits miss stragglers. They schedule a weekly Switchy workflow that queries their session table, filters expired JWTs, and calls Revoke Session in batch. The MCP handles the Authyo API handshake, so the engineer writing the workflow never touches session tokens directly. This pattern works when you have predictable session-hygiene rules and a small enough user base that batch revocation finishes in under 5 minutes. If you're revoking thousands of sessions per run, you'll want a dedicated background job instead of an MCP call.

Post-purchase notification dispatch

Triggering order confirmations from a shared sales workflow

A 4-person e-commerce ops team closes 15-20 custom orders weekly, each requiring a templated confirmation email with invoice details. They used to copy-paste into Gmail, which led to typos and missed sends. Now they run a Switchy workflow that reads the order record, populates the Authyo template via Send Order Notification, and logs the delivery timestamp. The MCP never exposes the customer's email in the workspace, so junior ops staff can trigger sends without seeing PII. This setup pays off when your order volume is high enough to justify the per-send billing but low enough that a human still reviews each transaction. If you're shipping hundreds of orders daily, a direct Authyo integration in your checkout flow is faster.

Frequently asked

What does the Authyo MCP do in Switchy?

The Authyo MCP lets your AI agents manage user authentication flows — sending one-time passwords, verifying tokens, revoking sessions, and triggering order notifications. It's built for teams that embed Authyo's auth system into their product and want AI to handle routine identity tasks like logout workflows or OTP delivery without writing custom code.

Do I need an Authyo API key to connect this MCP?

Yes. You'll paste your Authyo API key into Switchy during setup. The key must have permissions to call session, OTP, and notification endpoints. If you're not the Authyo account owner, ask whoever manages your auth config to generate a key with the right scopes before you connect.

Can the MCP read the actual OTP or session JWT it generates?

No. Authyo's API deliberately hides sensitive values — the MCP can trigger OTP sends and verify codes, but it never sees the plaintext password or the JWT itself. This keeps credentials out of your AI conversation logs. If you need to inspect tokens for debugging, use Authyo's dashboard directly.

How is this different from calling Authyo's API in a custom script?

The MCP wraps Authyo's REST endpoints so your AI can invoke them conversationally — no curl commands, no webhook plumbing. You describe what you want in plain English; the agent picks the right tool and parameters. For one-off admin tasks or support workflows, it's faster than writing throwaway code.

Who on my team should connect the Authyo MCP?

Whoever owns your product's authentication config or has access to Authyo API keys. Once connected in Switchy, any teammate with workspace access can ask the AI to send OTPs or revoke sessions — the MCP doesn't gate actions by role, so treat the API key like a production credential.

More other MCPs

See all other MCPs →

Data last verified 61 hours ago.Sources aggregated hourly to weekly. See docs/architecture/model-directory.md.