data
Okta MCP, CLI, and Lua Integration for AI Agents
Okta integration docs for AI agents: MCP gateway setup, Okta CLI commands, Lua API reference, credentials, and function schemas.Okta for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
okta.okta_list_users | Read read | 2 | List users in the Okta organization. Returns user profiles with IDs, names, emails, and status. Supports search filtering by name or email. |
okta.okta_get_user | Read read | 1 | Get details for a specific Okta user by ID or login email. Returns the full user profile including status, group memberships, and assigned applications. |
okta.okta_get_current_user | Read read | 0 | Get the profile of the currently authenticated Okta API token owner. Useful for verifying the integration connection and identifying which service account is in use. |
okta.okta_create_user | Write write | 3 | Create a new user in Okta. Requires a profile with at least firstName, lastName, email, and login. Optionally provide credentials (password) and control activation. |
okta.okta_update_user | Write write | 3 | Update an existing Okta user profile. Provide only the profile fields you want to change — other fields remain unchanged. |
okta.okta_deactivate_user | Write write | 1 | Deactivate an Okta user. The user will be unable to sign in but their data is retained. This action can be reversed by reactivating the user in the Okta admin console. |
okta.okta_list_groups | Read read | 1 | List groups in the Okta organization. Returns group names and IDs. Supports search filtering by group name. |
okta.okta_get_group | Read read | 1 | Get details for a specific Okta group by ID. Returns the group name, description, and type. |
okta.okta_add_user_to_group | Write write | 2 | Add a user to an Okta group. The user will inherit the group's assigned applications and permissions. |
okta.okta_list_applications | Read read | 0 | List applications in the Okta organization. Returns application names, IDs, statuses, and types. |