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:
- Create a Notion internal integration for each workspace, obtain the Internal Integration Secret, and save it to a separate token file (permissions 0600).
- In Notion, share the top-level pages that need to be accessed with the integration (integrations cannot see any content by default).
- 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.
- A running instance can be shared among multiple clients via HTTP (see docs/deploying.md).
- 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.