Skip to main content
MCP server CX Codex

Okta · okta — Claude Code MCP server: what it does and how to run

Runs identity administration tasks in Okta through language model prompts. Helps teams manage directory accounts, access rules, and applications directly from an MCP client.

no license updated 2026-10-29

Open on GitHub

What Okta does

This server routes assistant instructions into the official Okta Admin Management API via okta-sdk-python 3.4.1. Assistants handle everyday identity maintenance: provisioning user profiles, modifying memberships, updating security policies, or tweaking email templates. Destructive actions like account deactivation or object deletion trigger interactive user prompts via the MCP Elicitation API before running.

Tool registration depends on the OAuth tokens configured inside OKTA_SCOPES. When permissions are missing for an endpoint, the server strips that tool before processing the initial prompt. Two authentication paths are supported: browser-based Device Authorization Grant and automated Private Key JWT tokens.

Running this integration locally demands Python 3.13+ with the uv tool, or a Docker setup. Without configured organization credentials and OAuth variables, the integration will not initialize.

What it helps with

  • assign directory users into engineering groups
  • inspect authorization audit logs for failed logins
  • adjust device assurance rules and notification templates
  • detect unused enterprise applications inside the tenant

Example prompts for the agent

  • Provision an account and assign it to the developer team.
  • Find recent unsuccessful sign-in events from the previous day.
  • Filter integrations without recorded usage over the previous month.

How to install Okta

Install

The MCP registry has no launch command for it: see the repository README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Okta

How to install the Okta MCP server?

Clone the repository using git clone https://github.com/okta/okta-mcp-server.git, enter the directory, and copy the example file with cp .env.example .env. Configure your variables, run docker-compose up -d, and configure the Docker run command inside your MCP client configuration.

What does the Okta MCP server do?

It connects assistants to directory endpoints using the Okta Python SDK v3.4.1, enabling conversational user provisioning, group assignment, and policy administration.

How does it stop accidental deletions?

Sensitive actions such as deactivations or deletions invoke an interactive prompt via the MCP Elicitation API. If the client lacks support for this protocol feature, an automated fallback handles the request.

Similar MCP servers

All MCP servers for Security →

Okta by other authors comes first.

Okta fctr-id This MCP server connects an AI assistant to Okta resources to inspect app access and assess potentially suspicious login activity. CX Codex +1 okta-attack Sachin Sharma okta-attack is a Claude Code skill for mapping an attack chain against organizations using Okta as an identity provider, from tenant discovery and user enumeration to MFA review and cautious password spraying. CX Codex +1 ★ 16,193repo stars iam-audit briiirussell iam-audit audits cloud and identity provider access, designs least-privilege role models, and structures SSO migrations. Detects privilege creep without making live changes. CX Codex +1 450installs startup-it-troubleshooting devops-skills startup-it-troubleshooting is a Claude Code skill with practical fixes for small teams that have no dedicated IT staff. It covers account lockouts, network faults, laptop issues, and device administration. CX Codex +1 364installs identity-access-management devops-skills identity-access-management — a skill for setting up SSO, SCIM provisioning and MFA through Google Workspace, Okta or Azure AD. Useful once manual onboarding stops keeping up with the team. CX Codex +1 351installs google-cloud-recipe-auth official Google LLC The google-cloud-recipe-auth skill explains Google Cloud authentication and permissions. Use it when setting up IAM, ADC, or service accounts for local code and production workloads. CX Codex +1 15,450installs twilio-organizations-setup official Twilio twilio-organizations-setup guides agents through configuring Twilio Organizations, access roles, corporate domain verification, and SSO. Useful for managing multiple accounts and separated team billing. CX Codex GP ChatGPT +1 ★ 8,052repo stars

Project sponsors

Companies that keep this analytics open