drio
Open app

Okta MCP Server

Source

Catalog onlyCatalog onlySTDIO

Overview

Okta MCP Server is a server designed to interact with Okta organizations through the Okta API, enabling functionalities such as user management and application assignments.

To use the Okta MCP Server, set up your Okta API token and domain, then interact with the server using natural language commands through Claude.

  • List, create, update, and delete users in Okta - Manage user groups and applications - Assign users and groups to applications - Deactivate and delete applications
  1. Managing user accounts in an organization
  2. Automating user assignments to applications
  3. Group management for access control

Add to your AI client

Use these steps to connect Okta MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "okta-mcp-server-yiyangli": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-okta-mcp-server-yiyangli"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "okta-mcp-server-yiyangli": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-okta-mcp-server-yiyangli"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "okta-mcp-server-yiyangli": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-okta-mcp-server-yiyangli"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "okta-mcp-server-yiyangli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-okta-mcp-server-yiyangli"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "okta-mcp-server-yiyangli": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-okta-mcp-server-yiyangli"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "okta-mcp-server-yiyangli": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-okta-mcp-server-yiyangli"
      ]
    }
  }
}

FAQ

How do I create a user in Okta?

Use the `okta_create_user_make_request` function with the required profile information.

Can I delete a user?

Yes, use the `okta_delete_user_make_request` function to delete a user after deactivating them.

What permissions are needed for the API token?

The API token must have sufficient permissions for the operations you intend to perform.