---
title: How to revoke MCP access when someone leaves
description: Disabling SSO doesn’t revoke the tokens MCP clients got from each service. Revoke grants and keys service by service, after moving automation off their account.
canonical: https://mcp1.com/blog/mcp-offboarding
last-updated: 2026-11-14
---

# How to revoke MCP access when someone leaves

Disabling SSO doesn’t revoke the tokens MCP clients got from each service. Revoke grants and keys service by service, after moving automation off their account.

![](https://avatars.githubusercontent.com/u/1297371?s=96&v=4)Eldad FuxFounder and CEO, Appwrite

 Removed from the workspace

- Claude CodeOAuth client Revoked
- CursorOAuth client Revoked
- nightly-triageAPI key Revoked

 Removed from the workspace

- Claude CodeOAuth client Revoked
- CursorOAuth client Revoked
- nightly-triageAPI key Revoked

Disabling someone’s SSO account doesn’t revoke their MCP access. The tokens their agents use were issued by each service, like GitHub or Linear, and keep working until they expire or are revoked there. To offboard someone, revoke their grants and keys at every service their MCP clients reached, and move any automation or shared server off their account first.

## Why doesn’t disabling SSO cut off MCP access?

Because SSO only controls new sign-ins. When an MCP client connects to a remote server with OAuth, the service’s authorization server gives it an access token and usually a refresh token. The MCP spec says access tokens should be short-lived, but it leaves revocation to each service. Until the service learns the person is gone, the client keeps refreshing.

Identity providers admit the gap. Okta’s Universal Logout asks apps to revoke refresh tokens on logout, but only supported apps take part, and Okta doesn’t expect access tokens to be revoked at all. Anthropic’s docs on managed connector sign-in say it plainly: access already granted at a service lasts until it expires. Personal API tokens are worse: Atlassian documents that a user’s API tokens keep working after the account is deactivated in the identity provider, as long as it still has site access.

## What MCP access can a person leave behind?

- OAuth grants: one per service, per client. Someone who connected Linear in Claude Code and in Cursor has two grants at Linear.
- Personal tokens in client configs, like a GitHub token in mcp.json or an Authorization header in a Claude Code entry.
- Keys that run without them: a CI job or a scheduled agent that calls MCP servers with a token they created.
- Shared servers connected with their account. If a team server was authorized as them, every call through it still runs with their access.

The last two are why order matters. Revoke first and you break a pipeline or a team’s server on someone’s last day. Find them first and move them to a service account.

## What is the MCP offboarding checklist?

1. 1List the MCP servers your team uses. Committed .mcp.json and .cursor/mcp.json files and your CI configs are a good start.
2. 2Find every token the person created that automation uses, and every shared server connected with their account. Replace them with service-account credentials and check the jobs still run.
3. 3Remove the person from each service, and revoke their tokens and app grants where the service lets admins do it (see the table below).
4. 4Disable their SSO account. With SCIM, this also removes them from the apps that support it.
5. 5A day later, search each service’s audit log for activity under their name. Anything after the removal means a credential survived.

## Where do I revoke MCP access in each service?

Each service handles this differently, and some only let the person revoke their own grants:

ServiceWhat an admin can do

GitHub

Remove them from the organization: their personal access tokens stop working on its resources. Org owners can also revoke fine-grained tokens under the organization’s Settings, Personal access tokens, Active tokens. Only the person can revoke their own OAuth and GitHub App authorizations.

Linear

Admins see and revoke the workspace’s API keys under Settings, Administration, API. Linear doesn’t document what happens to a removed member’s OAuth grants, so check that list too.

Notion

On Enterprise, open Settings, Notion MCP, Manage workspace clients, then a client’s menu and View members to disconnect one person. Workspace owners can also disconnect members from other connections.

Atlassian

Remove their site access or suspend the account, since deactivating them in the identity provider alone leaves API tokens working. Org API keys an admin created stay active after they leave.

Claude

Remove them under Organization settings, Members. With enterprise-managed connector sign-in and SCIM, deprovisioning them in the identity provider removes their connector access too.

Revoke the grant at the service

Deleting a server from a client removes its stored tokens on that machine, but not at the service. In Claude Code, `claude mcp remove` deletes the tokens locally and doesn’t revoke them at the server. Log out first so the server is asked to revoke them:

Terminal

```
claude mcp logout linear
claude mcp remove linear
```

In Cursor, signing out locally doesn’t sign out Cloud Agents. Sign out on the server’s Cloud row in Customize too.

## What about servers that use one shared key?

Rotate it. If the team shares a single API key for a server, the person who left still knows it, and nothing at the service can tell their calls from anyone else’s. Create a new key, update it everywhere it’s stored, check calls work, then revoke the old one. If this happens every time someone leaves, the setup is the problem: see [how to share an MCP server without sharing the API key](https://mcp1.com/blog/share-mcp-server-without-api-key).

## How do I know nothing is left?

Look for calls, not configs. A service’s own audit log shows activity under the person’s identity, and a log of MCP calls shows which client and tool made them. If you don’t record MCP calls yet, [MCP audit logging](https://mcp1.com/blog/mcp-audit-logging) covers where to capture them. Check again after the access token lifetimes you know of have passed.

## Offboarding with MCP1

With a gateway, people’s clients get their tokens from the gateway, not from each service, so there is one place to cut them off. In MCP1, an admin removes the person from the workspace on the Members page of its settings, and every OAuth client they approved and every API key they made stops working within seconds, because the gateway checks membership again on each call instead of trusting the token alone. Admins see every client and key in the workspace on the Clients and keys page, and can revoke any of them on its own.

Workspace servers hold the workspace’s tokens, not the person’s, so nothing needs rotating when they leave. The exception is a workspace server someone connected with their own account through one-click OAuth: reconnect it with a service account before you remove them at the service. The audit log shows every call they made, with the client and gateway. The [docs](https://mcp1.com/docs) cover members and keys, and you can [start free](https://mcp1.com/signup).

## Common questions

### Does removing someone from Okta revoke their MCP access?

Not by itself. It stops new sign-ins, but tokens a service already issued keep working until they expire or the service revokes them. Remove the person at each service too.

### Do GitHub tokens stop working when someone leaves the organization?

Their personal access tokens stop working on the organization’s resources once they are removed from it. The tokens can still read public data until the person deletes them.

### What happens to CI jobs that use a departed employee’s token?

They either fail when the token is revoked or keep running with that person’s access, depending on the service. Move them to a service account before offboarding.

### Does claude mcp remove revoke the OAuth token?

No. It deletes the tokens Claude Code stored, but doesn’t revoke them at the server. Run claude mcp logout first to ask the server to revoke them.

Give your team one URL

Create a workspace, install your servers and share a gateway with a group. Free for individuals.

[Start with MCP1](https://mcp1.com/signup)[Read the docs](https://mcp1.com/docs)

## More from the blog

[ Terminal$ claude mcp add --transport http github api.githubcopilot.com/mcp/githubConnectedHow to connect GitHub MCP to Claude CodeRun claude mcp add with https://api.githubcopilot.com/mcp/ and a fine-grained token. Read-only mode, toolsets, permission rules and team setup.![](https://avatars.githubusercontent.com/u/1297371?s=96&v=4)Eldad FuxFounder and CEO, Appwrite](https://mcp1.com/blog/github-mcp-claude-code)[ SupportIntercomRead-onlyLinearRead-onlyNotionRead-onlyStripeRead-onlyMCP servers for support teams: what to connect firstStart with your helpdesk, Linear, Notion and Stripe, read-only first. What they answer together, which writes to hold back and a shared setup.![](https://avatars.githubusercontent.com/u/1297371?s=96&v=4)Eldad FuxFounder and CEO, Appwrite](https://mcp1.com/blog/mcp-servers-for-support-teams)

---

This is the markdown copy of https://mcp1.com/blog/mcp-offboarding. Site index for agents: https://mcp1.com/llms.txt
