Skip to main content
Glama
Okta MCP Server

Okta MCP Server

by csenguttuvan

Okta MCP Server

License: MIT Python: >=3.10 MCP

A production-grade Model Context Protocol (MCP) server that connects AI assistants like Claude Desktop, Cursor, and Claude Code to the Okta API.

Empower your LLMs to automate user provisioning, audit group memberships, troubleshoot access policies, query system logs, and inspect applications with built-in safety guardrails.


โœจ Features

  • 69+ Okta Tools: Full coverage across Users, Groups, Applications, Policies, Group Rules, and System Logs.

  • Dual Authentication:

    • API Token (SSWS): Simple 30-second setup for individual developers and desktop AI clients.

    • OAuth 2.0 Private Key JWT: Enterprise-grade service app authentication with automatic token rotation.

  • Built-In Safety Guardrails:

    • Dry-run by default: All bulk operations and attribute-based assignments preview changes before execution.

    • Confirmation flags: Single-target destructive actions (deactivation, deletion, MFA reset) require explicit confirm_* confirmation.

    • Safety caps: Prevents accidental mass updates (capped by default to 50 users unless explicitly overridden).

  • Flexible Modes:

    • Full Admin Mode: Full read/write management across all tools.

    • Read-Only Mode: Safety-first mode that only exposes inspection and search tools (OKTA_READ_ONLY=true).

  • Standard I/O (stdio) & HTTP/SSE: Runs natively as a subprocess inside your AI editor, or as a standalone container.


Related MCP server: TAKO MCP Server for Okta

๐Ÿš€ Quick Start

The fastest way to use Okta MCP server is with uv / uvx without needing to install anything permanently.

1. Claude Desktop

Add the following to your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "okta": {
      "command": "uvx",
      "args": ["okta-mcp-server"],
      "env": {
        "OKTA_API_BASE_URL": "https://your-org.okta.com",
        "OKTA_API_TOKEN": "00your_okta_api_token"
      }
    }
  }
}

2. Cursor

Add to .cursor/mcp.json in your project or global Cursor settings:

{
  "mcpServers": {
    "okta": {
      "command": "uvx",
      "args": ["okta-mcp-server"],
      "env": {
        "OKTA_API_BASE_URL": "https://your-org.okta.com",
        "OKTA_API_TOKEN": "00your_okta_api_token"
      }
    }
  }
}

3. Claude Code CLI

Add Okta MCP server directly using the Claude Code CLI:

claude mcp add okta -- uvx okta-mcp-server \
  -e OKTA_API_BASE_URL="https://your-org.okta.com" \
  -e OKTA_API_TOKEN="00your_okta_api_token"

๐Ÿ”‘ Authentication

  1. Log in to your Okta Admin Console.

  2. Navigate to Security โ†’ API โ†’ Tokens.

  3. Click Create Token, name it (e.g. claude-okta-mcp), and copy the generated token.

  4. Set the environment variables:

    OKTA_API_BASE_URL=https://your-org.okta.com
    OKTA_API_TOKEN=00your_api_token_here

Method B: OAuth 2.0 Private Key JWT โ€” For Teams & Enterprise

For zero static secrets, Okta supports service app authentication using public/private key pairs:

  1. In Okta Admin Console, go to Applications โ†’ Applications โ†’ Create App Integration.

  2. Select API Services and create an app.

  3. Under General โ†’ Client Credentials, add a Public Key (PEM) and keep your private key (private_key.pem).

  4. Under Okta API Scopes, grant the desired scopes (e.g., okta.users.manage, okta.groups.manage, okta.apps.read).

  5. Configure your environment:

    OKTA_API_BASE_URL=https://your-org.okta.com
    OKTA_CLIENT_ID=0oayourclientid
    OKTA_PRIVATE_KEY_PATH=/path/to/private_key.pem
    OKTA_SCOPES="okta.users.manage okta.groups.manage okta.apps.manage okta.policies.manage okta.logs.read"

๐Ÿ›ก๏ธ Read-Only Mode

