Bring Sso
to Vercel AI SDK
Create your Vinkius account to connect WorkOS to Vercel AI SDK and start using all 10 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the WorkOS MCP Server?
Connect your WorkOS account to any AI agent and manage your enterprise identity infrastructure through natural conversation.
What you can do
- Organization Management — Browse and list all enterprise organizations (tenants), create new records, and manage authorized domains
- SSO Monitoring — List and audit active Single Sign-On (SSO) connections (SAML, OIDC) configured for your enterprise customers
- Directory Sync — Monitor active HRIS and SCIM directory instances and retrieve deep details on sync status and provider types
- Roster Management — Retrieve the complete list of users and organizational groups synced from external directories directly from your agent
- Audit Compliance — Stream and retrieve audit log events for any organization to monitor security and compliance activities
- Tenant Insights — Quickly find unique organization, connection, and directory IDs required for enterprise feature configuration
- Connectivity Health — Verify the status and metadata of SSO links and directory connections to ensure uptime
How it works
- Subscribe to this server
- Enter your WorkOS API Key
- Start managing your enterprise features through Claude, Cursor, or any MCP-compatible client
No more manual navigation through the WorkOS dashboard to check a directory sync status. Your AI agent becomes your enterprise identity administrator.
Who is this for?
- Enterprise Engineers — monitor SSO connection health and troubleshoot directory sync issues through simple chat commands
- Product Managers — audit the list of organizations and verified domains for roadmap and launch planning
- Security & Compliance Teams — retrieve audit logs and monitor user groups for access control verification
- Support Teams — quickly lookup organization details and user rosters to provide rapid technical assistance
Built-in capabilities (10)
Provide the name and a list of authorized domains. Creates a new organization record
Returns a stream of events tracked in the organization. Retrieves audit log events for an organization
g. Okta, Azure AD) of a directory ID. Retrieves metadata for a specific directory instance
Retrieves details for a specific organization
Retrieves details for a specific SSO connection
Lists all active Directory Sync instances
Lists all groups synced from a directory
Lists all users synced from a directory
Lists all active SSO connections
Lists all organizations in the WorkOS account
Why Vercel AI SDK?
The Vercel AI SDK gives every WorkOS tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 10 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
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 WorkOS integration everywhere
- —
Built-in streaming UI primitives let you display WorkOS 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
WorkOS in Vercel AI SDK
Why run WorkOS with Vinkius?
The WorkOS connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 10 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect WorkOS using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
WorkOS and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect WorkOS to Vercel AI SDK through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
WorkOS for Vercel AI SDK
Every request between Vercel AI SDK and WorkOS is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
Can I check the sync status of a specific company directory through the agent?
Yes. The get_directory_details tool allows your AI agent to retrieve the current sync status and metadata for any specific directory ID, helping you monitor whether employees are being correctly provisioned.
How do I see which users belong to a specific synced group?
You can use the list_directory_users tool and filter by the directory ID to see the full roster. For group-level information, use the list_directory_groups tool to see organizational units imported from the identity provider.
Is it possible to retrieve security audit logs via chat?
Absolutely. The get_audit_log_events tool retrieves a stream of events for any specific organization ID, giving you instant access to compliance-related activities directly through your conversation.
How does the Vercel AI SDK connect to MCP servers?
Import 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?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Explore More MCP Servers
View all →
Frontegg
12 toolsManage B2B identity, provision users, and oversee tenants via AI agents with Frontegg.

Doodle
10 toolsManage group scheduling via Doodle — create meeting polls, track participant votes, handle comments, and close polls directly from any AI agent.

Currency Math Engine
1 toolsStop financial calculation errors. Perform strict integer-based currency math for invoices, taxes, and cart totals.

UK Environment Agency
9 toolsPull real-time flood monitoring, sensor readings, and water levels directly from the UK Environment Agency via any AI agent.
