BLUENEXUS INTEGRATIONSCONNECTION GUIDE

Okta in Claude, ChatGPT and MCP: what each can do, and how to connect

"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.

ON YOUR OWN Claude

For an Okta admin who works in Claude Desktop or Claude Code.

Users, groups, apps and the System LogYes, with Okta's MCP server
Deactivate or delete usersIf you grant the scope; Okta's server asks first where the client supports it
SetupAn Okta app with only the scopes you need
Who uses itJust you, in your own chats
ON YOUR OWN ChatGPT

For an admin comfortable with a custom connection.

Users, groups, apps and the System LogNot documented by Okta
Deactivate or delete usersDepends on the connection
SetupA custom app, if your plan allows it
Who uses itJust you, in your own chats
WITH YOUR TEAM BlueNexus

For a small IT team working with HR, managers and security.

Users, groups, apps and the System LogYes, alongside your team and other connected apps
Deactivate or delete usersOnly after a person approves
SetupOur own integration
Who uses itIT, HR, managers and your AI agents

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

Users and groupsFind, create and update users, change group membership, and deactivate or delete users.
AppsList, create and update apps, and activate or deactivate them.
PoliciesRead and change sign-on and other policies and their rules.
System LogSearch events: who signed in, who changed what, and when.
Works with
Claude Desktop, Claude Code, Cursor and VS CodeOkta Workforce Identity orgsOnly the scopes you grant
Keep in mind
  • 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 min

A good fit if you run Okta and work in Claude Desktop or Claude Code.

  1. 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.
  2. 2Grant the app only the scopes you need, like okta.users.read and okta.logs.read to start.
  3. 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.
  4. 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 min

A good fit if your team works in ChatGPT Business, Enterprise or Edu and has a developer.

  1. 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.
  2. 2On ChatGPT Business, an admin or owner adds the app. Custom MCP apps are for Business, Enterprise and Edu, on the web.
  3. 3In ChatGPT, open Plugins and create a custom app with your server's address.
  4. 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.read and okta.logs.read first. Add okta.users.manage only 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.

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.

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.

Questions people ask about Okta and AI

Does Okta have an MCP server?

Yes, two. Okta's open-source MCP server, generally available since February 2026, runs on your own machine. Okta's hosted Managed MCP Server has been in early access since August 2026.

Can Claude deactivate users in Okta?

It can, if you grant the scope. Okta's server includes tools to deactivate and delete users, and asks for confirmation before destructive actions in clients that support it. Start with read-only scopes.

How do I connect Okta to Claude?

Create an Okta app for the MCP server with only the scopes you need, run Okta's open-source server, and add it to Claude Desktop or Claude Code. Okta's hosted server, in early access, connects without running anything yourself.

Is this the same as signing in to Claude with Okta?

No. This guide is about an AI managing your Okta org. Okta also works as the sign-in provider for Claude and ChatGPT, and as an identity layer for AI agents, which is a different setup.

What can an Okta API token do?

Everything the admin who created it can do. Okta says tokens inherit the admin's privileges and recommends OAuth 2.0 instead, with only the scopes you need.

Does Okta train AI on my data?

Okta's model card for Identity Threat Protection says the model doesn't train on customer data. In Claude or ChatGPT, that app's data settings apply.

Subscribe to our blog

Product insights, AI and product thinking delivered to your inbox.