If you want your AI assistant to only inspect, audit, and troubleshoot without making any modifications:

Set OKTA_READ_ONLY=true:

{
  "mcpServers": {
    "okta": {
      "command": "uvx",
      "args": ["okta-mcp-server"],
      "env": {
        "OKTA_API_BASE_URL": "https://your-org.okta.com",
        "OKTA_API_TOKEN": "00your_okta_api_token",
        "OKTA_READ_ONLY": "true"
      }
    }
  }
}

In read-only mode, all 44 state-mutating tools (create_*, update_*, delete_*, assign_*, deactivate_*) are disabled, and only the 25 inspection tools (get_*, list_*, search_*, find_*) are registered.


๐Ÿงฐ Available Tools Summary

Category

Tools

Capabilities

Users

find_user, get_user, list_users, search_users, search_users_fuzzy, search_users_by_attribute, create_user, update_user, deactivate_user, reactivate_user, delete_user, reset_user_password, reset_user_mfa_and_password

Full user lifecycle, profile updates, credential resets, and fuzzy search

Groups

get_group, list_groups, search_groups_fuzzy, list_group_users, get_user_groups, bulk_get_groups, create_group, update_group, delete_group, add_user_to_group, add_users_to_group, remove_user_from_group, add_users_to_group_by_attribute, remove_users_from_group_by_attribute

Group administration, bulk membership automation, attribute matching

Applications

find_application, get_application, list_applications, search_applications_fuzzy, list_application_users, list_application_groups, list_application_available_roles, search_aws_applications_by_account, create_application, assign_user_to_application, assign_group_to_application, assign_user_to_application_with_role, batch_assign_users_to_application, unassign_user_from_application, unassign_users_from_application_by_attribute

SAML/OIDC/Bookmark apps, AWS IAM role assignments, bulk user provisioning

Policies

get_policy, list_policies, get_policy_rule, list_policy_rules, create_policy, update_policy, activate_policy, deactivate_policy, delete_policy, create_policy_rule, update_policy_rule, activate_policy_rule, deactivate_policy_rule, delete_policy_rule

Sign-on, MFA, Password, and Access policies

Group Rules

get_group_rule, list_group_rules, create_group_rule, update_group_rule, activate_group_rule, deactivate_group_rule, delete_group_rule

Dynamic, rule-based group membership automation

System Logs

get_logs

Real-time Okta audit log queries with filtering and time windows


๐Ÿณ Docker Usage

A lightweight multi-platform Dockerfile is included:

docker build -t okta-mcp-server .

Running stdio in Docker:

docker run -i --rm \
  -e OKTA_API_BASE_URL="https://your-org.okta.com" \
  -e OKTA_API_TOKEN="00your_token" \
  okta-mcp-server

Running as an HTTP / SSE Server:

docker run -d --name okta-mcp \
  -p 8000:8000 \
  -e MCP_TRANSPORT="sse" \
  -e MCP_HOST="0.0.0.0" \
  -e MCP_PORT="8000" \
  -e OKTA_API_BASE_URL="https://your-org.okta.com" \
  -e OKTA_API_TOKEN="00your_token" \
  okta-mcp-server

๐Ÿงช Development & Testing

Clone the repository and install dependencies with uv:

git clone https://github.com/csenguttuvan/okta-mcp-server.git
cd okta-mcp-server
uv sync

# Run the test suite
uv run pytest -v

# Run lint and code checks
uv run ruff check .
uv run ruff format --check .

๐Ÿ“„ License

This project is licensed under the MIT License.

Available Tools

69 tools
activate_group_ruleA

Activate a group rule so Okta starts evaluating it and assigning matching users.

Parameters: rule_id (str, required): The ID of the group rule to activate.

Returns: Dict with success status.

Inputs: rule_id. Returns: result

activate_policyC

Activate a policy.

Parameters: policy_id (str, required): The ID of the policy to activate.

Returns: Dict with success status.

Inputs: policy_id. Returns: result

