Okta-MCP
Provides user and group management tools for Okta, including listing, creating, updating, deleting users and groups, managing group membership, and querying audit logs.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Server for IAM Solutions
A production-ready Model Context Protocol (MCP) Server for Identity and Access Management solutions. Currently supports Okta with an extensible architecture for Azure ENTRA ID, Google Workspace, and more.
Features
π Okta Integration - Full user and group management
π Audit Logging - Real-time operation tracking
π‘οΈ Permission Guardrails - Three-tier access control (admin/operator/viewer)
πΎ Local Database - SQLite for audit trails and user caching
β‘ Async Support - Built for performance
π Web Dashboard - Flask-based management UI
π SCIM Support - SCIM 2.0 provisioning server
Related MCP server: pocketid-mcp
π Project Structure
MCP_Final/
βββ README.md # This file
βββ requirements.txt # Python dependencies
βββ run_mcp.bat # Quick start script
β
βββ config/ # π Configuration files
β βββ .env.example # Environment template
β βββ tenants.yaml # Tenant configurations
β βββ tenants.yaml.example # Tenant template
β
βββ docs/ # π Documentation
β βββ ARCHITECTURE.md # System architecture
β βββ NGROK_SETUP.md # Ngrok setup guide
β
βββ scripts/ # π§ Utility scripts
β βββ migrations/ # Database migrations
β βββ testing/ # Test utilities
β βββ utils/ # General utilities
β
βββ src/ # π― Core MCP server
βββ scim/ # π SCIM 2.0 server
βββ dashboard/ # π Web dashboard
βββ data/ # πΎ Database filesQuick Start
1. Install Dependencies
pip install -r requirements.txt2. Configure Environment
# Copy example environment file
cp config/.env.example .env
# Edit .env with your credentials
notepad .env3. Configure Tenants
# Copy tenant example
cp config/tenants.yaml.example config/tenants.yaml
# Edit with your Okta details
notepad config/tenants.yaml4. Initialize Database
python -m src.database.init5. Run the Server
# Quick start
run_mcp.bat
# Or manually
python -m src.serverConfiguration
Configuration files are located in the config/ directory. See config/README.md for details.
Environment Variables (.env)
Variable | Description | Required |
| OAuth client ID | Yes |
| OAuth client secret | Yes |
| OIDC discovery endpoint | Yes |
| Flask session secret | Yes |
| SQLite database path | No (default: |
| Logging verbosity | No (default: |
Tenant Configuration (config/tenants.yaml)
Configure multiple Okta tenants. See config/README.md for format.
Available MCP Tools
User Management
list_okta_users- List all users with optional filtersget_okta_user- Get user by ID or emailcreate_okta_user- Create new userupdate_okta_user- Update user profiledelete_okta_user- Deactivate/delete user (admin only)suspend_okta_user/unsuspend_okta_user- Manage user status
Group Management
list_okta_groups- List all groupsget_okta_group- Get group detailscreate_okta_group- Create new groupdelete_okta_group- Delete group (admin only)list_group_members- List users in a groupadd_user_to_group/remove_user_from_group- Manage membership
Audit Tools
query_audit_logs- Search audit historyget_user_audit_trail- User-specific activityexport_audit_report- Generate reports
Permission Levels
Level | Read | Create | Update | Delete |
Viewer | β | β | β | β |
Operator | β | β | β | β |
Admin | β | β | β | β |
Claude Desktop Integration
Add to your Claude Desktop config (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"iam-okta": {
"command": "python",
"args": ["-m", "src.server"],
"cwd": "C:\\path\\to\\MCP_Final"
}
}
}Components
Core MCP Server (src/)
Main Model Context Protocol server providing Okta integration tools.
SCIM Server (scim/)
SCIM 2.0 provisioning server for automated user/group management.
Dashboard (dashboard/)
Web-based management UI with user administration, audit logs, and monitoring. See dashboard/README.md.
Utilities & Scripts
All utility scripts are in the scripts/ directory:
Migrations:
scripts/migrations/- Database migration scriptsTesting:
scripts/testing/- Test utilitiesUtils:
scripts/utils/- General utilities
See scripts/README.md for details.
Documentation
Complete documentation is in the docs/ directory:
ARCHITECTURE.md - System architecture
NGROK_SETUP.md - Ngrok configuration
See docs/README.md for the full documentation index.
License
MIT License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
One MCP endpoint for your company's tools, with per-person sign-in, policy and audit.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Authenticated MCP server for ClearPolicy policy and compliance workflows.
Related MCP Servers
- Apache 2.0
- FlicenseNot gradedqualityDmaintenanceMCP server for managing Pocket ID instances, providing 57 tools for user management, OIDC client configuration, group management, audit logs, and more.2-
- 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.-
- AlicenseAqualityDmaintenanceMCP server that lets an AI assistant perform scoped Okta identity operations with an out-of-band human-approval gate on destructive actions.5MIT