MCP server for WorkOS User Management API. Enables Claude to manage users, organizations, memberships, invitations, and sessions in WorkOS.
bun installSet environment variables:
export WORKOS_API_KEY=sk_...
export WORKOS_CLIENT_ID=client_...
export WORKOS_ENVIRONMENT_ID=environment_... # Found in WorkOS Dashboard URLAdd to your Claude Code MCP settings:
{
"mcpServers": {
"workos": {
"command": "bun",
"args": ["run", "/path/to/packages/mcps/workos/src/index.ts"],
"env": {
"WORKOS_API_KEY": "sk_...",
"WORKOS_CLIENT_ID": "client_...",
"WORKOS_ENVIRONMENT_ID": "environment_..."
}
}
}
}bun run src/index.tsbun run inspect| Tool | Description |
|---|---|
list_users |
List users with optional filtering by email or organization |
get_user |
Get details of a specific user |
create_user |
Create a new user |
update_user |
Update user information |
delete_user |
Delete a user |
| Tool | Description |
|---|---|
list_organizations |
List all organizations |
get_organization |
Get organization details |
create_organization |
Create a new organization |
update_organization |
Update organization |
delete_organization |
Delete an organization |
| Tool | Description |
|---|---|
list_organization_memberships |
List memberships (filter by user or org) |
get_organization_membership |
Get membership details |
create_organization_membership |
Add user to organization |
update_organization_membership |
Update user's role |
delete_organization_membership |
Remove user from organization |
| Tool | Description |
|---|---|
list_invitations |
List pending invitations |
get_invitation |
Get invitation details |
send_invitation |
Send invitation email |
revoke_invitation |
Revoke pending invitation |
| Tool | Description |
|---|---|
list_sessions |
List active sessions for a user |
revoke_session |
Revoke an active session |
| Tool | Description |
|---|---|
send_password_reset_email |
Send password reset email |
send_verification_email |
Send email verification |
| Tool | Description |
|---|---|
list_auth_factors |
List user's MFA factors |
| Tool | Description |
|---|---|
get_impersonation_url |
Get URL to impersonate user in WorkOS Dashboard |
get_user_dashboard_url |
Get URL to view user in WorkOS Dashboard |
MIT