Skip to content

okta-agent

action-routed connector for the Okta Management API (users, groups, applications, policies, and the system log).

Official documentation

This site is the canonical reference for okta-agent, maintained alongside every release.

PyPI MCP Server License GitHub

Overview

okta-agent wraps the Okta Management API with typed, deterministic MCP tools and

  • Api — a Python client (okta_agent.api_client.Api) composed from per-domain mixins. Raw httpx, no Okta SDK; every method documents the developer.okta.com endpoint it calls, captures the latest X-Rate-Limit-* snapshot, and backs off automatically on HTTP 429.
  • Action-routed MCP tools — consolidated, togglable tool modules (okta_users, okta_groups, okta_apps, okta_policies, okta_system) that minimize token overhead in LLM contexts.

Safety is built in: destructive operations (deactivate / delete / clear sessions / password ops) are blocked unless explicitly allowed per call or via OKTA_ALLOW_DESTRUCTIVE, and credential material is redacted from logs and error envelopes.

okta-agent complements keycloak-agent: the same verb taxonomy over the commercial IdP, so agents can switch identity providers without relearning tools.

Explore the documentation

  • :material-rocket-start: Installation — pip, source, extras, and the prebuilt Docker image.
  • Usage — the MCP tools, the Api client, and the CLI.
  • Overview — the action-routed tool surface and architecture.
  • Concepts — the CONCEPT:OKTA-* registry.

Spec delivery

The spec delivery dashboard reports the generated delivery status for this connector.

Quick start

pip install "okta-agent[mcp]"
okta-mcp                          # stdio MCP server (default transport)

Connect it to an Okta org:

export OKTA_ORG_URL=https://acme.okta.com
export OKTA_API_TOKEN=<api-token>
okta-mcp --transport streamable-http --host 0.0.0.0 --port 8000

See Installation and Deployment for the

Backing platform

Okta is a managed SaaS identity platform — there is no self-hosted deployment recipe, so this site intentionally omits the Backing Platform page that connectors to self-hostable systems carry.