activate_policy_ruleC

Activate a policy rule.

Parameters: policy_id (str, required): The ID of the policy. rule_id (str, required): The ID of the rule to activate.

Returns: Dict with success status.

Inputs: rule_id, policy_id. Returns: result

activate_userB

Activate a user in PROVISIONED or STAGED status.

Inputs: user_id (required), send_email. Returns: result

add_users_to_groupA

Add multiple users to a group at once (requires okta.groups.manage scope). Preferred over calling add_user_to_group in a loop. Only ACTIVE users are added; others are skipped with a reason.

โš ๏ธ BULK OPERATION. Defaults to dry_run=True for safety.

Args: group_id: Okta group ID to add users to user_ids: List of Okta user IDs dry_run: Preview only if True (default) โ€” makes no live calls to Okta confirm_add: Must be True when dry_run=False override_cap: Must be True to proceed if len(user_ids) exceeds the safety cap

Inputs: group_id (required), user_ids (required), dry_run, confirm_add, +1 more.

add_users_to_group_by_attributeA

Find ACTIVE users by profile attribute and add them to a group.

โš ๏ธ BULK OPERATION. Defaults to dry_run=True for safety.

Args: attribute: Profile attribute (e.g. 'division') value: Attribute value to match group_id: Okta group ID to add users to dry_run: Preview only if True (default) confirm_add: Must be True when dry_run=False override_cap: Must be True to proceed if the match count exceeds the safety cap

Inputs: value (required), group_id (required), attribute (required), dry_run, +2 more.

add_user_to_groupA

Add a single user to a group (requires okta.groups.manage scope). For multiple users use add_users_to_group() instead.

Inputs: user_id (required), group_id (required). Returns: result

assign_group_to_applicationC

Assign a group to an application.

Args: app_id: The Okta application ID group_id: The Okta group ID

Returns: Dict with assignment details

Inputs: app_id, group_id. Returns: result

assign_user_to_applicationB

Assign a user to an application.

Only ACTIVE users can be assigned to applications.

Args: app_id: The Okta application ID user_id: The Okta user ID

Returns: Dict with assignment details

Inputs: app_id, user_id. Returns: result

assign_user_to_application_with_roleA

Assign a user to an application with a specific role or profile attributes.

Only ACTIVE users can be assigned to applications.

This is particularly useful for applications like AWS where you need to assign users to specific IAM roles imported from AWS via SAML.

Args: app_id: The Okta application ID user_id: The Okta user ID or login email role: The role to assign (e.g., for AWS: "arn:aws:iam::123456789012:role/AdminRole,...") profile: Dict of additional profile attributes to set for this app assignment

Returns: Dict with assignment details including the assigned role

Inputs: app_id (required), user_id (required), role, profile. Returns: result

batch_assign_users_to_applicationA

Assign multiple users to an application in batch.

Only ACTIVE users will be assigned. Non-active users will be skipped.

โš ๏ธ BULK OPERATION. Defaults to dry_run=True for safety.

Args: app_id: The Okta application ID user_ids: List of Okta user IDs to assign to the application dry_run: Preview only if True (default) โ€” makes no live calls to Okta confirm_assignment: Must be True when dry_run=False override_cap: Must be True to proceed if len(user_ids) exceeds the safety cap

Returns: Dict with batch assignment results including success/failure counts

Inputs: app_id (required), user_ids (required), dry_run, override_cap, +1 more. Returns: result

bulk_get_groupsA

Get all groups for a user or an application in a single bulk call.

Accepts an Okta ID, email, display name, or app label โ€” resolves automatically.

target_type: 'user' or 'app' target_id:

  • Okta ID โ†’ '00u1abc...', '0oa4xyz...'

  • Email โ†’ 'jane.doe@company.com'

  • Display name โ†’ 'Jane Doe'

  • App label โ†’ 'Salesforce', 'GitHub'

