Okta MCP Server for Cloudflare Workers
134 tools available in the Okta MCP server. Each tool can be called by AI assistants to perform specific actions.
okta_list_authenticatorsList all authenticators configured in the org.
Returns: Array of authenticators with their status and settings.
{
"type": "object",
"properties": {}
}okta_delete_identity_providerDelete an identity provider.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"idpId"
],
"properties": {
"idpId": {
"type": "string",
"description": "Identity provider ID"
}
}
}okta_activate_policyActivate a policy.
Args:
Returns: Confirmation of activation.
{
"type": "object",
"required": [
"policyId"
],
"properties": {
"policyId": {
"type": "string",
"description": "Policy ID"
}
}
}okta_assign_group_to_appAssign a group to an application.
Args:
Returns: Confirmation of assignment.
{
"type": "object",
"required": [
"appId",
"groupId"
],
"properties": {
"appId": {
"type": "string",
"description": "Application ID"
},
"groupId": {
"type": "string",
"description": "Group ID"
}
}
}okta_get_auth_serverGet an authorization server by ID.
Args:
Returns: The authorization server record.
{
"type": "object",
"required": [
"authServerId"
],
"properties": {
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_remove_group_from_appRemove a group from an application.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"appId",
"groupId"
],
"properties": {
"appId": {
"type": "string",
"description": "Application ID"
},
"groupId": {
"type": "string",
"description": "Group ID"
}
}
}okta_get_authenticatorGet an authenticator by ID.
Args:
Returns: The authenticator record.
{
"type": "object",
"required": [
"authenticatorId"
],
"properties": {
"authenticatorId": {
"type": "string",
"description": "Authenticator ID"
}
}
}okta_activate_authenticatorActivate an authenticator.
Args:
Returns: The activated authenticator.
{
"type": "object",
"required": [
"authenticatorId"
],
"properties": {
"authenticatorId": {
"type": "string",
"description": "Authenticator ID"
}
}
}okta_deactivate_policyDeactivate a policy.
Args:
Returns: Confirmation of deactivation.
{
"type": "object",
"required": [
"policyId"
],
"properties": {
"policyId": {
"type": "string",
"description": "Policy ID"
}
}
}okta_deactivate_authenticatorDeactivate an authenticator.
Args:
Returns: The deactivated authenticator.
{
"type": "object",
"required": [
"authenticatorId"
],
"properties": {
"authenticatorId": {
"type": "string",
"description": "Authenticator ID"
}
}
}okta_list_auth_serversList authorization servers from Okta.
Args:
Returns: Paginated list of authorization servers.
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Search query"
},
"after": {
"type": "string",
"description": "Pagination cursor"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1,
"description": "Number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}okta_list_applicationsList applications from Okta with pagination and filtering.
Args:
Returns: Paginated list of applications.
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Search query"
},
"after": {
"type": "string",
"description": "Pagination cursor"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1,
"description": "Number of apps to return"
},
"filter": {
"type": "string",
"description": "Filter expression"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}okta_get_applicationGet a single application by ID.
Args:
Returns: The application record with settings and credentials.
{
"type": "object",
"required": [
"appId"
],
"properties": {
"appId": {
"type": "string",
"description": "Application ID"
}
}
}okta_activate_applicationActivate an inactive application.
Args:
Returns: Confirmation of activation.
{
"type": "object",
"required": [
"appId"
],
"properties": {
"appId": {
"type": "string",
"description": "Application ID"
}
}
}okta_deactivate_applicationDeactivate an active application.
Args:
Returns: Confirmation of deactivation.
{
"type": "object",
"required": [
"appId"
],
"properties": {
"appId": {
"type": "string",
"description": "Application ID"
}
}
}okta_delete_applicationDelete an application. Must be deactivated first.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"appId"
],
"properties": {
"appId": {
"type": "string",
"description": "Application ID"
}
}
}okta_list_app_usersList users assigned to an application.
Args:
Returns: Paginated list of app users.
{
"type": "object",
"required": [
"appId"
],
"properties": {
"after": {
"type": "string",
"description": "Pagination cursor"
},
"appId": {
"type": "string",
"description": "Application ID"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1,
"description": "Number of users to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}okta_assign_user_to_appAssign a user to an application.
Args:
Returns: The app user assignment.
{
"type": "object",
"required": [
"appId",
"userId"
],
"properties": {
"appId": {
"type": "string",
"description": "Application ID"
},
"userId": {
"type": "string",
"description": "User ID"
},
"profile": {
"type": "object",
"description": "App-specific profile"
}
}
}okta_remove_user_from_appRemove a user from an application.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"appId",
"userId"
],
"properties": {
"appId": {
"type": "string",
"description": "Application ID"
},
"userId": {
"type": "string",
"description": "User ID"
}
}
}okta_list_app_groupsList groups assigned to an application.
Args:
Returns: Array of groups assigned to the app.
{
"type": "object",
"required": [
"appId"
],
"properties": {
"appId": {
"type": "string",
"description": "Application ID"
}
}
}okta_create_auth_serverCreate a new authorization server.
Args:
Returns: The created authorization server.
{
"type": "object",
"required": [
"name",
"description",
"audiences"
],
"properties": {
"name": {
"type": "string",
"description": "Server name"
},
"audiences": {
"type": "array",
"items": {
"type": "string"
},
"description": "Audience URIs"
},
"description": {
"type": "string",
"description": "Server description"
}
}
}okta_update_auth_serverUpdate an authorization server.
Args:
Returns: The updated authorization server.
{
"type": "object",
"required": [
"authServerId",
"name",
"description",
"audiences"
],
"properties": {
"name": {
"type": "string",
"description": "Server name"
},
"audiences": {
"type": "array",
"items": {
"type": "string"
},
"description": "Audience URIs"
},
"description": {
"type": "string",
"description": "Server description"
},
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_delete_auth_serverDelete an authorization server.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"authServerId"
],
"properties": {
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_activate_auth_serverActivate an authorization server.
Args:
Returns: Confirmation of activation.
{
"type": "object",
"required": [
"authServerId"
],
"properties": {
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_deactivate_auth_serverDeactivate an authorization server.
Args:
Returns: Confirmation of deactivation.
{
"type": "object",
"required": [
"authServerId"
],
"properties": {
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_list_auth_server_scopesList scopes for an authorization server.
Args:
Returns: Array of scopes.
{
"type": "object",
"required": [
"authServerId"
],
"properties": {
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_create_auth_server_scopeCreate a scope for an authorization server.
Args:
Returns: The created scope.
{
"type": "object",
"required": [
"authServerId",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Scope name"
},
"consent": {
"enum": [
"IMPLICIT",
"REQUIRED"
],
"type": "string",
"default": "IMPLICIT",
"description": "Consent mode"
},
"description": {
"type": "string",
"description": "Scope description"
},
"authServerId": {
"type": "string",
"description": "Authorization server ID"
},
"metadataPublish": {
"enum": [
"NO_CLIENTS",
"ALL_CLIENTS"
],
"type": "string",
"default": "NO_CLIENTS",
"description": "Metadata publish"
}
}
}okta_delete_auth_server_scopeDelete a scope from an authorization server.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"authServerId",
"scopeId"
],
"properties": {
"scopeId": {
"type": "string",
"description": "Scope ID"
},
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_list_auth_server_claimsList claims for an authorization server.
Args:
Returns: Array of claims.
{
"type": "object",
"required": [
"authServerId"
],
"properties": {
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_create_auth_server_claimCreate a claim for an authorization server.
Args:
Returns: The created claim.
{
"type": "object",
"required": [
"authServerId",
"name",
"claimType",
"valueType",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Claim name"
},
"value": {
"type": "string",
"description": "Claim value expression"
},
"claimType": {
"enum": [
"RESOURCE",
"IDENTITY"
],
"type": "string",
"description": "Claim type"
},
"valueType": {
"enum": [
"EXPRESSION",
"GROUPS"
],
"type": "string",
"description": "Value type"
},
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_delete_auth_server_claimDelete a claim from an authorization server.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"authServerId",
"claimId"
],
"properties": {
"claimId": {
"type": "string",
"description": "Claim ID"
},
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_list_auth_server_policiesList policies for an authorization server.
Args:
Returns: Array of policies.
{
"type": "object",
"required": [
"authServerId"
],
"properties": {
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_get_auth_server_policyGet a policy from an authorization server.
Args:
Returns: The policy record.
{
"type": "object",
"required": [
"authServerId",
"policyId"
],
"properties": {
"policyId": {
"type": "string",
"description": "Policy ID"
},
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_deactivate_identity_providerDeactivate an identity provider.
Args:
Returns: Confirmation of deactivation.
{
"type": "object",
"required": [
"idpId"
],
"properties": {
"idpId": {
"type": "string",
"description": "Identity provider ID"
}
}
}okta_list_user_factorsList all enrolled factors (MFA methods) for a user.
Args:
Returns: Array of enrolled factors with their status.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"userId": {
"type": "string",
"description": "User ID"
}
}
}okta_create_auth_server_policyCreate a policy for an authorization server.
Args:
Returns: The created policy.
{
"type": "object",
"required": [
"authServerId",
"name",
"description",
"priority",
"clientIds"
],
"properties": {
"name": {
"type": "string",
"description": "Policy name"
},
"priority": {
"type": "integer",
"minimum": 1,
"description": "Policy priority"
},
"clientIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Client IDs"
},
"description": {
"type": "string",
"description": "Policy description"
},
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_delete_auth_server_policyDelete a policy from an authorization server.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"authServerId",
"policyId"
],
"properties": {
"policyId": {
"type": "string",
"description": "Policy ID"
},
"authServerId": {
"type": "string",
"description": "Authorization server ID"
}
}
}okta_list_brandsList all brands configured in the org.
Returns: Array of brands.
{
"type": "object",
"properties": {}
}okta_get_brandGet a brand by ID.
Args:
Returns: The brand record.
{
"type": "object",
"required": [
"brandId"
],
"properties": {
"brandId": {
"type": "string",
"description": "Brand ID"
}
}
}okta_update_brandUpdate brand settings.
Args:
Returns: The updated brand.
{
"type": "object",
"required": [
"brandId"
],
"properties": {
"brandId": {
"type": "string",
"description": "Brand ID"
},
"removePoweredByOkta": {
"type": "boolean",
"description": "Remove Okta branding"
},
"customPrivacyPolicyUrl": {
"type": "string",
"description": "Privacy policy URL"
}
}
}okta_list_domainsList all custom domains configured in the org.
Returns: Array of domains.
{
"type": "object",
"properties": {}
}okta_get_domainGet a custom domain by ID.
Args:
Returns: The domain record with DNS and certificate info.
{
"type": "object",
"required": [
"domainId"
],
"properties": {
"domainId": {
"type": "string",
"description": "Domain ID"
}
}
}okta_create_domainCreate a custom domain.
Args:
Returns: The created domain with DNS records to configure.
{
"type": "object",
"required": [
"domain",
"certificateSourceType"
],
"properties": {
"domain": {
"type": "string",
"description": "Domain name"
},
"certificateSourceType": {
"enum": [
"MANUAL",
"OKTA_MANAGED"
],
"type": "string",
"description": "Certificate source"
}
}
}okta_delete_domainDelete a custom domain.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"domainId"
],
"properties": {
"domainId": {
"type": "string",
"description": "Domain ID"
}
}
}okta_verify_domainVerify a custom domain's DNS configuration.
Args:
Returns: The domain with updated validation status.
{
"type": "object",
"required": [
"domainId"
],
"properties": {
"domainId": {
"type": "string",
"description": "Domain ID"
}
}
}okta_list_event_hooksList all event hooks configured in the org.
Returns: Array of event hooks.
{
"type": "object",
"properties": {}
}okta_get_event_hookGet an event hook by ID.
Args:
Returns: The event hook record.
{
"type": "object",
"required": [
"eventHookId"
],
"properties": {
"eventHookId": {
"type": "string",
"description": "Event hook ID"
}
}
}okta_create_event_hookCreate an event hook to receive Okta events.
Args:
Returns: The created event hook.
{
"type": "object",
"required": [
"name",
"url",
"eventTypes"
],
"properties": {
"url": {
"type": "string",
"description": "Webhook URL"
},
"name": {
"type": "string",
"description": "Hook name"
},
"eventTypes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Event types to subscribe to"
}
}
}okta_update_event_hookUpdate an event hook.
Args:
Returns: The updated event hook.
{
"type": "object",
"required": [
"eventHookId",
"name",
"url",
"eventTypes"
],
"properties": {
"url": {
"type": "string",
"description": "Webhook URL"
},
"name": {
"type": "string",
"description": "Hook name"
},
"eventTypes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Event types"
},
"eventHookId": {
"type": "string",
"description": "Event hook ID"
}
}
}okta_delete_event_hookDelete an event hook.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"eventHookId"
],
"properties": {
"eventHookId": {
"type": "string",
"description": "Event hook ID"
}
}
}okta_activate_event_hookActivate an event hook.
Args:
Returns: Confirmation of activation.
{
"type": "object",
"required": [
"eventHookId"
],
"properties": {
"eventHookId": {
"type": "string",
"description": "Event hook ID"
}
}
}okta_deactivate_event_hookDeactivate an event hook.
Args:
Returns: Confirmation of deactivation.
{
"type": "object",
"required": [
"eventHookId"
],
"properties": {
"eventHookId": {
"type": "string",
"description": "Event hook ID"
}
}
}okta_verify_event_hookVerify an event hook by sending a verification request.
Args:
Returns: The verified event hook.
{
"type": "object",
"required": [
"eventHookId"
],
"properties": {
"eventHookId": {
"type": "string",
"description": "Event hook ID"
}
}
}okta_get_user_factorGet details of a specific factor for a user.
Args:
Returns: Factor details including type, status, and profile.
{
"type": "object",
"required": [
"userId",
"factorId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
},
"factorId": {
"type": "string",
"description": "Factor ID"
}
}
}okta_enroll_factorEnroll a new factor (MFA method) for a user.
Args:
Returns: The enrolled factor, may require activation.
{
"type": "object",
"required": [
"userId",
"factorType",
"provider"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
},
"profile": {
"type": "object",
"description": "Factor profile"
},
"provider": {
"type": "string",
"description": "Provider"
},
"factorType": {
"type": "string",
"description": "Factor type"
}
}
}okta_activate_factorActivate a pending factor with a verification code.
Args:
Returns: The activated factor.
{
"type": "object",
"required": [
"userId",
"factorId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
},
"factorId": {
"type": "string",
"description": "Factor ID"
},
"passCode": {
"type": "string",
"description": "Verification code"
}
}
}okta_reset_factorsReset all factors for a user, requiring them to re-enroll in MFA.
Args:
Returns: Confirmation of reset.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
}
}
}okta_delete_factorDelete a specific factor from a user.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"userId",
"factorId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
},
"factorId": {
"type": "string",
"description": "Factor ID"
}
}
}okta_list_featuresList all self-service features and their status.
Returns: Array of features with their status.
{
"type": "object",
"properties": {}
}okta_get_featureGet a feature by ID.
Args:
Returns: The feature record.
{
"type": "object",
"required": [
"featureId"
],
"properties": {
"featureId": {
"type": "string",
"description": "Feature ID"
}
}
}okta_enable_featureEnable a self-service feature.
Args:
Returns: The enabled feature.
{
"type": "object",
"required": [
"featureId"
],
"properties": {
"featureId": {
"type": "string",
"description": "Feature ID"
}
}
}okta_disable_featureDisable a self-service feature.
Args:
Returns: The disabled feature.
{
"type": "object",
"required": [
"featureId"
],
"properties": {
"featureId": {
"type": "string",
"description": "Feature ID"
}
}
}okta_list_linked_object_definitionsList all linked object definitions (user relationships).
Returns: Array of linked object definitions.
{
"type": "object",
"properties": {}
}okta_get_linked_object_definitionGet a linked object definition by name.
Args:
Returns: The linked object definition.
{
"type": "object",
"required": [
"linkedObjectName"
],
"properties": {
"linkedObjectName": {
"type": "string",
"description": "Linked object name"
}
}
}okta_create_linked_object_definitionCreate a linked object definition for user relationships.
Args:
Returns: The created linked object definition.
{
"type": "object",
"required": [
"primaryName",
"primaryTitle",
"primaryDescription",
"associatedName",
"associatedTitle",
"associatedDescription"
],
"properties": {
"primaryName": {
"type": "string",
"description": "Primary relationship name"
},
"primaryTitle": {
"type": "string",
"description": "Primary display title"
},
"associatedName": {
"type": "string",
"description": "Associated relationship name"
},
"associatedTitle": {
"type": "string",
"description": "Associated display title"
},
"primaryDescription": {
"type": "string",
"description": "Primary description"
},
"associatedDescription": {
"type": "string",
"description": "Associated description"
}
}
}okta_delete_linked_object_definitionDelete a linked object definition.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"linkedObjectName"
],
"properties": {
"linkedObjectName": {
"type": "string",
"description": "Linked object name"
}
}
}okta_set_linked_object_valueSet a linked object relationship between users.
Args:
Returns: Confirmation of relationship set.
{
"type": "object",
"required": [
"primaryUserId",
"relationshipName",
"associatedUserId"
],
"properties": {
"primaryUserId": {
"type": "string",
"description": "Primary user ID"
},
"associatedUserId": {
"type": "string",
"description": "Associated user ID"
},
"relationshipName": {
"type": "string",
"description": "Primary relationship name"
}
}
}okta_get_linked_object_valuesGet linked object values for a user.
Args:
Returns: Array of linked users.
{
"type": "object",
"required": [
"userId",
"relationshipName"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
},
"relationshipName": {
"type": "string",
"description": "Relationship name"
}
}
}okta_get_user_schemaGet the user schema (profile attributes).
Args:
Returns: The user schema with all properties.
{
"type": "object",
"properties": {
"schemaId": {
"type": "string",
"default": "default",
"description": "Schema ID"
}
}
}okta_update_user_schemaAdd custom properties to the user schema.
Args:
Returns: The updated user schema.
{
"type": "object",
"required": [
"schemaId",
"customProperties"
],
"properties": {
"schemaId": {
"type": "string",
"description": "Schema ID"
},
"customProperties": {
"type": "object",
"description": "Custom property definitions"
}
}
}okta_list_groupsList groups from Okta with pagination and filtering.
Args:
Returns: Paginated list of groups.
{
"type": "object",
"properties": {
"after": {
"type": "string",
"description": "Pagination cursor"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1,
"description": "Number of groups to return"
},
"filter": {
"type": "string",
"description": "Filter expression"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"search": {
"type": "string",
"description": "Search by name"
}
}
}okta_get_groupGet a single group by ID.
Args:
Returns: The group record.
{
"type": "object",
"required": [
"groupId"
],
"properties": {
"groupId": {
"type": "string",
"description": "Group ID"
}
}
}okta_create_groupCreate a new Okta group.
Args:
Returns: The created group.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Group name"
},
"description": {
"type": "string",
"description": "Group description"
}
}
}okta_update_groupUpdate an existing group's profile.
Args:
Returns: The updated group.
{
"type": "object",
"required": [
"groupId",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Group name"
},
"groupId": {
"type": "string",
"description": "Group ID"
},
"description": {
"type": "string",
"description": "Group description"
}
}
}okta_delete_groupDelete a group. Note: Only OKTA_GROUP type groups can be deleted.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"groupId"
],
"properties": {
"groupId": {
"type": "string",
"description": "Group ID"
}
}
}okta_list_group_membersList all members of a group.
Args:
Returns: Paginated list of group members.
{
"type": "object",
"required": [
"groupId"
],
"properties": {
"after": {
"type": "string",
"description": "Pagination cursor"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1,
"description": "Number of members to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"groupId": {
"type": "string",
"description": "Group ID"
}
}
}okta_add_user_to_groupAdd a user to a group.
Args:
Returns: Confirmation of addition.
{
"type": "object",
"required": [
"groupId",
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
},
"groupId": {
"type": "string",
"description": "Group ID"
}
}
}okta_remove_user_from_groupRemove a user from a group.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"groupId",
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
},
"groupId": {
"type": "string",
"description": "Group ID"
}
}
}okta_list_group_appsList all applications assigned to a group.
Args:
Returns: Array of applications assigned to the group.
{
"type": "object",
"required": [
"groupId"
],
"properties": {
"groupId": {
"type": "string",
"description": "Group ID"
}
}
}okta_list_group_rulesList all group rules.
Args:
Returns: Paginated list of group rules.
{
"type": "object",
"properties": {
"after": {
"type": "string",
"description": "Pagination cursor"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1,
"description": "Number of rules to return"
}
}
}okta_get_group_ruleGet a specific group rule by ID.
Args:
Returns: The group rule details.
{
"type": "object",
"required": [
"ruleId"
],
"properties": {
"ruleId": {
"type": "string",
"description": "Rule ID"
}
}
}okta_create_group_ruleCreate a group rule to dynamically add users to groups.
Args:
Returns: The created group rule.
{
"type": "object",
"required": [
"name",
"groupIds",
"expression"
],
"properties": {
"name": {
"type": "string",
"description": "Rule name"
},
"groupIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Target group IDs"
},
"expression": {
"type": "string",
"description": "Okta Expression condition"
}
}
}okta_delete_group_ruleDelete a group rule.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"ruleId"
],
"properties": {
"ruleId": {
"type": "string",
"description": "Rule ID"
}
}
}okta_activate_group_ruleActivate a group rule.
Args:
Returns: Confirmation of activation.
{
"type": "object",
"required": [
"ruleId"
],
"properties": {
"ruleId": {
"type": "string",
"description": "Rule ID"
}
}
}okta_deactivate_group_ruleDeactivate a group rule.
Args:
Returns: Confirmation of deactivation.
{
"type": "object",
"required": [
"ruleId"
],
"properties": {
"ruleId": {
"type": "string",
"description": "Rule ID"
}
}
}okta_list_policy_rulesList rules for a policy.
Args:
Returns: Array of policy rules.
{
"type": "object",
"required": [
"policyId"
],
"properties": {
"policyId": {
"type": "string",
"description": "Policy ID"
}
}
}okta_list_identity_providersList configured identity providers.
Args:
Returns: Paginated list of identity providers.
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "IdP type filter"
},
"after": {
"type": "string",
"description": "Pagination cursor"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1,
"description": "Number to return"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}okta_get_identity_providerGet an identity provider by ID.
Args:
Returns: The identity provider record with protocol and policy configuration.
{
"type": "object",
"required": [
"idpId"
],
"properties": {
"idpId": {
"type": "string",
"description": "Identity provider ID"
}
}
}okta_activate_identity_providerActivate an identity provider.
Args:
Returns: Confirmation of activation.
{
"type": "object",
"required": [
"idpId"
],
"properties": {
"idpId": {
"type": "string",
"description": "Identity provider ID"
}
}
}okta_get_logsQuery the Okta system log for audit and troubleshooting.
Args:
Returns: Paginated list of log events.
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Keyword search"
},
"after": {
"type": "string",
"description": "Pagination cursor"
},
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Number of events"
},
"since": {
"type": "string",
"description": "Start date (ISO 8601)"
},
"until": {
"type": "string",
"description": "End date (ISO 8601)"
},
"filter": {
"type": "string",
"description": "SCIM filter expression"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"sortOrder": {
"enum": [
"ASCENDING",
"DESCENDING"
],
"type": "string",
"default": "DESCENDING",
"description": "Sort order"
}
}
}okta_get_login_eventsGet user login/logout events from the system log.
Args:
Returns: List of login-related events.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Number of events"
},
"since": {
"type": "string",
"description": "Start date (ISO 8601)"
},
"until": {
"type": "string",
"description": "End date (ISO 8601)"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"userId": {
"type": "string",
"description": "Filter by user ID"
}
}
}okta_get_security_eventsGet security-related events from the system log (suspicious activity, policy violations).
Args:
Returns: List of security-related events.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Number of events"
},
"since": {
"type": "string",
"description": "Start date (ISO 8601)"
},
"until": {
"type": "string",
"description": "End date (ISO 8601)"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}okta_get_admin_eventsGet administrative events from the system log (user/group/app changes).
Args:
Returns: List of administrative events.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Number of events"
},
"since": {
"type": "string",
"description": "Start date (ISO 8601)"
},
"until": {
"type": "string",
"description": "End date (ISO 8601)"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}okta_list_policiesList policies of a specific type.
Args:
Returns: Array of policies.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}okta_get_policyGet a policy by ID.
Args:
Returns: The policy record.
{
"type": "object",
"required": [
"policyId"
],
"properties": {
"policyId": {
"type": "string",
"description": "Policy ID"
}
}
}okta_create_policyCreate a new policy.
Args:
Returns: The created policy.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Policy name"
},
"priority": {
"type": "integer",
"minimum": 1,
"description": "Policy priority"
},
"description": {
"type": "string",
"description": "Policy description"
}
}
}okta_update_policyUpdate a policy.
Args:
Returns: The updated policy.
{
"type": "object",
"required": [
"policyId",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Policy name"
},
"policyId": {
"type": "string",
"description": "Policy ID"
},
"priority": {
"type": "integer",
"minimum": 1,
"description": "Policy priority"
},
"description": {
"type": "string",
"description": "Policy description"
}
}
}okta_delete_policyDelete a policy.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"policyId"
],
"properties": {
"policyId": {
"type": "string",
"description": "Policy ID"
}
}
}okta_get_policy_ruleGet a specific policy rule.
Args:
Returns: The policy rule.
{
"type": "object",
"required": [
"policyId",
"ruleId"
],
"properties": {
"ruleId": {
"type": "string",
"description": "Rule ID"
},
"policyId": {
"type": "string",
"description": "Policy ID"
}
}
}okta_delete_policy_ruleDelete a policy rule.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"policyId",
"ruleId"
],
"properties": {
"ruleId": {
"type": "string",
"description": "Rule ID"
},
"policyId": {
"type": "string",
"description": "Policy ID"
}
}
}okta_activate_policy_ruleActivate a policy rule.
Args:
Returns: Confirmation of activation.
{
"type": "object",
"required": [
"policyId",
"ruleId"
],
"properties": {
"ruleId": {
"type": "string",
"description": "Rule ID"
},
"policyId": {
"type": "string",
"description": "Policy ID"
}
}
}okta_deactivate_policy_ruleDeactivate a policy rule.
Args:
Returns: Confirmation of deactivation.
{
"type": "object",
"required": [
"policyId",
"ruleId"
],
"properties": {
"ruleId": {
"type": "string",
"description": "Rule ID"
},
"policyId": {
"type": "string",
"description": "Policy ID"
}
}
}okta_get_sessionGet a session by ID.
Args:
Returns: The session record with login, expiration, and MFA status.
{
"type": "object",
"required": [
"sessionId"
],
"properties": {
"sessionId": {
"type": "string",
"description": "Session ID"
}
}
}okta_end_sessionEnd/revoke a user session.
Args:
Returns: Confirmation of session termination.
{
"type": "object",
"required": [
"sessionId"
],
"properties": {
"sessionId": {
"type": "string",
"description": "Session ID"
}
}
}okta_refresh_sessionRefresh/extend a session.
Args:
Returns: The refreshed session with new expiration.
{
"type": "object",
"required": [
"sessionId"
],
"properties": {
"sessionId": {
"type": "string",
"description": "Session ID"
}
}
}okta_list_trusted_originsList trusted origins for CORS and redirect.
Args:
Returns: Paginated list of trusted origins.
{
"type": "object",
"properties": {
"after": {
"type": "string",
"description": "Pagination cursor"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1,
"description": "Number to return"
},
"filter": {
"type": "string",
"description": "Filter expression"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}okta_get_trusted_originGet a trusted origin by ID.
Args:
Returns: The trusted origin record.
{
"type": "object",
"required": [
"trustedOriginId"
],
"properties": {
"trustedOriginId": {
"type": "string",
"description": "Trusted origin ID"
}
}
}okta_create_trusted_originCreate a trusted origin for CORS/redirect.
Args:
Returns: The created trusted origin.
{
"type": "object",
"required": [
"name",
"origin",
"scopes"
],
"properties": {
"name": {
"type": "string",
"description": "Origin name"
},
"origin": {
"type": "string",
"description": "Origin URL"
},
"scopes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Scope types"
}
}
}okta_update_trusted_originUpdate a trusted origin.
Args:
Returns: The updated trusted origin.
{
"type": "object",
"required": [
"trustedOriginId",
"name",
"origin",
"scopes"
],
"properties": {
"name": {
"type": "string",
"description": "Origin name"
},
"origin": {
"type": "string",
"description": "Origin URL"
},
"scopes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Scope types"
},
"trustedOriginId": {
"type": "string",
"description": "Trusted origin ID"
}
}
}okta_delete_trusted_originDelete a trusted origin.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"trustedOriginId"
],
"properties": {
"trustedOriginId": {
"type": "string",
"description": "Trusted origin ID"
}
}
}okta_activate_trusted_originActivate a trusted origin.
Args:
Returns: Confirmation of activation.
{
"type": "object",
"required": [
"trustedOriginId"
],
"properties": {
"trustedOriginId": {
"type": "string",
"description": "Trusted origin ID"
}
}
}okta_deactivate_trusted_originDeactivate a trusted origin.
Args:
Returns: Confirmation of deactivation.
{
"type": "object",
"required": [
"trustedOriginId"
],
"properties": {
"trustedOriginId": {
"type": "string",
"description": "Trusted origin ID"
}
}
}okta_list_usersList users from Okta with pagination and filtering.
Args:
Returns: Paginated list of users with their profiles and status.
{
"type": "object",
"properties": {
"after": {
"type": "string",
"description": "Pagination cursor"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1,
"description": "Number of users to return"
},
"filter": {
"type": "string",
"description": "Filter expression"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"search": {
"type": "string",
"description": "Search expression"
}
}
}okta_get_userGet a single user by ID or login.
Args:
Returns: The user record with profile, status, and credentials info.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"userId": {
"type": "string",
"description": "User ID or login"
}
}
}okta_create_userCreate a new user in Okta.
Args:
Returns: The created user record.
{
"type": "object",
"required": [
"firstName",
"lastName",
"email",
"login"
],
"properties": {
"email": {
"type": "string",
"description": "Email address"
},
"login": {
"type": "string",
"description": "Login (usually email)"
},
"activate": {
"type": "boolean",
"default": true,
"description": "Activate user immediately"
},
"groupIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Group IDs to add user to"
},
"lastName": {
"type": "string",
"description": "Last name"
},
"password": {
"type": "string",
"description": "Initial password"
},
"firstName": {
"type": "string",
"description": "First name"
},
"mobilePhone": {
"type": "string",
"description": "Mobile phone"
},
"secondEmail": {
"type": "string",
"description": "Secondary email"
}
}
}okta_update_userUpdate an existing user's profile.
Args:
Returns: The updated user record.
{
"type": "object",
"required": [
"userId",
"profile"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
},
"profile": {
"type": "object",
"description": "Profile fields to update"
}
}
}okta_delete_userDelete a user from Okta. Note: User must be deactivated first.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
},
"sendEmail": {
"type": "boolean",
"default": false,
"description": "Send email notification"
}
}
}okta_activate_userActivate a staged or deprovisioned user.
Args:
Returns: The activated user record or activation token.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
},
"sendEmail": {
"type": "boolean",
"default": true,
"description": "Send activation email"
}
}
}okta_deactivate_userDeactivate an active user. Warning: This is destructive - user is deprovisioned from all apps.
Args:
Returns: Confirmation of deactivation.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
},
"sendEmail": {
"type": "boolean",
"default": false,
"description": "Send notification email"
}
}
}okta_suspend_userSuspend an active user. Suspended users cannot sign in but retain group/app assignments.
Args:
Returns: Confirmation of suspension.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
}
}
}okta_unsuspend_userUnsuspend a suspended user, returning them to active status.
Args:
Returns: Confirmation of unsuspension.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
}
}
}okta_unlock_userUnlock a locked-out user.
Args:
Returns: Confirmation of unlock.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
}
}
}okta_reset_passwordReset a user's password.
Args:
Returns: Reset password URL (if sendEmail is false).
{
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
},
"sendEmail": {
"type": "boolean",
"default": true,
"description": "Send reset email"
}
}
}okta_expire_passwordExpire a user's password, forcing them to change it on next login.
Args:
Returns: The updated user record.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
}
}
}okta_set_user_passwordSet a user's password directly.
Args:
Returns: Confirmation of password change.
{
"type": "object",
"required": [
"userId",
"password"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
},
"password": {
"type": "string",
"description": "New password"
}
}
}okta_list_user_groupsList all groups a user belongs to.
Args:
Returns: Array of groups.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
}
}
}okta_list_user_appsList all applications assigned to a user.
Args:
Returns: Array of app links.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID"
}
}
}okta_list_network_zonesList network zones configured in the org.
Args:
Returns: Paginated list of network zones.
{
"type": "object",
"properties": {
"after": {
"type": "string",
"description": "Pagination cursor"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1,
"description": "Number to return"
},
"filter": {
"type": "string",
"description": "Filter expression"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}okta_get_network_zoneGet a network zone by ID.
Args:
Returns: The network zone record.
{
"type": "object",
"required": [
"zoneId"
],
"properties": {
"zoneId": {
"type": "string",
"description": "Zone ID"
}
}
}okta_create_network_zoneCreate a network zone (IP-based).
Args:
Returns: The created network zone.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Zone name"
},
"type": {
"enum": [
"IP",
"DYNAMIC"
],
"type": "string",
"description": "Zone type"
}
}
}okta_update_network_zoneUpdate a network zone.
Args:
Returns: The updated network zone.
{
"type": "object",
"required": [
"zoneId"
],
"properties": {
"name": {
"type": "string",
"description": "Zone name"
},
"zoneId": {
"type": "string",
"description": "Zone ID"
}
}
}okta_delete_network_zoneDelete a network zone.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"zoneId"
],
"properties": {
"zoneId": {
"type": "string",
"description": "Zone ID"
}
}
}okta_activate_network_zoneActivate a network zone.
Args:
Returns: Confirmation of activation.
{
"type": "object",
"required": [
"zoneId"
],
"properties": {
"zoneId": {
"type": "string",
"description": "Zone ID"
}
}
}okta_deactivate_network_zoneDeactivate a network zone.
Args:
Returns: Confirmation of deactivation.
{
"type": "object",
"required": [
"zoneId"
],
"properties": {
"zoneId": {
"type": "string",
"description": "Zone ID"
}
}
}