Back to MCP Catalog

Okta User Management MCP Server

SecurityTypeScript
Interact with Okta's user management system for comprehensive identity administration
Available Tools

get_user

Retrieves detailed user information from Okta, including user details, account dates, personal information, employment details, and preferences

userId

list_users

Lists users from Okta with optional filtering and pagination, supporting SCIM filter expressions, text search, and sorting options

filtersearchsortBylimit

activate_user

Activates a user in Okta with option to send activation email

userIdsendEmail

suspend_user

Suspends a user in Okta

userId

unsuspend_user

Unsuspends a previously suspended user in Okta

userId

delete_user

Deletes a user from Okta (note: user must be deactivated first)

userId

get_user_last_location

Retrieves the last known location and login information for a user from Okta system logs

userId

list_groups

Lists user groups from Okta with optional filtering and pagination

filtersearchsortBylimit

create_group

Creates a new group in Okta with a name and optional description

namedescription

get_group

Retrieves detailed information about a specific group

groupId

delete_group

Deletes a group from Okta

groupId

assign_user_to_group

Assigns a user to a group in Okta

userIdgroupId

remove_user_from_group

Removes a user from a group in Okta

userIdgroupId

list_group_users

Lists all users in a specific group with pagination support

groupIdlimit

bulk_user_import

Imports multiple users from a CSV string with options for activation, notifications, and group assignment

csvDataactivatesendEmaildefaultGroups

assign_users_to_groups

Assigns multiple users to groups based on attribute mappings

attributeMappingsuserIds

provision_applications

Provisions application access for multiple users

userIdsapplicationIds

run_onboarding_workflow

Runs a complete onboarding workflow for multiple users from CSV data

csvDatagroupMappingsapplicationssendWelcomeEmail

The Okta User Management MCP enables Claude to interact directly with Okta's identity management platform. It provides comprehensive capabilities for managing users, groups, and automating onboarding processes within your Okta organization. With this integration, Claude can help you perform administrative tasks, retrieve user information, and streamline identity management workflows.

Overview

The Okta User Management MCP connects Claude to your Okta organization, allowing it to perform a wide range of identity management tasks. This integration is particularly useful for administrators who need to manage users, groups, and access controls within their Okta environment.

Prerequisites

Before setting up this MCP, you'll need:

  • Node.js v16 or higher
  • An Okta Developer Account
  • An Admin API Token from your Okta organization
  • Claude Desktop App

Installation

Step 1: Create an Okta Developer Account (if you don't have one)

  1. Visit the Okta Developer Console
  2. Create a new account or sign in to your existing one
  3. Note your Okta domain (e.g., dev-123456.okta.com)

Step 2: Generate an API Token

  1. In the Okta Developer Console, navigate to Security > API > Tokens
  2. Click "Create Token"
  3. Provide a meaningful name for your token (e.g., "MCP Server Token")
  4. Copy the token value immediately (you won't be able to view it again)

Step 3: Set Up the MCP Server

  1. Clone the repository:

    git clone https://github.com/kapilduraphe/okta-mcp-server.git
    cd okta-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Build the project:

    npm run build
    

Step 4: Configure Claude Desktop

Open your Claude Desktop configuration file:

  • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %AppData%\Claude\claude_desktop_config.json

Add the following configuration (replace placeholders with your actual values):

{
  "mcpServers": {
    "okta": {
      "command": "node",
      "args": [
        "PATH_TO_PROJECT_DIRECTORY/dist/index.js"
      ],
      "env": {
        "OKTA_ORG_URL": "https://your-domain.okta.com",
        "OKTA_API_TOKEN": "your-api-token"
      }
    }
  }
}

Save the file and restart Claude Desktop.

Using the MCP

Once configured, you can ask Claude to perform various Okta management tasks. Here are some example prompts:

User Management

  • "Show me details for user john.doe@company.com"
  • "List all users in the marketing department"
  • "When was the last login for user jane.smith@organization.com"
  • "Activate user with ID 00u1a2b3c4d5e6f7g8"
  • "Suspend user john.doe@company.com"

Group Management

  • "Show me all groups in my Okta organization"
  • "Create a new group called 'Marketing Team'"
  • "Add user jane.smith@organization.com to the Finance group"
  • "List all users in the 'Engineering' group"

Onboarding Automation

  • "Import these users from CSV data: [CSV content]"
  • "Assign users to groups based on their department attribute"
  • "Run a complete onboarding workflow for these new hires: [CSV content]"

Troubleshooting

If you encounter issues with the MCP:

  1. Authentication Errors: Verify your Okta API token is valid and has the necessary permissions
  2. Connection Issues: Ensure your Okta domain URL is correct and accessible
  3. Permission Errors: Check that your API token has the required scopes for the operations you're attempting
  4. Rate Limiting: Okta enforces API rate limits; if you hit these limits, the MCP will return appropriate error messages

For persistent issues, check the Claude Desktop logs or the MCP server output for more detailed error information.

Related MCPs

Netskope NPA
SecurityTypeScript

Manage Netskope Network Private Access infrastructure through natural language

DNStwist
SecurityJavaScript

Detect typosquatting, phishing, and domain impersonation with DNS fuzzing

Maigret OSINT Tool
SecurityJavaScript

Search for usernames across social networks and analyze URLs for OSINT research

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.