Examples: - target_type='user', target_id='Jane Doe' โ†’ all groups Jane belongs to - target_type='user', target_id='jane@company.com'โ†’ all groups jane belongs to - target_type='app', target_id='Salesforce' โ†’ all groups assigned to Salesforce - target_type='app', target_id='0oa4gh5ij6kl' โ†’ all groups assigned to that app ID

Inputs: target_id (required), target_type (required), limit.

check_permissionsB

Return granted OAuth scopes and capability flags.

Inputs: no named parameters.

check_role_exists_on_applicationA

Check if a specific role exists/is available on an application.

Validates whether a given role (e.g., AWS IAM role ARN) is configured and available for assignment on the specified application.

Args: app_id: The Okta application ID role: The role to check (e.g., "arn:aws:iam::123456789012:role/AdminRole, arn:aws:iam::123456789012:saml-provider/Okta")

Returns: Dict with validation result and suggestions if role not found

Example: # Check if specific AWS role exists result = check_role_exists_on_application( app_id="0oaAWS123", role="arn:aws:iam::123456789012:role/AdminRole,arn:aws:iam::123456789012:saml-provider/Okta" ) # Returns: {"exists": True, "role": "...", "message": "Role exists and can be assigned"}

Inputs: role (required), app_id (required). Returns: result

create_applicationA

Create a new Okta application (requires okta.apps.manage scope).

IMPORTANT: This tool creates basic applications. SAML apps require additional configuration via the Okta UI after creation (ACS URL, Entity ID, certificates).

Args: label: Display name for the application (REQUIRED - always ask user) sign_on_mode: Authentication mode (REQUIRED - ask user to choose): - BOOKMARK: Simple link to external URL (requires url parameter) - OPENID_CONNECT: OAuth/OIDC app (requires redirect_uris) - SAML_2_0: SAML SSO application (basic creation only) - BROWSER_PLUGIN: Browser plugin app - BASIC_AUTH: Basic authentication app url: The URL for BOOKMARK applications (REQUIRED if sign_on_mode is BOOKMARK) app_settings: Additional application settings (optional) redirect_uris: List of callback URLs (REQUIRED for OPENID_CONNECT apps) grant_types: OAuth grant types for OIDC (default: ["authorization_code"]) response_types: OAuth response types for OIDC (default: ["code"]) application_type: Type of OIDC app - "web", "native", "browser", or "service" (default: "web") activate: Whether to activate immediately (default: True)

Required Fields by Application Type: BOOKMARK: label + sign_on_mode + url OPENID_CONNECT: label + sign_on_mode + redirect_uris SAML_2_0: label + sign_on_mode (NOTE: Requires additional UI configuration)

Returns: Dict containing the created application details

Inputs: label (required), sign_on_mode (required), url, activate, +5 more. Returns: result

create_groupB

Create a new Okta group (requires okta.groups.manage scope).

Inputs: name (required), description.

create_group_ruleA

Create a new group rule for dynamic, expression-based group membership.

Parameters: rule_data (dict, required): The group rule configuration containing: - name (str, required): Rule name - type (str, optional): Rule type, defaults to "group_rule" - conditions (dict, required): Must contain an expression, e.g. {"expression": {"type": "urn:okta:expression:1.0", "value": "user.department=="Sales""}} - actions (dict, required): Must contain the target group(s), e.g. {"assignUserToGroups": {"groupIds": ["<group_id>"]}}

Returns: Dict containing the created group rule details. New rules are created INACTIVE by default; call activate_group_rule to start evaluating and assigning members.

Inputs: rule_data. Returns: result

create_policyB

Create a new policy.

Parameters: policy_data (dict, required): The policy configuration containing: - type (str, required): Policy type (OKTA_SIGN_ON, PASSWORD, MFA_ENROLL, ACCESS_POLICY, PROFILE_ENROLLMENT, POST_AUTH_SESSION, ENTITY_RISK, DEVICE_SIGNAL_COLLECTION) - name (str, required): Policy name - description (str, optional): Policy description - status (str, optional): ACTIVE or INACTIVE (default ACTIVE) - priority (int, optional): Priority of the policy - conditions (dict, optional): Policy conditions - settings (dict, optional): Policy-specific settings

