NestDaddy

Notion Mcp

io.github.shck-dev/notion-mcp · v0.5.2

Notion MCP server — search, export, and import pages as markdown

Connect Runs on your machine

Terminal
claude mcp add notion-mcp -e NOTION_TOKEN=<NOTION_TOKEN> -e NOTION_USER_ID=<NOTION_USER_ID> -e NOTION_SPACE_ID=<NOTION_SPACE_ID> -- npx -y @shck-dev/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "notion-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shck-dev/[email protected]"
      ],
      "env": {
        "NOTION_TOKEN": "<NOTION_TOKEN>",
        "NOTION_USER_ID": "<NOTION_USER_ID>",
        "NOTION_SPACE_ID": "<NOTION_SPACE_ID>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "notion-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shck-dev/[email protected]"
      ],
      "env": {
        "NOTION_TOKEN": "<NOTION_TOKEN>",
        "NOTION_USER_ID": "<NOTION_USER_ID>",
        "NOTION_SPACE_ID": "<NOTION_SPACE_ID>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "notion-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shck-dev/[email protected]"
      ],
      "env": {
        "NOTION_TOKEN": "<NOTION_TOKEN>",
        "NOTION_USER_ID": "<NOTION_USER_ID>",
        "NOTION_SPACE_ID": "<NOTION_SPACE_ID>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
NOTION_TOKEN
Required, secret
Notion token_v2 cookie value from browser DevTools
NOTION_USER_ID
Required
Notion user ID from x-notion-active-user-header
NOTION_SPACE_ID
Required
Notion workspace ID from API request body

Details

Package@shck-dev/[email protected] (NPM, stdio)
First published23 Jun 2026
Last updated23 Jun 2026
Registry nameio.github.shck-dev/notion-mcp

More productivity servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.