labelhead-artist-momentum
Trending hip-hop artist momentum scores across four cultural dimensions.
PApaperclipai/paperclip119k1,966 new stars in the last 7 days
Upload local files up to 5 GB to Notion and attach them to pages, read from disk, not the chat.
An MCP server that lets AI agents (Claude Desktop, Claude Code, Cursor, Zed) upload local files of up to 5 GB to Notion and attach them to pages. It reads each file from disk by path, so the file never passes through the model's context.
notion-create-file-upload tool only does single-part uploads, and Notion's open-source MCP server no longer accepts uploads at all.notion-large-file-upload-mcp wraps notion-multipart-uploader to provide:
429), server overload (529), exponential backoff with jitter, and Retry-After headers.video, pdf, image, audio or file block.Add this to your claude_desktop_config.json:
{
"mcpServers": {
"notion-large-files": {
"command": "npx",
"args": ["-y", "notion-large-file-upload-mcp"],
"env": {
"NOTION_KEY": "secret_your_notion_integration_token",
"NOTION_UPLOAD_ALLOWED_DIRS": "/Users/me/Videos/exports:/Users/me/Documents/reports"
}
}
}
}
Config location:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonnotion-large-filescommandnpx -y notion-large-file-upload-mcpNOTION_KEY=secret_... and NOTION_UPLOAD_ALLOWED_DIRS=/path/to/exportsclaude mcp add notion-large-files -e NOTION_KEY=secret_... -e NOTION_UPLOAD_ALLOWED_DIRS=/path/to/exports -- npx -y notion-large-file-upload-mcp
| Environment variable | Required | Description |
|---|---|---|
NOTION_KEY | Yes | Notion integration token. NOTION_API_KEY and NOTION_TOKEN are also accepted. |
NOTION_UPLOAD_ALLOWED_DIRS | Yes | Directories files may be uploaded from, separated by : (; on Windows). The upload tools refuse to run without it. |
The tools read files from the machine the server runs on. Without a limit, an agent that is tricked by a prompt injection could upload sensitive files such as ~/.ssh/id_rsa or .env to Notion. That's why NOTION_UPLOAD_ALLOWED_DIRS is required: set it to the folders your agent actually produces files in.
Paths must be absolute, and symlinks are resolved before the check, so a link inside an allowed folder can't point outside it. A link that stays inside an allowed folder is uploaded under the link's name.
Before uploading, the server also checks that Notion supports the file type and that the file fits the workspace's upload limit (5 MiB per file on free workspaces), so the agent gets a clear error instead of a failed multi-GB upload.
upload_large_file_to_notionUploads a local file of any size up to 5 GB to Notion and returns the Notion file_upload ID.
| Parameter | Type | Required | Description |
|---|---|---|---|
filePath | string | Yes | Absolute path to the local file on disk |
mimeType | string | No | MIME type (e.g., video/mp4). Automatically inferred if omitted |
upload_and_attach_to_notionUploads the local file and immediately creates a child block on the target Notion page or block.
| Parameter | Type | Required | Description |
|---|---|---|---|
filePath | string | Yes | Absolute path to the local file on disk |
blockId | string | Yes | Target Notion Page ID or parent Block ID |
blockType | string | No | video, pdf, image, audio, or file (inferred from MIME if omitted) |
mimeType | string | No | MIME type (inferred if omitted) |
caption | string | No | Optional caption text displayed under the block (up to 2,000 characters) |
If the upload succeeds but attaching fails (for example, the page isn't shared with the integration), the error includes the file ID so the agent can retry with attach_file_upload_to_notion instead of uploading again.
attach_file_upload_to_notionAttaches an already uploaded file to a Notion page or block. Notion expires uploads that aren't attached within an hour of being created.
| Parameter | Type | Required | Description |
|---|---|---|---|
fileUploadId | string | Yes | The file_upload ID returned by an upload tool |
blockId | string | Yes | Target Notion Page ID or parent Block ID |
blockType | string | Yes | video, pdf, image, audio, or file |
caption | string | No | Optional caption text displayed under the block (up to 2,000 characters) |
Its name in the MCP Registry is io.github.shoubhiksaha/notion-large-file-upload.
git clone https://github.com/shoubhiksaha/notion-multipart-uploader.git
cd notion-multipart-uploader
npm install # one install for the library and the server (npm workspace)
npm run test:mcp # builds the library and runs the server's tests against it
NOTION_KEY="secret_..." NOTION_UPLOAD_ALLOWED_DIRS="$PWD" npm start -w mcp-server
The server is linked to the library in this checkout, so a change to the library is picked up as soon as it's built. The tests start the server over stdio with a fake Notion API, so they don't need a token or network access. See CONTRIBUTING.md for the release process.
MIT © Shoubhik Saha
Trending hip-hop artist momentum scores across four cultural dimensions.
PApaperclipai/paperclip119k1,966 new stars in the last 7 days
One MCP URL for Gmail, Slack, GitHub, Notion and 700+ more apps, with your rules on every change.
COcorsairdev/corsair16k
Search Gmail and Outlook, save drafts, manage email rules, and view email stats.
ELelie222/inbox-zero13k64 new stars in the last 7 days
Official MCP server for Kaneo: manage tasks, projects, and labels from Claude and other MCP clients
USusekaneo/kaneo9.9k51 new stars in the last 7 days
Generate QR codes for URLs, PIX, Wi-Fi, vCards, WhatsApp and more. For AI agents.
MOmodelcontextprotocol/registry7.5k24 new stars in the last 7 days