Returns: Dict containing the created policy details.

Inputs: policy_data. Returns: result

create_policy_ruleB

Create a new rule for a policy.

Parameters: policy_id (str, required): The ID of the policy. rule_data (dict, required): The rule configuration containing: - name (str, required): Rule name - priority (int, optional): Priority of the rule - status (str, optional): ACTIVE or INACTIVE - conditions (dict, optional): Rule conditions - actions (dict, optional): Rule actions

Returns: Dict containing the created rule details.

Inputs: policy_id, rule_data. Returns: result

create_userB

Create a new Okta user (requires okta.users.manage scope).

Inputs: email (required), last_name (required), first_name (required), activate.

deactivate_group_ruleA

Deactivate a group rule. Required before it can be updated or deleted.

Parameters: rule_id (str, required): The ID of the group rule to deactivate.

Returns: Dict with success status.

Inputs: rule_id. Returns: result

deactivate_policyC

Deactivate a policy.

Parameters: policy_id (str, required): The ID of the policy to deactivate.

Returns: Dict with success status.

Inputs: policy_id. Returns: result

deactivate_policy_ruleC

Deactivate a policy rule.

Parameters: policy_id (str, required): The ID of the policy. rule_id (str, required): The ID of the rule to deactivate.

Returns: Dict with success status.

Inputs: rule_id, policy_id. Returns: result

deactivate_userA

Deactivate an Okta user (requires okta.users.manage scope).

โš ๏ธ Suspends user access but does not delete. Required before permanent deletion.

Args: user_id: Okta user ID (00u...) confirm_deactivation: Must be True to proceed

Inputs: user_id (required), confirm_deactivation. Returns: result

delete_groupA

Delete an Okta group (requires okta.groups.manage scope).

โš ๏ธ DESTRUCTIVE โ€” removes group and all memberships. Set confirm_deletion=True. Built-in groups (e.g. Everyone) cannot be deleted.

Inputs: group_id (required), confirm_deletion. Returns: result

delete_group_ruleA

Delete a group rule.

Note: Okta requires the rule to be INACTIVE before it can be deleted โ€” call deactivate_group_rule first if the rule is currently active.

Parameters: rule_id (str, required): The ID of the group rule to delete. remove_users (bool, optional): If True, also removes users the rule had assigned to the target group(s). Defaults to False. confirm_deletion (bool, required): Must be True to proceed.

Returns: Dict with success status.

Inputs: rule_id, remove_users, confirm_deletion. Returns: result

delete_policyA

Delete a policy.

โš ๏ธ DESTRUCTIVE โ€” cannot be undone. Set confirm_deletion=True to proceed.

Parameters: policy_id (str, required): The ID of the policy to delete. confirm_deletion (bool, required): Must be True to proceed.

Returns: Dict with success status.

Inputs: policy_id, confirm_deletion. Returns: result

delete_policy_ruleA

Delete a policy rule.

โš ๏ธ DESTRUCTIVE โ€” cannot be undone. Set confirm_deletion=True to proceed.

Parameters: policy_id (str, required): The ID of the policy. rule_id (str, required): The ID of the rule to delete. confirm_deletion (bool, required): Must be True to proceed.

Returns: Dict with success status.

Inputs: rule_id, policy_id, confirm_deletion. Returns: result

delete_userA

Permanently delete an Okta user (requires okta.users.manage scope).

โš ๏ธ IRREVERSIBLE. User must be DEPROVISIONED first via deactivate_user().

Args: user_id: Okta user ID (00u...) confirm_deletion: Must be True to proceed

Inputs: user_id (required), confirm_deletion. Returns: result

find_applicationB

Fuzzy search for Okta applications by name. Use when exact app name is unknown. Alias for find_application with a single query string.

Args: query: Partial or full application name to search for (case-insensitive)

Returns: String containing matched applications with their IDs

Example: { "query": "databricks" }

