Basic information
About Notion MCP Server
Hosted Notion MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Notion MCP Server is a MCP server in the Memory & Knowledge category listed in the AddMCP.net directory, published by makenotion. It exposes 3 tools, including Pages:, Blocks:, Comments:. Supported transport: stdio. Runtime: node. License: MIT. The repository has 4,485 GitHub stars. Source code is hosted on github.com. Related topics: mcp, notion, server.
Connection details
https://notion.insightfulmcp.com/
Setup
claude mcp add notion-mcp-server --transport http https://notion.insightfulmcp.com/
[mcp_servers.notion-mcp-server] url = "https://notion.insightfulmcp.com/"
{
"mcpServers": {
"notion-mcp-server": {
"url": "https://notion.insightfulmcp.com/"
}
}
}
{
"servers": {
"notion-mcp-server": {
"type": "http",
"url": "https://notion.insightfulmcp.com/"
}
}
}
Notion MCP Server (notion-mcp-server) config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"notion-mcp-server": {
"command": "docker",
"args": [
"compose",
"build"
]
}
}
}
Notion MCP Server (notion-mcp-server) tools
- Pages: — `post-page`, `retrieve-a-page`, `patch-page`, `retrieve-a-page-property` and `move-page` create, read, update and move pages.
- Blocks: — `get-block-children`, `patch-block-children`, `retrieve-a-block`, `update-a-block` and `delete-a-block` work with page content block by block.
- Comments: — `create-a-comment` and `retrieve-a-comment`.
Overview
What is Notion MCP Server?
Notion MCP Server (Official) is Notion's open-source, self-hosted notion mcp server (@notionhq/notion-mcp-server). It turns the Notion API into MCP tools so AI clients can search, read, create and update pages, databases, comments and blocks.
Notion now marks this repository as no longer actively maintained and recommends its hosted Remote Notion MCP at https://mcp.notion.com/mcp instead. This page covers both: the local server this listing describes, and the hosted endpoint Notion points users to.
How to use Notion MCP Server?
Pick one of two setups:
- Remote Notion MCP (recommended by Notion): no install. You add
https://mcp.notion.com/mcpto your client and sign in with OAuth. It uses your existing Notion permissions. - Local server (this repository): runs with
npxor Docker. It authenticates with an internal integration token (ntn_...), and you share pages with that integration yourself.
Local setup: token and page access
- Go to https://www.notion.so/profile/integrations and create an internal integration.
- In the integration's Access tab, choose the pages and databases it may use. You can also open a page, click the three dots and choose Connect to integration.
- Copy the integration secret. For a read-only setup, turn on only "Read content" under Capabilities.
Claude Desktop
Add the server to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"notionApi": {
"command": "npx",
"args": ["-y", "@notionhq/notion-mcp-server"],
"env": {
"NOTION_TOKEN": "ntn_****"
}
}
}
}
Docker users can run the official mcp/notion image instead (see the README).
Cursor
For the local server, put the same JSON in .cursor/mcp.json. For the hosted server, use:
{
"mcpServers": {
"notion": {
"url": "https://mcp.notion.com/mcp"
}
}
}
Then open Customize in Cursor's sidebar, enable Notion and complete the OAuth flow.
Claude Code
Notion documents the hosted endpoint for Claude Code:
claude mcp add --transport http notion https://mcp.notion.com/mcp
Then run /mcp in Claude Code and follow the OAuth flow.
VS Code
Create .vscode/mcp.json:
{
"servers": {
"notion": {
"type": "http",
"url": "https://mcp.notion.com/mcp"
}
}
}
Run MCP: List Servers from the Command Palette, start Notion and sign in.
Codex
Add this to ~/.codex/config.toml, then run codex mcp login notion:
[mcp_servers.notion]
url = "https://mcp.notion.com/mcp"
The local server's README also has configs for Zed and the GitHub Copilot CLI (~/.copilot/mcp-config.json).
Key features of Notion MCP Server
- Published by Notion (
makenotion) under the MIT license, on npm as@notionhq/notion-mcp-serverand on Docker Hub asmcp/notion. - Tools are generated from Notion's OpenAPI spec, so each tool matches one Notion API endpoint.
- Version 2.0 uses Notion API
2025-09-03and its data sources model (data_source_idinstead ofdatabase_id). - Page content can be read and edited as Markdown. This uses far fewer tokens than block JSON.
- STDIO transport by default. Streamable HTTP is available with
--transport http, which requires a bearer token (--auth-tokenorAUTH_TOKEN). --enable-token-passthroughlets one HTTP deployment serve several integrations through a per-sessionNotion-Tokenheader.- Some actions are left out on purpose. For example, you cannot delete databases through it.
Notion MCP Server tools
The local server's tools fall into a few groups:
- Search and users:
post-searchsearches pages and data sources.get-users,get-userandget-selflook up workspace members and the bot user. - Pages:
post-page,retrieve-a-page,patch-page,retrieve-a-page-propertyandmove-pagecreate, read, update and move pages. - Markdown content:
retrieve-page-markdownandupdate-page-markdownread and edit a whole page as Markdown. - Blocks:
get-block-children,patch-block-children,retrieve-a-block,update-a-blockanddelete-a-blockwork with page content block by block. - Databases and data sources:
query-data-source(filters and sorts),retrieve-a-data-source,create-a-data-source,update-a-data-source,list-data-source-templatesandretrieve-a-database. - Comments:
create-a-commentandretrieve-a-comment.
The hosted Remote Notion MCP has a different, agent-oriented set of tools, such as notion-search, notion-fetch, notion-create-pages, notion-update-page and notion-query-data-sources.
Use cases of Notion MCP Server
- Commenting on pages from chat: "Comment 'Hello MCP' on page 'Getting started'". The client calls search, then the comments endpoint.
- Creating pages under a parent: "Add a page titled 'Notion MCP' to page 'Development'".
- Reading a page by ID for context while coding: "Get the content of page 1a6b35e6e67f802fa7e1d27686f017f2".
- Querying a task or bug database with filters and sorts, then summarizing the results.
- Rewriting meeting notes or specs through the Markdown tools, without handling block JSON.
Notion MCP Server (Official) vs alternatives
- Remote Notion MCP (hosted): Notion's recommended mcp notion option. It uses OAuth and your own permissions, has semantic search across Notion and connected apps, and is actively supported. It needs no local process. Some features, such as AI search and MCP tokens for headless use, depend on a Business or Enterprise plan.
- This local server: useful when you need token-based, headless access or want to self-host. Notion says it gets no active support and may be sunset.
- Community servers: for example awkoy/notion-mcp-server, an unofficial project published on npm as
notion-mcp-server. It is a separate codebase, not Notion's.
Troubleshooting Notion MCP Server (Official)
- A page or database is not found: the integration can only see content shared with it. Add the page in the integration's Access tab or with Connect to integration.
- Old database tools are missing: v2.0 replaced
post-database-query,update-a-databaseandcreate-a-databasewithquery-data-source,update-a-data-sourceandcreate-a-data-source. Update any prompts that hardcode the old names. - HTTP requests are rejected: Streamable HTTP needs
Authorization: Bearer <token>on every request. Without--auth-token, the server writes a generated token to a temp file. Avoid--unsafe-disable-authexcept on an isolated network. - Your client only supports local servers: you can still reach the hosted server through the
mcp-remotebridge:"command": "npx", "args": ["-y", "mcp-remote", "https://mcp.notion.com/mcp"]. - Hosted OAuth fails: disconnect and reconnect the client, then check your access in the target workspace. Workspace guests cannot connect.
Frequently asked questions
1 Is the Notion MCP server official?
Yes. This repository is published by Notion as makenotion/notion-mcp-server. Notion also runs an official hosted server at https://mcp.notion.com/mcp, which it now recommends over this local one.
2 Is the Notion MCP server free?
The local server is open source under the MIT license, and it uses your own Notion integration token. Notion says its hosted MCP works on every plan, but some features, such as AI search and MCP tokens, need Business or Enterprise.
3 Which API key does the local server need?
An internal integration secret (ntn_...), passed as NOTION_TOKEN. You can also pass it in OPENAPI_MCP_HEADERS as JSON with Authorization and Notion-Version.
4 Does Notion MCP work with Claude Code, Cursor and VS Code?
Yes. Notion documents hosted setup for Claude Code, Cursor, VS Code, Codex and other clients. The local server's README covers Claude Desktop, Cursor, Zed and the GitHub Copilot CLI.
5 What is the difference between remote and local Notion MCP?
The remote server is hosted, uses OAuth and your own permissions, and is actively maintained. The local server runs on your machine with an integration token and manual page sharing. Notion no longer actively supports it.
6 Is the local server still maintained?
Notion says it is no longer actively maintained and may be sunset. Issues and pull requests are not actively monitored, and active support goes to Remote Notion MCP.
7 How do I limit what the AI can change?
Give the integration only the "Read content" capability for a read-only token, and share only the pages it needs. The server also leaves out some destructive actions, such as deleting databases.
8 Can I run the Notion MCP server over HTTP?
Yes. Start it with npx @notionhq/notion-mcp-server --transport http (optionally with --port and --host). It serves http://127.0.0.1:<port>/mcp and requires bearer-token auth.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In