SuperAPIAI Directory

foreverworks/mcp-notion

github.com · AI developer platforms

foreverworks/mcp-notion is a Notion server based on the MCP protocol that allows AI assistants to simultaneously search, read, and write to multiple Notion workspaces through a headless server. It supports reading and writing pages as Markdown, database queries and counts, saved views, people, comments, and file operations, and can create pages, rows, columns, and databases, edit properties and body content, upload files, and move pages to the trash (recoverable within 30 days). Each workspace requires a separately configured Notion integration token, and top-level pages must be shared with the integration. This tool is suitable for scenarios requiring automated operations across multiple Notion workspaces, but note the upload file size limits (5 MiB on the free plan, 20 MiB otherwise) and that some operations (such as renaming or deleting columns) are not supported.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

foreverworks/mcp-notion is an MCP (Model Context Protocol) server designed to let AI assistants operate multiple Notion workspaces simultaneously through a single unified server instance. It is implemented on top of the REST API and supports searching, reading, and writing Notion pages and databases, presenting page content in Markdown format.

Main capabilities include:

  • Page operations: create pages, edit properties and body content, move pages to the trash (retained for 30 days, recoverable via restore_page).
  • Database operations: query databases, count by column, create rows, columns, and databases, edit properties.
  • Views and templates: run saved views (query_view), list database templates, and create pages based on templates.
  • Comments and files: add comments, upload files (maximum 20 MiB per file, 5 MiB on the free plan), download files hosted in pages (maximum 50 MiB).
  • People and meeting notes: read people information (the integration must have permission to read user emails), read the summary, notes, and transcript text of AI meeting notes pages.
  • Multi-workspace support: each workspace corresponds to a token file (such as notion-personal, notion-work); the server recognizes all tags at startup, search can cover all workspaces, and the ID or URL of any page or database can automatically locate the workspace it belongs to.

Usage:

  1. Create a Notion internal integration for each workspace, obtain the Internal Integration Secret, and save it to a separate token file (permissions 0600).
  2. In Notion, share the top-level pages that need to be accessed with the integration (integrations cannot see any content by default).
  3. Configure the MCP client (such as Claude Desktop, VS Code, Cursor, etc.), specifying the command node and the full path of the argument servers/notion/dist/index.js via JSON configuration, and set the environment variable NOTION_TOKENS_DIR to point to the token folder.
  4. A running instance can be shared among multiple clients via HTTP (see docs/deploying.md).
  5. Use the health check (--health) to verifyToken validity and page sharing status.

Use cases:

  • AI assistant tasks that need to search, summarize, and edit across multiple Notion workspaces.
  • Automated management of Notion databases (such as task tracking, reading lists, contract management, etc.).
  • Extracting files or meeting notes from Notion pages.
  • Providing a unified Notion access point for multiple clients in a headless server environment.

Limitations and considerations:

  • Each workspace requires a separately configured integration token, and the integration can only access pages that have been shared with it.
  • Renaming or deleting columns is not supported; rollups, unique IDs, and buttons must be created in the Notion app; people columns cannot be written to.
  • Meeting transcripts do not include speaker or timestamp information (API limitation).
  • Pages can only be moved within the same workspace and cannot be moved across workspaces.
  • query_database returns at most 1,000 rows per call (continue via nextCursor), and count_rows counts at most 10,000 rows per call.
  • Uploads are single-part and limited to 20 MiB; downloads are limited to 50 MiB.
  • Files hosted by Notion in file columns cannot be written back directly; use replace: true or upload to the page body instead.
  • The free plan is rate-limited to 180 requests per minute; the server handles this with a token bucket and backoff strategy.
  • Replacing the entire body (replace_content) cannot be undone via the API and should be used with caution.
  • This server uses the REST API rather than Notion-hosted MCP to support multi-workspace scenarios.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools