Notion Large File Upload
v1.0.0Upload local files up to 5 GB to Notion and attach them to pages, read from disk, not the chat.
Values you need
| Variable | What it is | |
|---|---|---|
NOTION_KEY | required secret | Notion integration token. The integration needs access to the pages you attach files to. |
NOTION_UPLOAD_ALLOWED_DIRS | required | Folders the server may upload files from, separated by : (; on Windows). Uploads are refused until this is set. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add notion-large-file-upload -e 'NOTION_KEY=<NOTION_KEY>' -e 'NOTION_UPLOAD_ALLOWED_DIRS=<NOTION_UPLOAD_ALLOWED_DIRS>' -- npx -y notion-large-file-upload-mcp@1.0.0Add to
claude_desktop_config.json{
"mcpServers": {
"notion-large-file-upload": {
"args": [
"-y",
"notion-large-file-upload-mcp@1.0.0"
],
"command": "npx",
"env": {
"NOTION_KEY": "<NOTION_KEY>",
"NOTION_UPLOAD_ALLOWED_DIRS": "<NOTION_UPLOAD_ALLOWED_DIRS>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"notion-large-file-upload": {
"args": [
"-y",
"notion-large-file-upload-mcp@1.0.0"
],
"command": "npx",
"env": {
"NOTION_KEY": "<NOTION_KEY>",
"NOTION_UPLOAD_ALLOWED_DIRS": "<NOTION_UPLOAD_ALLOWED_DIRS>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "NOTION_KEY",
"id": "notion-key",
"password": true,
"type": "promptString"
},
{
"description": "NOTION_UPLOAD_ALLOWED_DIRS",
"id": "notion-upload-allowed-dirs",
"password": true,
"type": "promptString"
}
],
"servers": {
"notion-large-file-upload": {
"args": [
"-y",
"notion-large-file-upload-mcp@1.0.0"
],
"command": "npx",
"env": {
"NOTION_KEY": "${input:notion-key}",
"NOTION_UPLOAD_ALLOWED_DIRS": "${input:notion-upload-allowed-dirs}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.notion-large-file-upload]
command = "npx"
args = ["-y", "notion-large-file-upload-mcp@1.0.0"]
env = { "NOTION_KEY" = "<NOTION_KEY>", "NOTION_UPLOAD_ALLOWED_DIRS" = "<NOTION_UPLOAD_ALLOWED_DIRS>" }For AI agents
- Ask the user for: NOTION_KEY, NOTION_UPLOAD_ALLOWED_DIRS. 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: upload_large_file_to_notion, upload_and_attach_to_notion, attach_file_upload_to_notion.
- 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