WorkOS MCP Server
Published · Updated
At a glance
- Category
- Security & auth
- Hosted by the vendor
- https://workos.com/docs/mcp
- Watch out for
- The agent gets your dashboard role exactly, so a read-only member can't make changes through it and an admin's agent can do anything an admin can.
WorkOS runs a hosted MCP server at https://mcp.workos.com/mcp for managing your own WorkOS workspace. It is not the AuthKit product WorkOS sells for adding auth to other people's MCP servers. This one lets an agent look at and change the organizations, SSO connections, directories, users and settings you already manage in the WorkOS dashboard.
It is remote only and speaks streamable HTTP. You sign in through WorkOS Connect with OAuth, and the agent then acts as you with your exact dashboard role. WorkOS announced it on 1 July 2026.
The design is small on purpose. Instead of one tool per endpoint, there are four tools: one to find operations and others to run them by name. WorkOS says that covers hundreds of operations across the product.
How it connects
Your AI app
An assistant or agent that supports MCP
WorkOS MCP Server
Runs as
- Remote (HTTP)
Gives the agent
- Identity check
- Operation discovery
- Read queries
- Writes and changes
- Guarded deletes
WorkOS
Signs in with
- OAuth / browser sign-in
What it can do
- Identity check
- The whoami tool tells the agent which user, team and role it is acting as before it touches anything.
- Operation discovery
- list_operations finds the available operations, so the agent can look up what it can do instead of guessing endpoint names.
- Read queries
- query runs read operations by name, for example listing organizations, SSO connections, Directory Sync directories or AuthKit users and sessions.
- Writes and changes
- mutate runs write operations by name across roles and permissions, webhooks, feature flags, environments and branding, subject to your role and the team's write setting.
- Guarded deletes
- Irreversible deletes, such as removing an organization, connection or directory, need an explicit second confirmation after the agent describes the impact.
Setting it up
In Claude Code, run claude mcp add --transport http workos https://mcp.workos.com/mcp, then finish the OAuth consent screen that opens in your browser. In Cursor, add a server named workos with "url": "https://mcp.workos.com/mcp" under mcpServers in ~/.cursor/mcp.json or .cursor/mcp.json. In VS Code, put it in the workspace-root .mcp.json under mcpServers with "type": "http" and the same URL. Codex uses codex mcp add workos --url https://mcp.workos.com/mcp followed by codex mcp login workos. Claude Desktop and ChatGPT add it from Settings, Connectors, Add custom connector. No API key is involved; the first connection signs you in and you approve access.
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Ask the agent to list the SSO connections for a customer organization in sandbox and say which ones are inactive.
- Set up a new organization and its roles in sandbox while testing an onboarding flow.
- Check which webhooks are configured for an environment and add a missing endpoint.
- Look up an AuthKit user and their sessions while debugging a login report.
- Toggle a feature flag in sandbox before promoting the change by hand.
Limitations and things to watch
- The agent gets your dashboard role exactly, so a read-only member can't make changes through it and an admin's agent can do anything an admin can.
- It defaults to sandbox and only touches production when told to, and team admins can switch off production access or write access entirely.
- API keys, client secrets and webhook signing secrets are stripped from responses, and the agent cannot create or rotate credentials.
- Impersonated sessions can't run mutations, and billing and account-level administration such as deleting the team are excluded.
- It works on one team at a time and is hosted only, so it needs a client that supports remote MCP servers.
Sources
Written from the project's own documentation, checked November 2026.
- workos.com /docs/mcp
- workos.com /blog/management-mcp-server
- workos.com /changelog/management-mcp-server
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.