Inputs: names. Returns: result

find_userB

Universal user lookup. Pass email, Okta ID (00u...), or full name like 'Jane Doe'. Example: { "identifier": "jane.doe@example.com" }

Inputs: identifier (required).

get_applicationC

Get details of a specific application by ID.

Args: app_id: The Okta application ID

Returns: Dict containing application details

Inputs: app_id. Returns: result

get_groupC

Get details for a specific group by ID.

Inputs: group_id (required).

get_group_ruleB

Retrieve a specific group rule.

Parameters: rule_id (str, required): The ID of the group rule. expand (str, optional): If set to "groupIdToGroupNameMap", returns group names in the response.

Returns: Dict containing the group rule details.

Inputs: expand, rule_id. Returns: result

get_logsC

Retrieve system logs from Okta (requires logs.read scope).

Inputs: limit, query, since, until, +1 more.

get_policyB

Retrieve a specific policy by ID.

Parameters: policy_id (str, required): The ID of the policy to retrieve.

Returns: Dict containing the policy details.

Inputs: policy_id. Returns: result

get_policy_ruleB

Retrieve a specific policy rule.

Parameters: policy_id (str, required): The ID of the policy. rule_id (str, required): The ID of the rule.

Returns: Dict containing the policy rule details.

Inputs: rule_id, policy_id. Returns: result

get_userA

Get user by exact Okta ID or login/email.

Inputs: user_id (required).

get_user_groupsC

Get all groups a user belongs to.

Inputs: user_id (required).

list_application_available_rolesA

List all available/importable roles defined for an application.

For AWS apps, this returns all IAM roles that have been imported from AWS into Okta. For other SAML apps, this returns the role options configured in the app settings. These are the roles you can assign to users.

Args: app_id: The Okta application ID

Returns: Dict containing available roles that can be assigned to users

Example for AWS app: { "available_roles": [ "arn:aws:iam::123456789012:role/AdminRole,arn:aws:iam::123456789012:saml-provider/Okta", "arn:aws:iam::123456789012:role/DeveloperRole,arn:aws:iam::123456789012:saml-provider/Okta", "arn:aws:iam::123456789012:role/ReadOnlyRole,arn:aws:iam::123456789012:saml-provider/Okta" ], "role_count": 3, "app_name": "AWS Account", "aws_account_id": "123456789012" }

Inputs: app_id (required). Returns: result

list_application_groupsB

List groups assigned to an application.

Args: app_id: The Okta application ID limit: Maximum number of groups to return

Returns: Dict containing list of assigned groups

Inputs: limit, app_id. Returns: result

list_applicationsA

List all applications in the Okta organization.

Args: limit: Maximum number of applications to return (default 20) after: Pagination cursor for next page filter: Filter expression (e.g., 'status eq "ACTIVE"') search: Search term to filter by app name (case-insensitive substring match)

Returns: String containing formatted list of applications

Inputs: after, limit, filter, search. Returns: result

list_application_usersB

List users assigned to an application.

Args: app_id: The Okta application ID limit: Maximum number of users to return

Returns: Dict containing list of assigned users

Inputs: limit, app_id. Returns: result

list_group_rulesA

List all group rules in the Okta organization.

Parameters: limit (int, optional): Number of results to return (max 200). after (str, optional): Specifies the pagination cursor for the next page of rules. search (str, optional): Filters rules by name. expand (str, optional): If set to "groupIdToGroupNameMap", returns group names in the response.

Returns: Dict containing: - rules (List[Dict]): List of group rule dictionaries - error (str): Error message if the operation fails

Inputs: after, limit, expand, search. Returns: result

list_groupsC

List Okta groups. Use query for name prefix search.

Inputs: limit, query. Returns: result

list_group_usersC

List members of a group.

Inputs: group_id (required), limit.

list_policiesB

List all the policies from the Okta organization.

