Basic information
About Notion Private API MCP Server
Unofficial Notion MCP server built on Notion's private API (token_v2 cookie). Full read/write access to your entire Notion workspace — no integration token and no per-page sharing.
Notion Private API MCP is a MCP server in the Memory & Knowledge category listed in the AddMCP.net directory, published by kirvigen. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 4 GitHub stars. Source code is hosted on github.com. Related topics: ai, anthropic, automation, claude, claude-code.
Setup
{
"mcpServers": {
"notion-private": {
"command": "npx",
"args": [
"-y",
"notion-private-mcp"
],
"env": {
"NOTION_TOKEN_V2": "your_token_v2"
}
}
}
}
{
"mcpServers": {
"notion-private": {
"command": "npx",
"args": [
"-y",
"notion-private-mcp"
],
"env": {
"NOTION_TOKEN_V2": "your_token_v2"
}
}
}
}
{
"servers": {
"notion-private": {
"command": "npx",
"args": [
"-y",
"notion-private-mcp"
],
"env": {
"NOTION_TOKEN_V2": "your_token_v2"
}
}
}
}
Notion Private API MCP config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"notion-private": {
"command": "npx",
"args": [
"-y",
"notion-private-mcp"
],
"env": {
"NOTION_TOKEN_V2": "your_token_v2"
}
}
}
}
Notion Private API MCP tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Notion Private API MCP?
Notion Private API MCP is an unofficial MCP server that gives LLM agents full read and write access to your entire Notion workspace using Notion's private, undocumented internal API and your browser session cookie (token_v2). It is built for developers and power users who want personal automation without setting up official integrations or sharing pages one by one.
How to use Notion Private API MCP?
Clone the repository, install dependencies with npm install, set the NOTION_TOKEN_V2 environment variable to your Notion session cookie, and start the server with npm start. Then register the server in your MCP client (e.g., Claude Desktop or Claude Code) using the provided configuration examples.
Key features of Notion Private API MCP
- Authenticates with your browser session cookie — no integration token needed
- Accesses everything your account can see in the workspace
- Provides tools to read, create, edit, delete pages and blocks
- Supports writing content via simplified block JSON or Markdown
- Works with Claude Desktop, Claude Code, Cursor, and other MCP clients
- Uses stdio transport via the official MCP SDK
Use cases of Notion Private API MCP
- Search for any page in your workspace and have an agent summarize its content
- Create child pages with structured content (headings, to-do lists, code blocks)
- Append TODO lists or notes to an existing page automatically
- Sync a local Markdown file into a Notion page as block content
- Replace or delete blocks on a page programmatically
Frequently asked questions
1 Where do I get my `token_v2`?
Log into Notion in your browser, open DevTools (F12) → Application → Cookies → https://www.notion.so, and copy the value of the token_v2 cookie.
2 Why am I seeing "NOTION_TOKEN_V2 is required"?
The environment variable is not set in the process that launches the server. Ensure it is defined in your MCP client's env block or in the shell before starting the server.
3 My token stopped working — what happened?
Your token_v2 expires when your Notion session ends (logout, password change, long inactivity). Obtain a fresh cookie and update the environment variable.
4 What does `MemcachedCrossCellError` mean?
It is a transient Notion routing error on multi‑cell workspaces. The client already retries and falls back to loadPageChunk; simply retry the call if it appears.
5 Is using Notion's private API against the Terms of Service?
This server uses an undocumented internal API. Using it with your own account and data is at your own risk; Notion may change or break the API at any time, and use may be against their ToS.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In