Skip to main content
Glama

Okta Workspace MCP

A Model Context Protocol (MCP) server for Okta identity management. Provides AI assistants with secure, authenticated access to your Okta organization through Browser Session or OIDC/OAuth authentication.

Features

  • Browser Session mode -- authenticate through your browser with full SSO and MFA support, then interact with Okta through the MCP

  • OIDC/OAuth mode -- standard Authorization Code + PKCE flow for programmatic access

  • Identity context -- whoami, userinfo, group membership, and app assignments

  • Organization tools -- read-only access to users, groups, and applications (requires appropriate scopes)

  • Guided setup -- interactive first-run configuration via MCP form elicitation

Related MCP server: Okta MCP Server

Quick Start

Install

git clone https://github.com/oreneHack/okta_mcp.git
cd okta_mcp
npm install

Register in your MCP client

Claude Code / VS Code:

Add to your MCP settings:

{
  "okta-workspace": {
    "type": "stdio",
    "command": "node",
    "args": ["path/to/okta_mcp/scripts/okta-mcp.mjs"]
  }
}

Or install globally:

npm install -g okta-workspace-mcp

Then register okta-workspace-mcp as a stdio MCP server in your client.

Authenticate

Ask your AI assistant:

"Connect to Okta" or "Start Okta MCP"

The guided setup collects your Okta org URL and authentication preference (Browser Session or OIDC/OAuth). Subsequent launches reuse saved settings.

Authentication Modes

Browser Session

Opens an isolated browser window for authentication. Supports all Okta sign-on policies including MFA, FastPass, and device trust. Session metadata is stored locally with redacted cookie values.

Available tools after authentication:

Tool

Description

okta-browser-status

Session state and activity

okta-browser-snapshot

Current page content (sanitized)

okta-browser-navigate

Navigate within your Okta org

okta-browser-read

Read Okta API endpoints (GET only)

OIDC/OAuth

Standard Authorization Code + PKCE flow. Requires a Native OIDC application registered in your Okta org with a loopback redirect URI.

Recommended scopes:

Scope

Purpose

openid profile email

Identity (minimum)

offline_access

Token refresh

okta.users.read

User directory access

okta.groups.read

Group directory access

okta.apps.read

Application inventory

Configuration

Configuration is stored under ~/.okta-workspace-mcp/:

File

Purpose

startup.json

Selected mode and Okta org

config.json

Public OIDC client settings

tokens.json

Local OAuth token cache

Environment Variables

All settings can be provided via okta-start form elicitation. Environment variables are optional overrides for managed or headless deployments.

Variable

Description

Default

OKTA_ORG_URL

Okta org URL (https://example.okta.com)

Set via okta-start

OKTA_CLIENT_ID

OIDC application client ID

Set via okta-start

OKTA_AUTH_SERVER

Authorization server ID

org

OKTA_SCOPES

Space-delimited OAuth scopes

openid profile email offline_access

See .env.example for the full list.

Available Tools

Tool

Description

okta-start

Configure and authenticate

okta-status

Connection and authentication status

okta-reset

Clear saved configuration

whoami

Current user identity

userinfo

Detailed user profile

token-details

OAuth token metadata

my-groups

Group memberships

my-apps

Assigned applications

list-users

Organization user directory

get-user

Single user lookup

search-users

User search

list-groups

Organization groups

list-apps

Organization applications

Security

See SECURITY.md for data handling policies and recommended hardening steps.

  • Cookie values are redacted in all MCP tool responses

  • OAuth tokens are cached locally and never exposed in tool output

  • Browser Session uses an isolated temporary profile

  • Metadata service binds to 127.0.0.1 only

Requirements

  • Node.js 20+

  • Chrome or Microsoft Edge (Browser Session mode)

  • Okta organization (any edition, including free developer orgs)

License

MIT

Install Server
A
license - permissive license
B
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    A secure MCP server providing read-only access to Argo CD instances using browser session cookies, enabling querying of applications, projects, clusters, and repositories.
    14
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server for managing Okta users (CRUD operations) with full OAuth 2.1 compliance, enabling secure integration with Claude Desktop and other MCP clients.
  • F
    license
    Not graded
    quality
    D
    maintenance
    A production-ready MCP server for Identity and Access Management with Okta integration, providing user and group management, audit logging, and permission guardrails.
  • A
    license
    A
    quality
    C
    maintenance
    MCP server for Okta authentication, enabling AI agents to log in, check sessions, list, delete, and get cookies using saved Okta sessions.
    5
    4
    MIT

View all related MCP servers

Related MCP Connectors

  • An MCP server for deep research or task groups

  • An authenticated remote MCP server for user-owned devices and one-shot capability invocation.

  • MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oreneHack/okta_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server