Okta MCP Server
Connects AI assistants to the Okta API, providing 69+ tools for managing users, groups, applications, policies, group rules, and system logs. Supports user lifecycle management, bulk group membership automation, app provisioning (including AWS IAM roles), policy and rule administration, and audit log queries, with built-in safety guardrails like dry-run defaults, confirmation flags, safety caps, and a read-only mode.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Okta MCP Server Find the user with email jane.doe@acme.com and list their group memberships"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Okta MCP Server
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.jsonWindows:
%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
Method A: API Token (SSWS) โ Recommended for Personal Use
Log in to your Okta Admin Console.
Navigate to Security โ API โ Tokens.
Click Create Token, name it (e.g.
claude-okta-mcp), and copy the generated token.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:
In Okta Admin Console, go to Applications โ Applications โ Create App Integration.
Select API Services and create an app.
Under General โ Client Credentials, add a Public Key (PEM) and keep your private key (
private_key.pem).Under Okta API Scopes, grant the desired scopes (e.g.,
okta.users.manage,okta.groups.manage,okta.apps.read).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 |
| Full user lifecycle, profile updates, credential resets, and fuzzy search |
Groups |
| Group administration, bulk membership automation, attribute matching |
Applications |
| SAML/OIDC/Bookmark apps, AWS IAM role assignments, bulk user provisioning |
Policies |
| Sign-on, MFA, Password, and Access policies |
Group Rules |
| Dynamic, rule-based group membership automation |
System 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-serverRunning 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 toolsactivate_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
Scored across 69 tools
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.
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.
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.
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
Related MCP Connectors
Connect assistants to your company tools with per-person, per-action grants and a full audit log.
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Runtime permission, approval, and audit layer for AI agent tool execution.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceEnables 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 PyPI80Apache 2.0- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to securely query and manage Okta resources for IAM and security administration. It supports dual-mode operation for standard tool interaction or autonomous agent workflows with sandboxed code execution.5-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to securely access Okta Identity Governance APIs for managing users, groups, apps, access requests, and certifications with configurable deployment modes and safety controls.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Okta users, groups, applications, policies, and logs through natural language commands.Apache 2.0