Descope (Auth Platform) MCP Server for Mastra AIGive Mastra AI instant access to 33 tools to Auth Enchantedlink Poll, Auth Enchantedlink Signup, Auth Enchantedlink Verify, and more
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Descope (Auth Platform) through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
Ask AI about this MCP Server for Mastra AI
The Descope (Auth Platform) MCP Server for Mastra AI is a standout in the Developer Tools category — giving your AI agent 33 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"descope-auth-platform": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Descope (Auth Platform) Agent",
instructions:
"You help users interact with Descope (Auth Platform) " +
"using 33 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Descope (Auth Platform)?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Descope (Auth Platform) MCP Server
Connect Descope to your AI agent to manage and test user authentication flows through natural conversation. Descope is a drag-and-drop authentication and user management platform for any application.
Mastra's agent abstraction provides a clean separation between LLM logic and Descope (Auth Platform) tool infrastructure. Connect 33 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
What you can do
- OTP Authentication — Initiate and verify One-Time Passwords via Email, SMS, or Voice using tools like
auth_otp_signup_emailandauth_otp_verify_email. - Magic & Enchanted Links — Send secure sign-up/sign-in links and poll for session completion with
auth_magiclink_signup_emailorauth_enchantedlink_poll. - OAuth Integration — Start OAuth flows with providers like Google and exchange codes for active sessions using
auth_oauth_authorize. - Password Management — Handle traditional password-based sign-ups via
auth_password_signup. - Session Verification — Verify tokens and manage the authentication lifecycle directly from your workspace.
The Descope (Auth Platform) MCP Server exposes 33 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 33 Descope (Auth Platform) tools available for Mastra AI
When Mastra AI connects to Descope (Auth Platform) through Vinkius, your AI agent gets direct access to every tool listed below — spanning authentication, otp, oauth, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Auth enchantedlink poll on Descope (Auth Platform)
Poll for Enchanted Link session
Auth enchantedlink signup on Descope (Auth Platform)
Sign up a user via Enchanted Link
Auth enchantedlink verify on Descope (Auth Platform)
Verify an Enchanted Link token
Auth exchange access key on Descope (Auth Platform)
Exchange an access key for a session JWT
Auth get keys on Descope (Auth Platform)
Get public keys for session validation
Auth magiclink signup email on Descope (Auth Platform)
Sign up or sign in a user via Magic Link
Auth magiclink verify on Descope (Auth Platform)
Verify a Magic Link token
Auth oauth authorize on Descope (Auth Platform)
Start OAuth flow
Auth oauth exchange on Descope (Auth Platform)
Exchange OAuth code for session
Auth otp signin email on Descope (Auth Platform)
Sign in a user via Email OTP
Auth otp signup email on Descope (Auth Platform)
Sign up a user via Email OTP
Auth otp signup sms on Descope (Auth Platform)
Sign up a user via SMS OTP
Auth otp signup voice on Descope (Auth Platform)
Sign up a user via Voice OTP
Auth otp verify email on Descope (Auth Platform)
Verify an Email OTP
Auth otp verify sms on Descope (Auth Platform)
Verify an SMS OTP
Auth otp verify voice on Descope (Auth Platform)
Verify a Voice OTP
Auth password reset on Descope (Auth Platform)
Reset a user password
Auth password signin on Descope (Auth Platform)
Sign in a user with a password
Auth password signup on Descope (Auth Platform)
Sign up a user with a password
Auth webauthn signin finish on Descope (Auth Platform)
Finish WebAuthn sign in
Auth webauthn signin start on Descope (Auth Platform)
Start WebAuthn sign in
Auth webauthn signup finish on Descope (Auth Platform)
Finish WebAuthn sign up
Auth webauthn signup start on Descope (Auth Platform)
Start WebAuthn sign up
Mgmt create access key on Descope (Auth Platform)
Create a new access key (M2M)
Mgmt create permission on Descope (Auth Platform)
Create a new permission
Mgmt create role on Descope (Auth Platform)
Create a new role
Mgmt create tenant on Descope (Auth Platform)
Create a new tenant
Mgmt create user on Descope (Auth Platform)
Create a new user
Mgmt delete user on Descope (Auth Platform)
Delete a user
Mgmt get user on Descope (Auth Platform)
Load a user by login ID
Mgmt list tenants on Descope (Auth Platform)
Load all tenants
Mgmt search users on Descope (Auth Platform)
Search for users
Mgmt update user on Descope (Auth Platform)
Update an existing user
Connect Descope (Auth Platform) to Mastra AI via MCP
Follow these steps to wire Descope (Auth Platform) into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @mastra/core @mastra/mcp @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Mastra AI with the Descope (Auth Platform) MCP Server
Mastra AI provides unique advantages when paired with Descope (Auth Platform) through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Descope (Auth Platform) without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every Descope (Auth Platform) tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Descope (Auth Platform) + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Descope (Auth Platform) MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Descope (Auth Platform), process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Descope (Auth Platform) as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Descope (Auth Platform) on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Descope (Auth Platform) tools alongside other MCP servers
Example Prompts for Descope (Auth Platform) in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Descope (Auth Platform) immediately.
"Sign up a new user with email dev-test@example.com using OTP."
"Verify the OTP code 998877 for user dev-test@example.com."
"Start a Google OAuth flow with redirect URL https://example.com/callback."
Troubleshooting Descope (Auth Platform) MCP Server with Mastra AI
Common issues when connecting Descope (Auth Platform) to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpDescope (Auth Platform) + Mastra AI FAQ
Common questions about integrating Descope (Auth Platform) MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Explore More MCP Servers
View all →
Import.io (Web Data Extraction)
10 toolsExtract structured data from any website via Import.io — run extractors, manage bulk crawls, and monitor API usage.

LexisNexis
7 toolsManage your corporate intelligence — audit news, company data, and legal cases via AI.

SemVer Version Manager
2 toolsStop LLMs from guessing software versions. Deterministically evaluate semantic version bounds, compatibilities, and sort releases perfectly.

Deliveroo
5 toolsManage Deliveroo restaurant orders — accept deliveries, track preparation stages, and sync POS status directly from your AI agent.
