Skip to main content
Glama

MCP Notion Upload Server

by goonoo

upload_file_to_notion

Upload files to Notion via API, supporting custom filenames and authentication. Returns file upload ID for further integration with Notion pages.

Instructions

Upload a file to Notion using the Notion API. Args: file_path: Path to the file to upload notion_token: Notion API token for authentication (optional if NOTION_API_TOKEN env var is set) file_name: Optional custom filename (defaults to original filename) Returns: The file upload ID from Notion (use upload_and_attach_file_to_page for URL) Raises: Exception: If file doesn't exist, exceeds size limit, or API call fails

Input Schema

NameRequiredDescriptionDefault
file_nameNo
file_pathYes
notion_tokenNo

Input Schema (JSON Schema)

{ "properties": { "file_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "File Name" }, "file_path": { "title": "File Path", "type": "string" }, "notion_token": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Notion Token" } }, "required": [ "file_path" ], "type": "object" }

Other Tools from MCP Notion Upload Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/goonoo/mcp_notion_upload'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server