Back to Blog
notion mcp openclaw agent-security access-management

Notion MCP Access Revocation: An Offboarding Runbook for Personal Agents

Notion's October 13 update puts a useful operational question in front of personal-agent builders: can you disconnect one agent's access without breaking every other workflow?

The Notion 3.8 announcement describes visibility into connected AI tools, their usage, and per-person access revocation. Its developer overview separately documents organization-level APIs for listing and revoking members' MCP connections.

For OpenClaw operators, the practical takeaway is not another connector to install. It is a small, testable offboarding procedure for the credentials behind an agent. This guide proposes that procedure; it does not claim that Clawly has enabled a new integration or that every OpenClaw deployment supports the same authentication flow.

First, identify the direction of the connection

Two similarly named features do different jobs:

  • An external agent connects to Notion MCP: Notion hosts the remote MCP server; the client authorizes through OAuth and uses tools to read or update content accessible to that user.
  • A Notion Agent connects to another service: Notion is the agent environment using an external tool connection.

This guide concerns the first case. If your personal agent reaches Notion through another integration type, do not assume the MCP administration endpoints cover it. The connection-list reference explicitly excludes workspace-owned internal connections.

Also, “self-hosted agent” does not mean “all processing stays local.” Notion MCP is a remote service, and the model provider used by your client may receive retrieved content. Map that route before connecting sensitive pages.

1. Inventory the identity, not just the friendly app name

Create a short connection record before enabling a workflow:

Field Why it matters
Member identity Identifies whose Notion permissions the connection uses
Workspace ID Prevents revoking access in the wrong workspace
Stable client key Identifies the client without relying on its display name
Workflow owner Identifies who can authorize changes and repair failures
Intended read/write behavior Defines what the agent is actually supposed to do
Last observed activity Helps investigate unexpected or abandoned use
Recovery route Records who can reconnect after a planned test

Notion's list API groups connections by member, client, and connection settings; a result can contain several workspaces. Custom clients can supply their own names. The documentation therefore says to use client.key, not the name, in subsequent API requests.

Do not store tokens in this inventory. IDs and redacted evidence are enough for the runbook.

2. Keep the administrative credential outside the agent

The documented administration routes are:

GET  https://api.notion.com/admin/v1/mcp_client_connections
POST https://api.notion.com/admin/v1/mcp_client_connections/revoke

The references specify an organization bot token, a Notion-Version header of 2026-06-01, and separate scopes:

  • Inventory: mcp-client-connection:read
  • Revocation: mcp-client-connection:write-high-impact

These are administrative capabilities, not permissions a note-taking agent needs. Have an authorized operator run the inventory and revocation process through your approved secret-handling tooling. Do not give the ordinary agent the power to disconnect other members.

For inventory, follow pagination until has_more is false, using the returned next_cursor as start_cursor. Confirm the organization and filters before interpreting an empty result: the documentation says unknown and out-of-organization filter IDs return no results.

3. Separate disconnecting from preventing reconnection

According to the revocation reference, a revoke request identifies three things: client_key, user_id, and workspace_id. It revokes active OAuth tokens for that member and client in that workspace, returning revoked_token_count.

That is narrower than disconnecting everyone. But it is also narrower than permanently blocking the client: the member can connect again if workspace policy allows it.

Treat these as separate decisions:

  1. Disconnect now: revoke the selected active connection.
  2. Restrict future access: review the workspace's allowed-client policy with its administrator.
  3. Handle enterprise-managed authentication: review the identity-provider-managed access path separately; Notion documents controls whose scope can extend beyond one client.

Notion's developer overview says limiting which clients members can connect requires Enterprise. Do not design a personal-plan runbook around an enterprise-only switch.

4. Run a controlled revocation drill

Use a disposable page containing synthetic content and an approved test connection—not a production publishing or customer-support workflow.

Before revocation, confirm that the test client can perform a fresh read. Record the member, workspace, and stable client key, then have the authorized operator revoke that exact connection.

Afterward, test the following:

Check Expected evidence
Fresh read through the revoked connection Authentication or authorization failure, not a cached answer
Fresh read through a separate control connection Still succeeds if that connection is outside the revoked scope
Agent's user-facing response Explains lost access instead of claiming the task completed
Background workflow behavior Reports a concrete failure rather than repeatedly reconnecting
Recovery Only an authorized, deliberate reconnection restores access

A positive token count records an administrative action; it is not a substitute for testing the old client. Conversely, a failure to read is ambiguous without the baseline and control: an unrelated network outage can look like successful revocation.

Revocation also does not erase content already copied into a transcript, cache, or downstream system. Review retention and deletion separately if the purpose is incident response rather than routine offboarding.

5. Account for documentation differences

At review time on October 29, Notion's sources were not fully aligned. The release announcement describes per-person controls, and the developer reference documents targeted revocation. However, the Help Center FAQ still includes statements about unavailable per-user visibility and a disconnect-all workaround.

Do not resolve that discrepancy by assuming every workspace has identical UI controls. Check your plan, role, available settings, and supported API access. If the documented targeted route is unavailable to your administrator, record that as a blocker; do not use a broad disconnect-all action as an unannounced substitute.

The useful outcome

A good agent-access runbook answers four questions: which identity granted access, which connection must stop, how will we prove it stopped, and who can restore it?

Notion's October update is a timely reason to write that runbook. The same discipline helps with other MCP services, but their token scopes, revocation semantics, and reconnection policies must be checked independently. A working connection is only half of the integration; a predictable exit is the other half.

Protect your AI agent with Clawly

Deploy your OpenClaw agent in an isolated, hardened container with encrypted credentials and managed updates. No DevOps required.

Deploy Your Agent