Parameters: type (str, required): Specifies the type of policy to return. Available policy types are: OKTA_SIGN_ON, PASSWORD, MFA_ENROLL, IDP_DISCOVERY, ACCESS_POLICY, PROFILE_ENROLLMENT, POST_AUTH_SESSION, ENTITY_RISK status (str, optional): Refines the query by the status of the policy - ACTIVE or INACTIVE. q (str, optional): A query string to search policies by name. limit (int, optional): Number of results to return (min 20, max 100). after (str, optional): Specifies the pagination cursor for the next page of policies.

Returns: Dict containing: - policies (List[Dict]): List of policy dictionaries, each containing policy details - error (str): Error message if the operation fails

Inputs: q, type, after, limit, +1 more. Returns: result

list_policy_rulesC

List all rules for a specific policy.

Parameters: policy_id (str, required): The ID of the policy.

Returns: Dict containing: - rules (List[Dict]): List of policy rule dictionaries - error (str): Error message if the operation fails

Inputs: policy_id. Returns: result

list_usersB

List Okta users. Use query for name or email prefix search.

Inputs: limit, query. Returns: result

preview_group_deletion_impactA

Preview the impact of deleting a group โ€” member count and app assignments.

Inputs: group_id (required).

reactivate_userB

Reactivate a DEPROVISIONED user (undo deactivation).

Inputs: user_id (required). Returns: result

remove_user_from_groupB

Remove a user from a group (requires okta.groups.manage scope).

Inputs: user_id (required), group_id (required). Returns: result

remove_users_from_group_by_attributeA

Find ACTIVE users by profile attribute and remove them from a group.

โš ๏ธ BULK OPERATION. Defaults to dry_run=True for safety.

Args: attribute: Profile attribute (e.g. 'division') value: Attribute value to match group_id: Okta group ID to remove users from dry_run: Preview only if True (default) confirm_removal: Must be True when dry_run=False override_cap: Must be True to proceed if the match count exceeds the safety cap

Inputs: value (required), group_id (required), attribute (required), dry_run, +2 more.

reset_user_mfa_and_passwordA

Reset MFA factors and send password reset email for a user.

โš ๏ธ Deletes all enrolled MFA factors โ€” irreversible, factors must be re-enrolled.

Args: user_id: Okta user ID (00u...) or login email confirm_reset: Must be True to proceed

Inputs: user_id (required), confirm_reset. Returns: result

reset_user_passwordA

Send a password reset email for a user, without touching MFA factors.

Args: user_id: Okta user ID (00u...) or login email confirm_reset: Must be True to proceed

Inputs: user_id (required), confirm_reset. Returns: result

search_applications_fuzzyA

Fuzzy search for Okta applications by name. Use when exact app name is unknown.

Args: query: Partial or full application name to search for (case-insensitive) limit: Maximum number of applications to scan (default 50)

Returns: String containing matched applications with their IDs Example: { "query": "databricks" }

Inputs: query (required), limit. Returns: result

search_aws_applications_by_accountC

Search AWS applications by AWS account ID.

Inputs: account_id. Returns: result

search_groups_fuzzyA

Fuzzy search Okta groups by name (handles typos, partial names, case differences).

Examples:

  • "outreach users" โ†’ matches "Outreach - Users"

  • "disciplew dev" โ†’ matches "Disciples-dev"

  • "sso admin" โ†’ matches "Outreach - SSO - Admin"

Inputs: search_term (required), limit.

search_usersC

Search users using Okta search syntax or plain name/email.

Inputs: search (required), limit.

search_users_by_attributeB

Search users by any profile attribute (division, department, title, location, etc.).

Inputs: value (required), attribute (required), limit. Returns: result

search_users_fuzzyB

Fuzzy search users by name/email using substring and difflib matching.

Inputs: search_term (required), limit.

unassign_user_from_applicationA

Remove a user's assignment from an application (requires okta.apps.manage scope).

โš ๏ธ This removes the user's access to the application.

Args: app_id: The Okta application ID (format: 0oa1234567890123456) user_id: The Okta user ID (format: 00u1234567890123456) ctx: Optional context

