Managed Notion MCP authorization
The controller can authorize the official hosted Notion MCP server at
https://mcp.notion.com/mcp. Setup is currently available to the installation
operator. Select the exact Projects that should receive the connection; this
does not create a global MCP binding or share credentials with other users.
Create an HTTP MCP catalog entry with credential.required: true,
credential.type: "managed-oauth", and an explicitly reviewed official trust
boundary. Use an empty tools.defaultAllow initially. The authorization callback
discovers the actual tool catalog through tools/list, without reading or
changing Notion content, then commits the credential profile and all selected
Project bindings together. A failed commit preserves the previous bindings.
Start public web access before requesting authorization. Its current HTTPS origin supplies the callback address; callers cannot supply an arbitrary callback URL. Complete the connection while that address remains available.
The operator API is:
POST /v1/mcp/oauth/:serverId/startwith{"projectIds":["example-project"]}returns a real authorization URL and an opaque request ID.GET /v1/mcp/oauth/requests/:idreports pending, authorized, failed or expired.DELETE /v1/mcp/oauth/requests/:idcancels a pending request.GET /v1/mcp/oauth/callbackis the exact public callback. It validates the one-use state, ten-minute deadline, issuer and PKCE verifier. It requires no console key and never receives an injected operator credential.
The official MCP SDK performs discovery, dynamic client registration, token exchange and refresh. This initial adapter accepts only Notion's fixed HTTPS origin, rejects redirects and bounds response size and request duration. Client information, verifiers and refresh tokens are encrypted in the controller. Expired pending secrets are removed during authorization/status maintenance; request metadata is retained for at most one day after its last update.
The host-side HTTP bridge obtains only a short-lived access token using its session-scoped controller identity. The controller checks both the session's snapshot and its current Project grant, including after an asynchronous refresh. Refresh tokens and OAuth client secrets are never placed in the agent shell, session launch material or MCP configuration. Revoked grants fail closed.
The bridge validates every DNS answer before pinning a single public address.
It prefers IPv4 on dual-stack endpoints to support execution hosts without IPv6
routing, and retains support for IPv6-only endpoints. An explicit address family
keeps Node's automatic family selection from changing the pinned lookup contract.
An authorized connection can still fail at this transport layer; verify through
the session broker with initialize and tools/list, rather than treating the
saved Project binding as proof of connectivity.
For an already configured server, renewed authorization uses the current
same-owner Project credential profile. The pinned server endpoint and tool
allowlist remain enforced; the process and conversation do not restart.
Updated HTTP bridges poll a credential-free revision every 15 seconds after
initialization and send notifications/tools/list_changed when it changes.
The bridge advertises this capability for its own watcher, including when
Notion declares its upstream catalog static.
If Claude connected but failed to fetch tools, open /mcp, select that server
and choose Reconnect. This refreshes only MCP; keep the running conversation.
/mcp reconnect all retries failed or unauthenticated servers, so it can skip a
connected server whose tool discovery failed. Separate claude mcp list/get
commands inspect saved CLI configuration, not the --mcp-config injected into
an existing managed session.
Adding an entirely absent server or broadening a pinned tool allowlist remains a separate configuration change. Existing sessions retain those snapshots; the new server becomes available on a new session start or an explicit configuration reload after the provider stops. Projects show that configuration update.
Native clients on a developer computer have separate authorization stores.
Configure their official HTTP transport and complete each client's own OAuth
flow. For Codex use codex mcp add notion --url https://mcp.notion.com/mcp and
codex mcp login notion --scopes default; for Claude use
claude mcp add --transport http --scope user notion https://mcp.notion.com/mcp
and authenticate through /mcp. These native credentials are not copied into
the controller's managed connection.
Sources: Notion connection guide, Notion client authorization requirements, Codex MCP documentation, Claude dynamic MCP updates.