Descope (Auth Platform) MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 33 tools to Auth Enchantedlink Poll, Auth Enchantedlink Signup, Auth Enchantedlink Verify, and more
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect Descope (Auth Platform) through Vinkius and every tool is available as a typed function. ready for React Server Components, API routes, or any Node.js backend.
Ask AI about this MCP Server for Vercel AI SDK
The Descope (Auth Platform) MCP Server for Vercel AI SDK 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 { createMCPClient } from "@ai-sdk/mcp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
async function main() {
const mcpClient = await createMCPClient({
transport: {
type: "http",
// Your Vinkius token. get it at cloud.vinkius.com
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
});
try {
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "Using Descope (Auth Platform), list all available capabilities.",
});
console.log(text);
} finally {
await mcpClient.close();
}
}
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.
The Vercel AI SDK gives every Descope (Auth Platform) tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 33 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
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 Vercel AI SDK 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 Vercel AI SDK
When Vercel AI SDK 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 Vercel AI SDK via MCP
Follow these steps to wire Descope (Auth Platform) into Vercel AI SDK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @ai-sdk/mcp ai @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the script
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Vercel AI SDK with the Descope (Auth Platform) MCP Server
Vercel AI SDK provides unique advantages when paired with Descope (Auth Platform) through the Model Context Protocol.
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Descope (Auth Platform) integration everywhere
Built-in streaming UI primitives let you display Descope (Auth Platform) tool results progressively in React, Svelte, or Vue components
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Descope (Auth Platform) + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the Descope (Auth Platform) MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query Descope (Auth Platform) in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate Descope (Auth Platform) tools and return structured JSON responses to any frontend
Chatbots with tool use: embed Descope (Auth Platform) capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with Descope (Auth Platform) through natural language queries
Example Prompts for Descope (Auth Platform) in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK 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 Vercel AI SDK
Common issues when connecting Descope (Auth Platform) to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpDescope (Auth Platform) + Vercel AI SDK FAQ
Common questions about integrating Descope (Auth Platform) MCP Server with Vercel AI SDK.
How does the Vercel AI SDK connect to MCP servers?
createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.Can I use MCP tools in Edge Functions?
Does it support streaming tool results?
useChat and streamText that handle tool calls and display results progressively in the UI.Explore More MCP Servers
View all →
Portkey
10 toolsAI gateway observability: monitor logs, costs, and manage LLM configurations via agents.

Tally
8 toolsManage your Tally forms and submissions — audit workspaces and responses via AI.

Harvest
11 toolsAutomate time tracking and invoicing via Harvest — manage clients, invoices, and time entries directly from any AI agent.

GitHub
12 toolsManage repositories, pull requests, issues, and CI/CD workflows on the world largest developer collaboration platform.