Returns: String message with operation status

Inputs: app_id (required), user_id (required). Returns: result

unassign_users_from_application_by_attributeA

Find ACTIVE users by profile attribute and remove them from an application.

โš ๏ธ BULK OPERATION. Defaults to dry_run=True for safety.

Args: app_id: The Okta application ID attribute: Profile attribute (e.g. 'division') value: Attribute value to match dry_run: Preview only if True (default) confirm_removal: Must be True when dry_run=False override_cap: Must be True to proceed if the match count exceeds the safety cap

Inputs: value (required), app_id (required), attribute (required), dry_run, +2 more. Returns: result

update_groupA

Update a group's name or description (requires okta.groups.manage scope).

Inputs: group_id (required), name, description.

update_group_ruleB

Update an existing group rule.

Note: Okta requires the rule to be INACTIVE before it can be updated โ€” call deactivate_group_rule first if the rule is currently active.

Parameters: rule_id (str, required): The ID of the group rule to update. rule_data (dict, required): The updated group rule configuration.

Returns: Dict containing the updated group rule details.

Inputs: rule_id, rule_data. Returns: result

update_policyC

Update an existing policy.

Parameters: policy_id (str, required): The ID of the policy to update. policy_data (dict, required): The updated policy configuration.

Returns: Dict containing the updated policy details.

Inputs: policy_id, policy_data. Returns: result

update_policy_ruleC

Update an existing policy rule.

Parameters: policy_id (str, required): The ID of the policy. rule_id (str, required): The ID of the rule to update. rule_data (dict, required): The updated rule configuration.

Returns: Dict containing the updated rule details.

Inputs: rule_id, policy_id, rule_data. Returns: result

update_userB

Update a user's profile attributes (requires okta.users.manage scope).

Args: user_id: Okta user ID (00u...) or login email first_name: New first name (optional) last_name: New last name (optional) email: New email/login (optional) department: New department (optional) title: New title (optional)

Inputs: user_id (required), email, title, last_name, +2 more. Returns: result

update_user_application_roleB

Update the role or profile for a user already assigned to an application.

Use this to change AWS IAM roles or other app-specific attributes for existing assignments.

Args: app_id: The Okta application ID user_id: The Okta user ID or login email role: The new role to assign (e.g., AWS IAM role ARN) profile: Dict of profile attributes to update

Returns: Dict with updated assignment details

Inputs: app_id (required), user_id (required), role, profile. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogโ€ฆ

    TDQS

    C2.9/5.0

    Scored across 69 tools

    Disambiguation2/5

    Many tools overlap heavily: find_user, get_user, search_users, search_users_fuzzy, and search_users_by_attribute all serve similar lookup needs, and find_application is essentially duplicated by search_applications_fuzzy. Assignment operations also have confusing singular, batch, role-specific, and by-attribute variants, so agents can easily choose the wrong tool despite helpful descriptions.

    Naming Consistency4/5

    Tool names are overwhelmingly snake_case and follow a verb_noun pattern such as create_group, update_policy, and delete_group_rule. There are minor inconsistencies between find/get/search and bulk/batch naming, but the overall convention is predictable.

    Tool Count1/5

    Sixty-nine tools is far beyond a practical MCP tool surface and exceeds the 50+ threshold for extreme mismatch. Many are bulk wrappers, fuzzy-search variants, or near-duplicates that could be consolidated into fewer parameterized tools.

    Completeness3/5

    The server covers core user, group, application-assignment, policy, policy-rule, and group-rule workflows, but applications lack update and delete operations, group-to-application unassignment is missing, and broader Okta domains such as identity providers, authorization servers, devices, and admin roles are absent. These are notable gaps even within the heavily expanded tool set.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables LLM agents to manage Okta organizations through natural language, providing full CRUD operations for users, groups, applications, policies, and system logs via Okta's Admin Management APIs.
      1,659 PyPI
      80
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to manage Okta users, groups, applications, policies, and logs through natural language commands.
      Apache 2.0