Notion

v0.1.3
com.foreverworks/notion Checked 8 hours ago Published 3 days ago

Search, read and write your Notion workspaces, with pages as Markdown and typed database queries.

Values you need

VariableWhat it is
NOTION_TOKENS_DIRrequired A folder holding one file per workspace, notion-<label>, each with that workspace's integration token or personal access token.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add notion -e 'NOTION_TOKENS_DIR=<NOTION_TOKENS_DIR>' -- npx -y @foreverworks/mcp-notion@0.1.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "notion": {
      "args": [
        "-y",
        "@foreverworks/mcp-notion@0.1.3"
      ],
      "command": "npx",
      "env": {
        "NOTION_TOKENS_DIR": "<NOTION_TOKENS_DIR>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "notion": {
      "args": [
        "-y",
        "@foreverworks/mcp-notion@0.1.3"
      ],
      "command": "npx",
      "env": {
        "NOTION_TOKENS_DIR": "<NOTION_TOKENS_DIR>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "NOTION_TOKENS_DIR",
      "id": "notion-tokens-dir",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "notion": {
      "args": [
        "-y",
        "@foreverworks/mcp-notion@0.1.3"
      ],
      "command": "npx",
      "env": {
        "NOTION_TOKENS_DIR": "${input:notion-tokens-dir}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.notion]
command = "npx"
args = ["-y", "@foreverworks/mcp-notion@0.1.3"]
env = { "NOTION_TOKENS_DIR" = "<NOTION_TOKENS_DIR>" }

For AI agents

  1. Ask the user for: NOTION_TOKENS_DIR. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: add_column, add_comment, add_options, append_content, count_rows, create_database, create_page, describe_database, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json