Notion MCP in Claude Code: a workspace Claude can read and edit
Notion's own hosted MCP server gives Claude Code a connection to your workspace: search across pages, read a page as Markdown, edit it, and work with databases and comments.
The command is one line, and the part people miss is the second step. Adding the server only writes a configuration entry, so the server shows up as needing authentication until you complete the OAuth flow inside a session.
Sources read November 25, 2026. By the Omniscio team. Updated .
What it gives Claude Code
Notion documents the remote server as a way for an AI assistant to read and update the content you can access in the workspace you authorise. Its tool documentation is grouped by job rather than listed tool by tool: search and read information, comment and work together, create and organise pages, manage databases and views, work with files, reuse instructions and delegate work, and manage your time.
In practice that means Claude can find a page by describing it, pull a spec or a meeting note into the conversation as Markdown, add a comment on a page it read, create a page under a parent, or query a database and add a row.
Notion's own reason for preferring the remote server is that it is built for agents, with semantic search across the workspace and Markdown-native page reading and editing; its comparison table sets that against keyword search only in the self-hosted one, which it no longer actively maintains.
The permission model is the one you already have. Access follows the workspace and the pages you authorised during sign-in, not a broader key: Notion says an authorised connection can read and update content that you can access in the selected workspace.
The command
Run this in your terminal, not inside a Claude Code session. With the default local scope the folder you run it from is the project it applies to; with --scope user the folder does not matter:
claude mcp add --transport http notion https://mcp.notion.com/mcpThat is Notion's own line for Claude Code, and Anthropic's documentation uses the same command as its worked example for adding a remote server, so the two agree character for character. Nothing follows the URL: this server takes no arguments, so there is no double dash and no server flags.
The flag you may want to add is the scope. --scope user registers Notion in every project on the machine, which is usually what you want for a workspace you consult from several repositories:
claude mcp add --transport http notion --scope user https://mcp.notion.com/mcpA successful add prints an Added ... line, which confirms the configuration was written. It does not confirm a connection: that is the OAuth step below.
The .mcp.json equivalent
Write this instead of running the command above, not as well as it — both are the same registration.
For project scope, the entry is the URL with its type. The type field is not optional in Claude Code: an entry with a url and no type is read as a local server and skipped, with a message saying the entry needs "type": "http".
{
"mcpServers": {
"notion": {
"type": "http",
"url": "https://mcp.notion.com/mcp"
}
}
}Notion's generic JSON block carries no type line, because it is written for any client rather than for Claude Code. Copy the URL from it, not the whole object.
An older client that only runs local servers can bridge to the same endpoint with mcp-remote, which Notion documents as the fallback:
{
"mcpServers": {
"notion": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.notion.com/mcp"]
}
}
}Which scope to use
Three options, and Notion lists all three in its Claude Code instructions. Local is the default: available only to you, in the current project. Project is shared with your team through .mcp.json. User is available to you across all projects.
For Notion, user scope is the one that usually fits, because the workspace is not a property of the repository. Project scope puts the server URL in a file you commit, which is harmless here since the URL is public and the credential is a per-person OAuth login; what it does not do is share your access. Each teammate still signs in as themselves.
A project-scoped server from .mcp.json is not used until you approve it, so a fresh clone shows ⏸ Pending approval (run claude to approve) rather than a connection. Run claude interactively once to accept it, and claude mcp reset-project-choices clears those answers later.
The auth step
There is no token in the standard flow. Notion says to authenticate by running /mcp in Claude Code and following the OAuth flow, and Anthropic's instructions for a remote server are the same: open /mcp, then follow the steps in your browser to log in.
/mcpA token exists, but only as an alternative. A Business or Enterprise workspace owner can create an MCP token with New MCP token in Notion's developer portal, and a client then sends it as a bearer token to the same URL with no browser sign-in. Unless you are wiring up a headless client, the OAuth flow is the way in.
A server answers 401 Unauthorized or 403 Forbidden before you have signed in, which is what puts it in the list as needing authentication. Once the browser flow returns, the server connects and its tools appear.
If no browser opens, copy the URL Claude Code prints and open it yourself. Anthropic also documents claude mcp login notion, which runs the same flow from a shell and prints the URL instead of trying to launch a browser — the path for an SSH session or a machine with no display.
Two housekeeping commands matter later: claude mcp logout notion clears the stored credentials, and Claude Code also discards the tokens when you remove the server, though it does not revoke them at Notion. To drop the connection altogether, Notion's own troubleshooting names Clear authentication or Disconnect in the client's MCP settings.
Confirm it connected
claude mcp list
claude mcp get notionThe list prints a health status beside the name, such as ✔ Connected, ! Needs authentication or ✘ Failed to connect, and a configuration status such as ⏸ Pending approval (run claude to approve) for an unapproved project server. claude mcp get notion prints one server's details, and on a failure adds an Issue: line with the HTTP status or error code.
Inside a session, /mcp is the fuller view: it shows the server, its tool count, and the menu where you sign in again or clear authentication.
The first real check is a search. Ask Claude to find a page you know exists and read its first heading back. That proves three things at once: the connection, the workspace, and the permission on that page.
If you want to know what the connection costs before you add more servers, Notion points at /context, which shows the context token usage of the session including the tokens each enabled MCP server uses.
The failure people hit
The first is not a failure at all. Adding the server twice with the same name and scope does not fix the sign-in either: it fails with MCP server notion already exists in local config, so complete the OAuth step on the existing entry.
The second is an enterprise policy. An administrator can restrict adding MCP servers, and a blocked server shows ✘ Blocked by enterprise managed policy or is hidden entirely. Notion's own advice is to ask the admin whether Notion MCP is allowed; workspace owners manage that access through their admin controls.
The third is a stale endpoint. A client still pointed at the legacy https://mcp.notion.com/sse address keeps working only until Notion retires it on February 23, 2027, so move it now: change the URL to https://mcp.notion.com/mcp — the one the add command uses — in the client's settings, save, and sign in again if prompted.
The failure messages themselves belong to the MCP errors guide, and the add command's flags and scopes are covered in full in Add an MCP server to Claude Code.
Sources
Every line on this page rests on one of these. The date beside each one is the day we read it.
- Notion: Connect to Notion MCP, for the server URL, the Claude Code command, the OAuth step, the three scopes,
/context, the legacy SSE retirement date, the JSON andmcp-remoteforms, and the enterprise-policy and authentication troubleshooting. Read November 25, 2026. - Notion: Supported tools, for the tool groups. Read November 25, 2026.
- makenotion/notion-mcp-server, for the notice that the self-hosted server is no longer actively maintained and for the token and capabilities steps of that server. Read November 25, 2026.
- Anthropic: Connect Claude Code to tools via MCP, for the remote-server shape, the
typerequirement, the scope table and approval prompt, the health statuses, theAdded ...line, the OAuth flow,claude mcp loginandlogout, and the duplicate-name refusal. Read November 25, 2026.
Common questions
What is the command to add Notion MCP to Claude Code?
claude mcp add --transport http notion https://mcp.notion.com/mcp, run in your terminal. Notion prints that exact line in its Claude Code instructions, and Anthropic uses it as the worked example for adding a remote server.
Do I need a Notion integration token?
Not for the standard flow. The remote server signs you in with OAuth: you add it, run /mcp, and follow the browser login. Business and Enterprise workspaces can instead use an MCP token created in Notion's developer portal.
Why does claude mcp list say the Notion server needs authentication?
That is the expected state before the OAuth step. Adding a server only writes the configuration; open /mcp in a session, choose Notion and sign in, and the status changes to connected.
Which scope should a Notion server use?
Local, the default, keeps it in this project for you alone. User scope makes it available in every project, which suits a workspace you read from all day. Project scope commits the URL in .mcp.json for the team, but each person still signs in as themselves.
What happens to the old Notion SSE endpoint?
Notion retires https://mcp.notion.com/sse on February 23, 2027. The replacement is the Streamable HTTP URL https://mcp.notion.com/mcp, added with the same command.
Every session, one window
Omniscio runs several agent sessions side by side in one window, each with its own context and its own diff view. Any model, any harness — Claude Code, Codex, OpenCode, Devin, Pi, and Hermes all supported.