Skip to main content
Glama
indranilokg

Okta MCP Server

by indranilokg

Okta MCP Server

npm version npm downloads

A Model Context Protocol (MCP) server for managing Okta platform.

Quick Start

1. Initialize & Configure

# Setup with your Okta credentials (interactive)
npx @indranilokg/okta-mcp-server init

You'll be prompted for:

  • Okta Domain: your-domain.okta.com (or .oktapreview.com)

  • API Token: Get from Okta Admin → Security → API → Tokens

2. Add to your MCP Client (e.g., Claude Desktop, Windsurf, Cursor, etc.)

Add to your MCP client configuration:

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

3. Start Using

Restart your MCP client and use Okta tools in your chats!

Related MCP server: Okta MCP Server

Commands

# Initial setup
npx @indranilokg/okta-mcp-server init

# Check authentication status  
npx @indranilokg/okta-mcp-server session

# Start server (for MCP)
npx @indranilokg/okta-mcp-server run

# Clear credentials
npx @indranilokg/okta-mcp-server logout

Available Tools

See TOOLS for a complete, categorized list of all available tools and their descriptions.

Usage Examples

See EXAMPLES for practical usage examples for all major tool categories (Application, Group, User).

Security

Credentials are stored securely using:

  1. OS Keychain (preferred) - macOS Keychain, Windows Credential Manager, Linux keyring

  2. Secure file (fallback) - ~/.okta-mcp/config.json with restricted permissions

  3. Environment variables (last resort) - OKTA_DOMAIN and OKTA_API_KEY

Getting Okta API Token

  1. Log in to Okta Admin console

  2. Go to Security → API → Tokens

  3. Click Create Token

  4. Name it (e.g., "MCP Server") and create

  5. Copy the token immediately (you won't see it again!)

Troubleshooting

# Check if authenticated
npx @indranilokg/okta-mcp-server session

# Re-authenticate  
npx @indranilokg/okta-mcp-server logout
npx @indranilokg/okta-mcp-server init

# Test server manually
npx @indranilokg/okta-mcp-server run

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables LLM agents to manage Okta organizations through natural language, providing full CRUD operations for users, groups, applications, policies, and system logs via Okta's Admin Management APIs.
    59
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables LLM agents to manage Okta organizations through the Okta Admin Management APIs, supporting user provisioning, group management, and more via natural language.
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to manage Okta users, groups, applications, policies, and logs through natural language commands.
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables natural language management of Okta organizations, allowing users to perform administrative tasks such as user management, group operations, and application monitoring through AI agents.
    Apache 2.0