Notion
v0.1.3Search, read and write your Notion workspaces, with pages as Markdown and typed database queries.
Values you need
| Variable | What it is | |
|---|---|---|
NOTION_TOKENS_DIR | required | 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.3Add 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
- Ask the user for: NOTION_TOKENS_DIR. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: add_column, add_comment, add_options, append_content, count_rows, create_database, create_page, describe_database, ….
- 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