"Okta and Claude" means two different things. One is signing in to Claude with Okta, which is about identity. This guide is about the other: connecting an AI to your Okta org, so you can ask who still has access, what changed last week, or who hasn't signed in for months. Okta has two MCP servers for that, and they can change things that matter: deactivate a user, delete one, or change a sign-on policy. This guide covers what they can do, how to connect safely, what to do when it fails, and what changes when IT works with HR, managers and security.
MCP (Model Context Protocol) is an open standard for plugging AI assistants into other apps. Claude and ChatGPT are a great fit for an admin's own questions. BlueNexus is for when access is shared work.
For an Okta admin who works in Claude Desktop or Claude Code.
For an admin comfortable with a custom connection.
For a small IT team working with HR, managers and security.
Two servers, and what they can change
Okta's open-source MCP server became generally available in February 2026. It runs on your machine, signs in through an Okta app you create, and covers users, groups, apps, policies, the System Log and more. Its user tools include deactivating and deleting users. Okta's hosted Managed MCP Server went into early access in August 2026, and connects Claude without running anything yourself.
Both load only the tools your scopes allow. Okta added confirmation for destructive actions, which shows in clients that support it; others leave the confirmation to the AI. Okta's own advice is to start with read-only audits, keep prompts narrow, and test in a sandbox first.
What Okta's MCP server lets an AI do
- Deactivating can destroy data in apps
- Deleting can't be undone
- The hosted server is in early access
Connect Okta to Claude or ChatGPT
Claude works with Okta's servers. Okta doesn't document ChatGPT, so you'd host a server it can reach.
Connect Okta to Claude
20 minA good fit if you run Okta and work in Claude Desktop or Claude Code.
- 1In Okta, create an app for the MCP server: an OIDC native app to sign in in the browser, or an API services app with a key and an admin role.
- 2Grant the app only the scopes you need, like
okta.users.readandokta.logs.readto start. - 3Run Okta's open-source server with Docker or
uvx okta-mcp-server, and add it to Claude Desktop's MCP settings with the same scopes. - 4Ask who signed in from a new country this week, to check it's working.
Okta's MCP server loads only the tools your scopes allow, and asks before destructive actions in clients that support it. Okta's hosted server, in early access, connects Claude without running anything yourself.
Connect Okta to ChatGPT
30 minA good fit if your team works in ChatGPT Business, Enterprise or Edu and has a developer.
- 1Host an MCP server for Okta that ChatGPT can reach, protected with OAuth so only your team can use it, with an Okta app scoped to what you need.
- 2On ChatGPT Business, an admin or owner adds the app. Custom MCP apps are for Business, Enterprise and Edu, on the web.
- 3In ChatGPT, open Plugins and create a custom app with your server's address.
- 4Ask a read-only question first, like last week's failed sign-ins.
Okta doesn't document ChatGPT as a client for its MCP servers. Keep ChatGPT asking before actions, and start with read-only scopes.
For developers
The open-source server takes OKTA_SCOPES, which must match the scopes granted to the app, and supports device authorization or private key JWT. OAuth service apps need an admin role assigned, and their tokens last an hour. API tokens inherit their creator's privileges and expire after 30 days unused; Okta recommends OAuth instead. MCP calls count against your org's Management API rate limits, and the System Log API returns 90 days of data.
Who can do what
- Scopes are the guardrail. Grant
okta.users.readandokta.logs.readfirst. Addokta.users.manageonly on a separate app for the people who offboard. - Deactivating isn't pausing. It deprovisions the user from apps with deprovisioning turned on, and Okta's API reference warns this can destroy data like email or files that can't be recovered. Suspending keeps app and group memberships.
- Deleting is final. Users must be deactivated first, and deletion can't be undone.
- Not super admin. Okta's own IT team never gives new admins Super Admin. Start with a narrower role, like Read-only Admin.
- Your data. In Claude or ChatGPT, that app's data settings apply. Okta's Identity Threat Protection model card says it doesn't train on customer data.
When it doesn't work
- A tool is missing. Your scopes don't include it. Grant the scope to the app and add it to
OKTA_SCOPES. - 403 on a change. Your admin role, or the service app's, doesn't allow it.
- 429: too many requests. You hit your org's rate limit, which the rest of Okta shares. Narrow the question.
- The log looks empty. Set a date range. Without one, Okta's hosted server searches only the last 24 hours. The API holds 90 days.
- "Inactive" users who aren't. Okta's Last Login only updates on Okta Dashboard sign-ins. Check the System Log for app sign-ins too.
With a team: Okta in BlueNexus
In Claude, an admin works with Okta in their own chats. That's useful for one person's investigations. In a small company, access is shared work: HR knows who's leaving, managers know who needs what, security needs the evidence, and IT makes the changes in Okta.
BlueNexus is a shared AI workspace where people and AI agents work in the same projects, channels and tasks. The BlueNexus Okta connector, our own integration, has 48 tools (25 that read and 23 that write) across users, groups, applications, devices, policies, MFA factors, admin roles and the System Log. Every change an agent proposes waits for a person to approve it.
Open Add a connector, search for Okta, click Connect and follow the steps.
- All
- AI
- Analytics
- Communication
- Finance
- Marketing
- Productivity
- Sales
- Social
Connect to Okta to manage users, groups, applications, devices, policies, MFA factors, admin roles, and query the System Log of your Okta organization.
Illustration of the BlueNexus app with example data.
At Larchmont Analytics, a 160-person data consultancy in Denver, Rory, the company's one IT lead, asks the IT agent about sign-ins from new countries this week. The answer waits in Needs you.
The agent ruled out the obvious cases and flagged the one that matters. The decision about the account stays with Kemi, who leads security.
Rory asked the IT agent. From the Okta System Log. Nothing changes in Okta until Rory approves it.
- List sign-ins from countries no one has signed in from in 90 days3 this week. 2 are Hana, on leave in Lisbon, as Hana posted in the team channel
- Flag the third for Kemi in the security channelA failed sign-in to a finance app from an unfamiliar network on Tuesday, then nothing
- Ask the person whose account it was if it was themBy message, not by the email on the account
- Reset that person's MFA factorsLeft unticked: Kemi decides after they reply
Illustration of the BlueNexus app with example data.
For leavers, see an Okta offboarding checklist for small IT teams. For audits, see user access reviews in Okta.
Which way fits you
If you run Okta, start with Okta's open-source server and read-only scopes, or join the hosted server's early access. Add write scopes when you trust the setup, and keep confirmations on.
If access is shared work, across IT, HR, managers and security, you'll get more from one shared space than from several private chats. That's what BlueNexus is built for, and you can sign up for BlueNexus to bring your team in.