Okta MCP Server for Cloudflare Workers
Test Okta tools directly in your browser. Select a tool and provide inputs to see the results.
Create a free account to test Okta tools interactively. No credit card required.
okta_list_authenticatorsList all authenticators configured in the org. Returns: Array of authenticators with their status and settings.
okta_delete_identity_providerDelete an identity provider. Args: - idpId: Identity provider ID Returns: Confirmation of deletion.
okta_activate_policyActivate a policy. Args: - policyId: Policy ID Returns: Confirmation of activation.
okta_assign_group_to_appAssign a group to an application. Args: - appId: Application ID - groupId: Group ID Returns: Confirmation of assignment.
okta_get_auth_serverGet an authorization server by ID. Args: - authServerId: Authorization server ID (use 'default' for the default server) Returns: The authorization server record.
okta_remove_group_from_appRemove a group from an application. Args: - appId: Application ID - groupId: Group ID Returns: Confirmation of removal.
okta_get_authenticatorGet an authenticator by ID. Args: - authenticatorId: Authenticator ID Returns: The authenticator record.
okta_activate_authenticatorActivate an authenticator. Args: - authenticatorId: Authenticator ID Returns: The activated authenticator.
okta_deactivate_policyDeactivate a policy. Args: - policyId: Policy ID Returns: Confirmation of deactivation.
okta_deactivate_authenticatorDeactivate an authenticator. Args: - authenticatorId: Authenticator ID Returns: The deactivated authenticator.
okta_list_auth_serversList authorization servers from Okta. Args: - limit: Number of servers to return (1-200, default: 20) - after: Pagination cursor - q: Search query - format: Response format Returns: Paginated list of authorization servers.
okta_list_applicationsList applications from Okta with pagination and filtering. Args: - limit: Number of apps to return (1-200, default: 20) - after: Pagination cursor - filter: Filter expression (e.g., 'status eq "ACTIVE"') - q: Search query for app name - format: Response format Returns: Paginated list of applications.
okta_get_applicationGet a single application by ID. Args: - appId: Application ID Returns: The application record with settings and credentials.
okta_activate_applicationActivate an inactive application. Args: - appId: Application ID Returns: Confirmation of activation.
okta_deactivate_applicationDeactivate an active application. Args: - appId: Application ID Returns: Confirmation of deactivation.
okta_delete_applicationDelete an application. Must be deactivated first. Args: - appId: Application ID Returns: Confirmation of deletion.
okta_list_app_usersList users assigned to an application. Args: - appId: Application ID - limit: Number of users to return - after: Pagination cursor - format: Response format Returns: Paginated list of app users.
okta_assign_user_to_appAssign a user to an application. Args: - appId: Application ID - userId: User ID - profile: Optional app-specific user profile Returns: The app user assignment.
okta_remove_user_from_appRemove a user from an application. Args: - appId: Application ID - userId: User ID Returns: Confirmation of removal.
okta_list_app_groupsList groups assigned to an application. Args: - appId: Application ID Returns: Array of groups assigned to the app.
okta_create_auth_serverCreate a new authorization server. Args: - name: Server name - description: Server description - audiences: Array of audiences (URIs) Returns: The created authorization server.
okta_update_auth_serverUpdate an authorization server. Args: - authServerId: Authorization server ID - name: Server name - description: Server description - audiences: Array of audiences (URIs) Returns: The updated authorization server.
okta_delete_auth_serverDelete an authorization server. Args: - authServerId: Authorization server ID Returns: Confirmation of deletion.
okta_activate_auth_serverActivate an authorization server. Args: - authServerId: Authorization server ID Returns: Confirmation of activation.
okta_deactivate_auth_serverDeactivate an authorization server. Args: - authServerId: Authorization server ID Returns: Confirmation of deactivation.
okta_list_auth_server_scopesList scopes for an authorization server. Args: - authServerId: Authorization server ID Returns: Array of scopes.
okta_create_auth_server_scopeCreate a scope for an authorization server. Args: - authServerId: Authorization server ID - name: Scope name - description: Scope description - consent: Consent mode (IMPLICIT or REQUIRED) - metadataPublish: Publish to metadata (NO_CLIENTS or ALL_CLIENTS) Returns: The created scope.
okta_delete_auth_server_scopeDelete a scope from an authorization server. Args: - authServerId: Authorization server ID - scopeId: Scope ID Returns: Confirmation of deletion.
okta_list_auth_server_claimsList claims for an authorization server. Args: - authServerId: Authorization server ID Returns: Array of claims.
okta_create_auth_server_claimCreate a claim for an authorization server. Args: - authServerId: Authorization server ID - name: Claim name - claimType: RESOURCE or IDENTITY - valueType: EXPRESSION or GROUPS - value: Claim value expression Returns: The created claim.
okta_delete_auth_server_claimDelete a claim from an authorization server. Args: - authServerId: Authorization server ID - claimId: Claim ID Returns: Confirmation of deletion.
okta_list_auth_server_policiesList policies for an authorization server. Args: - authServerId: Authorization server ID Returns: Array of policies.
okta_get_auth_server_policyGet a policy from an authorization server. Args: - authServerId: Authorization server ID - policyId: Policy ID Returns: The policy record.
okta_deactivate_identity_providerDeactivate an identity provider. Args: - idpId: Identity provider ID Returns: Confirmation of deactivation.
okta_list_user_factorsList all enrolled factors (MFA methods) for a user. Args: - userId: User ID - format: Response format Returns: Array of enrolled factors with their status.
okta_create_auth_server_policyCreate a policy for an authorization server. Args: - authServerId: Authorization server ID - name: Policy name - description: Policy description - priority: Policy priority (1 is highest) - clientIds: Array of client IDs or ['ALL_CLIENTS'] Returns: The created policy.
okta_delete_auth_server_policyDelete a policy from an authorization server. Args: - authServerId: Authorization server ID - policyId: Policy ID Returns: Confirmation of deletion.
okta_list_brandsList all brands configured in the org. Returns: Array of brands.
okta_get_brandGet a brand by ID. Args: - brandId: Brand ID Returns: The brand record.
okta_update_brandUpdate brand settings. Args: - brandId: Brand ID - customPrivacyPolicyUrl: Custom privacy policy URL - removePoweredByOkta: Remove "Powered by Okta" branding Returns: The updated brand.
okta_list_domainsList all custom domains configured in the org. Returns: Array of domains.
okta_get_domainGet a custom domain by ID. Args: - domainId: Domain ID Returns: The domain record with DNS and certificate info.
okta_create_domainCreate a custom domain. Args: - domain: Domain name (e.g., "login.example.com") - certificateSourceType: MANUAL or OKTA_MANAGED Returns: The created domain with DNS records to configure.
okta_delete_domainDelete a custom domain. Args: - domainId: Domain ID Returns: Confirmation of deletion.
okta_verify_domainVerify a custom domain's DNS configuration. Args: - domainId: Domain ID Returns: The domain with updated validation status.
okta_list_event_hooksList all event hooks configured in the org. Returns: Array of event hooks.
okta_get_event_hookGet an event hook by ID. Args: - eventHookId: Event hook ID Returns: The event hook record.
okta_create_event_hookCreate an event hook to receive Okta events. Args: - name: Hook name - url: Webhook URL to receive events - eventTypes: Array of event types to subscribe to (e.g., "user.lifecycle.create") Returns: The created event hook.
okta_update_event_hookUpdate an event hook. Args: - eventHookId: Event hook ID - name: Hook name - url: Webhook URL - eventTypes: Event types to subscribe to Returns: The updated event hook.
okta_delete_event_hookDelete an event hook. Args: - eventHookId: Event hook ID Returns: Confirmation of deletion.
okta_activate_event_hookActivate an event hook. Args: - eventHookId: Event hook ID Returns: Confirmation of activation.
okta_deactivate_event_hookDeactivate an event hook. Args: - eventHookId: Event hook ID Returns: Confirmation of deactivation.
okta_verify_event_hookVerify an event hook by sending a verification request. Args: - eventHookId: Event hook ID Returns: The verified event hook.
okta_get_user_factorGet details of a specific factor for a user. Args: - userId: User ID - factorId: Factor ID Returns: Factor details including type, status, and profile.
okta_enroll_factorEnroll a new factor (MFA method) for a user. Args: - userId: User ID - factorType: Factor type (sms, call, email, push, token:software:totp, etc.) - provider: Provider (OKTA, GOOGLE, etc.) - profile: Factor-specific profile (e.g., {phoneNumber: "+1-555-415-1337"} for SMS) Returns: The enrolled factor, may require activation.
okta_activate_factorActivate a pending factor with a verification code. Args: - userId: User ID - factorId: Factor ID - passCode: Verification code (for factors that require it) Returns: The activated factor.
okta_reset_factorsReset all factors for a user, requiring them to re-enroll in MFA. Args: - userId: User ID Returns: Confirmation of reset.
okta_delete_factorDelete a specific factor from a user. Args: - userId: User ID - factorId: Factor ID to delete Returns: Confirmation of deletion.
okta_list_featuresList all self-service features and their status. Returns: Array of features with their status.
okta_get_featureGet a feature by ID. Args: - featureId: Feature ID Returns: The feature record.
okta_enable_featureEnable a self-service feature. Args: - featureId: Feature ID Returns: The enabled feature.
okta_disable_featureDisable a self-service feature. Args: - featureId: Feature ID Returns: The disabled feature.
okta_list_linked_object_definitionsList all linked object definitions (user relationships). Returns: Array of linked object definitions.
okta_get_linked_object_definitionGet a linked object definition by name. Args: - linkedObjectName: Linked object name (primary relationship name) Returns: The linked object definition.
okta_create_linked_object_definitionCreate a linked object definition for user relationships. Args: - primaryName: Primary relationship name (e.g., "manager") - primaryTitle: Primary display title - primaryDescription: Primary description - associatedName: Associated relationship name (e.g., "directReports") - associatedTitle: Associated display title - associatedDescription: Associated description Returns: The created linked object definition.
okta_delete_linked_object_definitionDelete a linked object definition. Args: - linkedObjectName: Linked object name Returns: Confirmation of deletion.
okta_set_linked_object_valueSet a linked object relationship between users. Args: - primaryUserId: Primary user ID (e.g., manager) - relationshipName: Primary relationship name - associatedUserId: Associated user ID (e.g., direct report) Returns: Confirmation of relationship set.
okta_get_linked_object_valuesGet linked object values for a user. Args: - userId: User ID - relationshipName: Relationship name to query Returns: Array of linked users.
okta_get_user_schemaGet the user schema (profile attributes). Args: - schemaId: Schema ID (use "default" for the default schema) Returns: The user schema with all properties.
okta_update_user_schemaAdd custom properties to the user schema. Args: - schemaId: Schema ID - customProperties: Object with custom property definitions Returns: The updated user schema.
okta_list_groupsList groups from Okta with pagination and filtering. Args: - limit: Number of groups to return (1-200, default: 20) - after: Pagination cursor - search: Search by name (prefix match) - filter: Filter expression (e.g., 'type eq "OKTA_GROUP"') - format: Response format Returns: Paginated list of groups.
okta_get_groupGet a single group by ID. Args: - groupId: Group ID Returns: The group record.
okta_create_groupCreate a new Okta group. Args: - name: Group name (required) - description: Group description Returns: The created group.
okta_update_groupUpdate an existing group's profile. Args: - groupId: Group ID - name: New group name - description: New description Returns: The updated group.
okta_delete_groupDelete a group. Note: Only OKTA_GROUP type groups can be deleted. Args: - groupId: Group ID to delete Returns: Confirmation of deletion.
okta_list_group_membersList all members of a group. Args: - groupId: Group ID - limit: Number of members to return - after: Pagination cursor - format: Response format Returns: Paginated list of group members.
okta_add_user_to_groupAdd a user to a group. Args: - groupId: Group ID - userId: User ID to add Returns: Confirmation of addition.
okta_remove_user_from_groupRemove a user from a group. Args: - groupId: Group ID - userId: User ID to remove Returns: Confirmation of removal.
okta_list_group_appsList all applications assigned to a group. Args: - groupId: Group ID Returns: Array of applications assigned to the group.
okta_list_group_rulesList all group rules. Args: - limit: Number of rules to return - after: Pagination cursor Returns: Paginated list of group rules.
okta_get_group_ruleGet a specific group rule by ID. Args: - ruleId: Rule ID Returns: The group rule details.
okta_create_group_ruleCreate a group rule to dynamically add users to groups. Args: - name: Rule name - groupIds: Target group IDs - expression: Okta Expression Language condition (e.g., "user.department == 'Engineering'") Returns: The created group rule.
okta_delete_group_ruleDelete a group rule. Args: - ruleId: Rule ID to delete Returns: Confirmation of deletion.
okta_activate_group_ruleActivate a group rule. Args: - ruleId: Rule ID Returns: Confirmation of activation.
okta_deactivate_group_ruleDeactivate a group rule. Args: - ruleId: Rule ID Returns: Confirmation of deactivation.
okta_list_policy_rulesList rules for a policy. Args: - policyId: Policy ID Returns: Array of policy rules.
okta_list_identity_providersList configured identity providers. Args: - limit: Number to return (1-200, default: 20) - after: Pagination cursor - type: Filter by IdP type (SAML2, OIDC, GOOGLE, FACEBOOK, etc.) - format: Response format Returns: Paginated list of identity providers.
okta_get_identity_providerGet an identity provider by ID. Args: - idpId: Identity provider ID Returns: The identity provider record with protocol and policy configuration.
okta_activate_identity_providerActivate an identity provider. Args: - idpId: Identity provider ID Returns: Confirmation of activation.
okta_get_logsQuery the Okta system log for audit and troubleshooting. Args: - since: Start date (ISO 8601 format, e.g., "2024-01-01T00:00:00Z") - until: End date (ISO 8601 format) - filter: SCIM filter expression (e.g., 'eventType eq "user.session.start"') - q: Keyword search query - limit: Number of events to return (1-1000, default: 100) - after: Pagination cursor - sortOrder: ASCENDING or DESCENDING (default: DESCENDING) - format: Response format Returns: Paginated list of log events.
okta_get_login_eventsGet user login/logout events from the system log. Args: - since: Start date (ISO 8601 format) - until: End date (ISO 8601 format) - userId: Filter by user ID - limit: Number of events to return - format: Response format Returns: List of login-related events.
okta_get_security_eventsGet security-related events from the system log (suspicious activity, policy violations). Args: - since: Start date (ISO 8601 format) - until: End date (ISO 8601 format) - limit: Number of events to return - format: Response format Returns: List of security-related events.
okta_get_admin_eventsGet administrative events from the system log (user/group/app changes). Args: - since: Start date (ISO 8601 format) - until: End date (ISO 8601 format) - limit: Number of events to return - format: Response format Returns: List of administrative events.
okta_list_policiesList policies of a specific type. Args: - type: Policy type (OKTA_SIGN_ON, PASSWORD, MFA_ENROLL, OAUTH_AUTHORIZATION_POLICY, IDP_DISCOVERY, ACCESS_POLICY, PROFILE_ENROLLMENT) - format: Response format Returns: Array of policies.
okta_get_policyGet a policy by ID. Args: - policyId: Policy ID Returns: The policy record.
okta_create_policyCreate a new policy. Args: - type: Policy type - name: Policy name - description: Policy description - priority: Policy priority (1 is highest) Returns: The created policy.
okta_update_policyUpdate a policy. Args: - policyId: Policy ID - name: Policy name - description: Policy description - priority: Policy priority Returns: The updated policy.
okta_delete_policyDelete a policy. Args: - policyId: Policy ID Returns: Confirmation of deletion.
okta_get_policy_ruleGet a specific policy rule. Args: - policyId: Policy ID - ruleId: Rule ID Returns: The policy rule.
okta_delete_policy_ruleDelete a policy rule. Args: - policyId: Policy ID - ruleId: Rule ID Returns: Confirmation of deletion.
okta_activate_policy_ruleActivate a policy rule. Args: - policyId: Policy ID - ruleId: Rule ID Returns: Confirmation of activation.
okta_deactivate_policy_ruleDeactivate a policy rule. Args: - policyId: Policy ID - ruleId: Rule ID Returns: Confirmation of deactivation.
okta_get_sessionGet a session by ID. Args: - sessionId: Session ID Returns: The session record with login, expiration, and MFA status.
okta_end_sessionEnd/revoke a user session. Args: - sessionId: Session ID to end Returns: Confirmation of session termination.
okta_refresh_sessionRefresh/extend a session. Args: - sessionId: Session ID to refresh Returns: The refreshed session with new expiration.
okta_list_trusted_originsList trusted origins for CORS and redirect. Args: - limit: Number to return (1-200, default: 20) - after: Pagination cursor - filter: Filter expression - format: Response format Returns: Paginated list of trusted origins.
okta_get_trusted_originGet a trusted origin by ID. Args: - trustedOriginId: Trusted origin ID Returns: The trusted origin record.
okta_create_trusted_originCreate a trusted origin for CORS/redirect. Args: - name: Origin name - origin: Origin URL (e.g., "https://example.com") - scopes: Array of scope types - CORS, REDIRECT, or both Returns: The created trusted origin.
okta_update_trusted_originUpdate a trusted origin. Args: - trustedOriginId: Trusted origin ID - name: Origin name - origin: Origin URL - scopes: Array of scope types Returns: The updated trusted origin.
okta_delete_trusted_originDelete a trusted origin. Args: - trustedOriginId: Trusted origin ID Returns: Confirmation of deletion.
okta_activate_trusted_originActivate a trusted origin. Args: - trustedOriginId: Trusted origin ID Returns: Confirmation of activation.
okta_deactivate_trusted_originDeactivate a trusted origin. Args: - trustedOriginId: Trusted origin ID Returns: Confirmation of deactivation.
okta_list_usersList users from Okta with pagination and filtering. Args: - limit: Number of users to return (1-200, default: 20) - after: Pagination cursor from previous response - search: Search expression (e.g., 'profile.email eq "john@example.com"') - filter: Filter expression (e.g., 'status eq "ACTIVE"') - format: Response format ('json' or 'markdown') Returns: Paginated list of users with their profiles and status.
okta_get_userGet a single user by ID or login. Args: - userId: The user ID or login (email) - format: Response format Returns: The user record with profile, status, and credentials info.
okta_create_userCreate a new user in Okta. Args: - firstName: First name (required) - lastName: Last name (required) - email: Email address (required) - login: Login/username (required, usually email) - mobilePhone: Mobile phone number - secondEmail: Secondary email - password: Initial password (optional, if not set user will need to set on first login) - groupIds: Array of group IDs to add user to - activate: Whether to activate the user immediately (default: true) Returns: The created user record.
okta_update_userUpdate an existing user's profile. Args: - userId: User ID to update - profile: Profile fields to update (firstName, lastName, email, etc.) Returns: The updated user record.
okta_delete_userDelete a user from Okta. Note: User must be deactivated first. Args: - userId: User ID to delete - sendEmail: Send email notification Returns: Confirmation of deletion.
okta_activate_userActivate a staged or deprovisioned user. Args: - userId: User ID to activate - sendEmail: Send activation email (default: true) Returns: The activated user record or activation token.
okta_deactivate_userDeactivate an active user. Warning: This is destructive - user is deprovisioned from all apps. Args: - userId: User ID to deactivate - sendEmail: Send notification email Returns: Confirmation of deactivation.
okta_suspend_userSuspend an active user. Suspended users cannot sign in but retain group/app assignments. Args: - userId: User ID to suspend Returns: Confirmation of suspension.
okta_unsuspend_userUnsuspend a suspended user, returning them to active status. Args: - userId: User ID to unsuspend Returns: Confirmation of unsuspension.
okta_unlock_userUnlock a locked-out user. Args: - userId: User ID to unlock Returns: Confirmation of unlock.
okta_reset_passwordReset a user's password. Args: - userId: User ID - sendEmail: Send password reset email (default: true) Returns: Reset password URL (if sendEmail is false).
okta_expire_passwordExpire a user's password, forcing them to change it on next login. Args: - userId: User ID Returns: The updated user record.
okta_set_user_passwordSet a user's password directly. Args: - userId: User ID - password: New password Returns: Confirmation of password change.
okta_list_user_groupsList all groups a user belongs to. Args: - userId: User ID Returns: Array of groups.
okta_list_user_appsList all applications assigned to a user. Args: - userId: User ID Returns: Array of app links.
okta_list_network_zonesList network zones configured in the org. Args: - limit: Number to return (1-200, default: 20) - after: Pagination cursor - filter: Filter expression - format: Response format Returns: Paginated list of network zones.
okta_get_network_zoneGet a network zone by ID. Args: - zoneId: Zone ID Returns: The network zone record.
okta_create_network_zoneCreate a network zone (IP-based). Args: - name: Zone name - type: Zone type (IP or DYNAMIC) - gateways: Array of gateways (for IP zones) with type (CIDR or RANGE) and value Returns: The created network zone.
okta_update_network_zoneUpdate a network zone. Args: - zoneId: Zone ID - name: Zone name - gateways: Array of gateways with type and value Returns: The updated network zone.
okta_delete_network_zoneDelete a network zone. Args: - zoneId: Zone ID Returns: Confirmation of deletion.
okta_activate_network_zoneActivate a network zone. Args: - zoneId: Zone ID Returns: Confirmation of activation.
okta_deactivate_network_zoneDeactivate a network zone. Args: - zoneId: Zone ID Returns: Confirmation of deactivation.
okta_list_authenticators{}okta_delete_identity_provider{
"idpId": "example_idpId"
}okta_activate_policy{
"policyId": "example_policyId"
}