Okta Workspace MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Okta Workspace MCPstart Okta MCP"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 assignmentsOrganization 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 installRegister 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-mcpThen 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 |
| Session state and activity |
| Current page content (sanitized) |
| Navigate within your Okta org |
| 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 |
| Identity (minimum) |
| Token refresh |
| User directory access |
| Group directory access |
| Application inventory |
Configuration
Configuration is stored under ~/.okta-workspace-mcp/:
File | Purpose |
| Selected mode and Okta org |
| Public OIDC client settings |
| 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 ( | Set via |
| OIDC application client ID | Set via |
| Authorization server ID |
|
| Space-delimited OAuth scopes |
|
See .env.example for the full list.
Available Tools
Tool | Description |
| Configure and authenticate |
| Connection and authentication status |
| Clear saved configuration |
| Current user identity |
| Detailed user profile |
| OAuth token metadata |
| Group memberships |
| Assigned applications |
| Organization user directory |
| Single user lookup |
| User search |
| Organization groups |
| 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.1only
Requirements
Node.js 20+
Chrome or Microsoft Edge (Browser Session mode)
Okta organization (any edition, including free developer orgs)
License
Maintenance
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
- AlicenseAqualityBmaintenanceA secure MCP server providing read-only access to Argo CD instances using browser session cookies, enabling querying of applications, projects, clusters, and repositories.14MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server for managing Okta users (CRUD operations) with full OAuth 2.1 compliance, enabling secure integration with Claude Desktop and other MCP clients.
- FlicenseNot gradedqualityDmaintenanceA production-ready MCP server for Identity and Access Management with Okta integration, providing user and group management, audit logging, and permission guardrails.
- AlicenseAqualityCmaintenanceMCP server for Okta authentication, enabling AI agents to log in, check sessions, list, delete, and get cookies using saved Okta sessions.54MIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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