Token-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents.
registry version 3.3.1
npm
npx -y notion-mcp-servernpm
npx -y notion-mcp-server@3.3.1Docker
docker run -i --rm ghcr.io/awkoy/notion-mcp-server:3.3.1
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"notion-mcp-server": {
"command": "npx",
"args": [
"-y",
"notion-mcp-server"
],
"env": {
"NOTION_TOKEN": "<YOUR_NOTION_TOKEN>"
}
}
}
}{
"mcpServers": {
"notion-mcp-server": {
"command": "npx",
"args": [
"-y",
"notion-mcp-server@3.3.1"
],
"env": {
"NOTION_TOKEN": "<YOUR_NOTION_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env NOTION_TOKEN=<YOUR_NOTION_TOKEN> notion-mcp-server -- npx -y notion-mcp-server
claude mcp add --env NOTION_TOKEN=<YOUR_NOTION_TOKEN> notion-mcp-server -- npx -y notion-mcp-server@3.3.1
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"notion-mcp-server": {
"command": "npx",
"args": [
"-y",
"notion-mcp-server"
],
"env": {
"NOTION_TOKEN": "<YOUR_NOTION_TOKEN>"
}
}
}
}{
"mcpServers": {
"notion-mcp-server": {
"command": "npx",
"args": [
"-y",
"notion-mcp-server@3.3.1"
],
"env": {
"NOTION_TOKEN": "<YOUR_NOTION_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"notion-mcp-server": {
"command": "npx",
"args": [
"-y",
"notion-mcp-server"
],
"env": {
"NOTION_TOKEN": "<YOUR_NOTION_TOKEN>"
}
}
}
}{
"servers": {
"notion-mcp-server": {
"command": "npx",
"args": [
"-y",
"notion-mcp-server@3.3.1"
],
"env": {
"NOTION_TOKEN": "<YOUR_NOTION_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"notion-mcp-server": {
"command": "npx",
"args": [
"-y",
"notion-mcp-server"
],
"env": {
"NOTION_TOKEN": "<YOUR_NOTION_TOKEN>"
}
}
}
}{
"mcpServers": {
"notion-mcp-server": {
"command": "npx",
"args": [
"-y",
"notion-mcp-server@3.3.1"
],
"env": {
"NOTION_TOKEN": "<YOUR_NOTION_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
NOTION_TOKEN required secret — Notion Personal Access Token (ntn_...) or Internal Integration Secret. Create at https://app.notion.com/developers/tokensNOTION_PAGE_ID — Optional default parent page ID used by create_page / create_database when no parent is passed.⭐ 175 stars · 最近更新于 29 天前 · MIT license
Notion MCP Server — Connect Claude, Cursor & VS Code to Notion Give your AI read/write access to Notion with one token and one command. Claude Code, Claude Desktop, Cursor, VS Code, Cline, Zed, anything that speaks MCP: it can create pages, query databases, append blocks, apply templates, comment an…
Summary from the project README — github.com/awkoy/notion-mcp-server
Distributed as npm, Docker, listed under Productivity. Review our MCP security guide before granting access to real data.
Notion MCP Server — Connect Claude, Cursor & VS Code to Notion Give your AI read/write access to Notion with one token and one command. Claude Code, Claude Desktop, Cursor, VS Code, Cline, Zed, anything that speaks MCP: it can create pages, query databases, append blocks, apply templates, comment an
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/awkoy/notion-mcp-server. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/notion-mcp-server/)
HTML
<a href="https://mcpnav.net/server/notion-mcp-server/"><img src="https://mcpnav.net/badge/notion-mcp-server.svg" alt="Listed on MCPNav" height="20"></a>