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 GitHubWhat 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.