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.
@kirvigen
基本情報
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.
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"notion-private": {
"command": "npx",
"args": [
"-y",
"notion-private-mcp"
],
"env": {
"NOTION_TOKEN_V2": "your_token_v2"
}
}
}
}Read a page block and its metadata
Read a single block
Read the direct child blocks of a page or block
Catalog of supported block types & inline annotations (call before composing complex pages)
Preview how Markdown parses into the simplified block JSON
Create a child page under another page, from blocks or Markdown
Append blocks/Markdown to a page (at the end, or after a given block)
Replace the direct child blocks of a page
Replace the plain-text content of a block (e.g. a code block)
Remove (archive) direct child blocks from a page
Create or replace a page from a local Markdown file
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.
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.
Log into Notion in your browser, open DevTools (F12) → Application → Cookies → `https://www.notion.so`, and copy the value of the `token_v2` cookie.
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.
Your `token_v2` expires when your Notion session ends (logout, password change, long inactivity). Obtain a fresh cookie and update the environment variable.
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.
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.

Personal context for every AI: search, read, and write back to your private Markdown library of articles, threads, PDFs, notes, and captured ChatGPT/Claude/Gemini/Grok conversations. Remote server, OAuth 2.1 paste-and-au

Serve your docs to AI agents over SSH and MCP. Agents use ls, cat, grep, find, and pipes against a virtual filesystem backed by your documentation. Identity-scoped access, governed writing with human approval, and portab
Local MCP server and CLI that keeps a Git-versioned, model-written index of a codebase and its database schema, so coding agents start each task with the whole system in view.

Search published GPU deployment, rack integration and structured cabling resources; read canonical documents and Leviathan Systems company service scope. Anonymous, read-only Streamable HTTP MCP. No credentials required.
The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs
コメント