What happens to MCP access when an employee leaves the company
With SCIM, deactivating someone in your identity provider deprovisions them in Metorial and revokes their access. Without SCIM, an admin deletes their profile.
With a SCIM directory connected, deactivating someone in your identity provider marks them deprovisioned in Metorial, clears their groups and revokes their access. Without SCIM, delete their profile in the portal. Either way, delete their tokens and disable their accounts in the apps.
What you'll learn
- What deprovisioning removes
- How to offboard someone by hand
- How to confirm their tool calls stopped
Before you start
- Admin access to Workforce and to your identity provider
- For the CLI steps, install
metorial-adminand sign in
What ends, and when
| Item | With SCIM | Without SCIM |
|---|---|---|
| Directory groups and roles in Metorial | Cleared when the SCIM request arrives | Unchanged |
| Access through groups, including groups assigned by hand | Revoked | Ends when you delete the profile |
| Metorial sessions | Revoked once every SSO identity of the person is deprovisioned | Signed out when you delete the profile |
| Integrations in already-connected AI clients | Removed in the background | Removed when access is removed |
| The person's app connections and credentials | Archived when the profile is deleted | Archived when the profile is deleted |
| Accounts in the apps themselves | Not touched | Not touched |
| Past tool calls | Kept in the logs | Kept in the logs |
A client's sign-in to the Magic MCP URL issues tokens that last up to 30 days, so access has to end in Metorial as well as in the identity provider.
With SCIM
Deactivate the person in your identity provider
In Okta, Deactivate Users must be on under Provisioning, To App. Entra ID sends the change in its next sync, about every 40 minutes.
Confirm the SCIM request
In Enterprise Admin, open Security, Authentication, your connection, Directories, the directory, and Logs. The request for the person shows its status code.
Without SCIM
Disable the identity provider account
This stops new SSO sign-ins.
Delete the profile
In Workforce, open your portal, then Identity, Accounts, and select the person. Open Settings and select Delete Profile under Danger Zone. This signs out their portal sessions and archives their identities and credentials.
Revoke their devices
If the person used Metorial Desktop, open the account's Devices page and select Revoke Device for each computer.
In both cases
Delete the Magic MCP tokens the person's scripts used, and disable their accounts in GitHub, Google Workspace and the other apps. If they set up a shared connection or a custom OAuth app, rotate that credential in the app.
Check it worked
List the person's tool calls and confirm none is newer than the offboarding time:
In the dashboard, the account's Access page should list no groups and no direct grants. Keep the SCIM log entry and the time of the last tool call as evidence.
Next steps
- Set up SSO and SCIM: connect a directory so offboarding is automatic
- CI and scheduled jobs: review service accounts, which are not tied to a person
- SOC 2 and MCP: use the offboarding test as audit evidence