| FMRS | 62 / 100 · C | 64 / 100 · C |
| Reliability | 10 / 20 | 8 / 20 |
|---|
| Security and permissions | 12 / 20 | 17 / 20 |
|---|
| Maintenance | 11 / 20 | 10 / 20 |
|---|
| Documentation | 15 / 20 | 16 / 20 |
|---|
| Setup experience | 14 / 20 | 13 / 20 |
| Maintainer | Community | Official |
| GitHub Stars | ★ 340 | ★ 4.7k |
| Transport | stdio (local process) · Streamable HTTP | stdio (local process) · Streamable HTTP |
| Runtime | Node.js 20.18.1+ · Docker | Node.js · Docker |
| Credentials | API key / credential required | API key / credential required |
| Access scopes | Uses the networkChanges third-party account dataConnects to a database | Uses the networkChanges third-party account data |
| License / Last commit | MIT · 2 days ago | MIT · 36 days ago |
| Best for | - Users who want to work with AFFiNE Cloud or self-hosted workspace content through an MCP client.
- Individuals or teams that want to control available operations with tool profiles.
| - Teams and individuals who already manage docs/wikis in Notion and want AI clients (Claude Desktop, Cursor, etc.) to operate on that content directly
- Developers who want to self-host a local MCP server rather than use a remote hosted option
- Automation/agent workflows that need to query or update Notion database records programmatically
|
| Not for | - Users who need access to AFFiNE workspaces stored only in the browser.
- Deployments that cannot grant the configured account the necessary workspace permissions or protect a remote HTTP endpoint.
| - Users who want the standard-OAuth, zero-JSON-config install with active official support — Notion recommends its newer remote Notion MCP server for that
- Users uncomfortable handing a Notion integration token to a locally-run LLM client
- Use cases needing capabilities the integration deliberately excludes, such as deleting databases
- Long-term production deployments that need guaranteed maintenance, given this repo may be sunset
|
| Required permissions | - The server uses the configured AFFiNE account's workspace permissions; required access depends on the requested operation.
- AFFiNE Cloud login can use a browser session cookie; self-hosted instances support email and password or a session cookie.
- For unattended deployments, the README recommends a dedicated AFFiNE account with least privilege.
| - A Notion internal integration token (NOTION_TOKEN or the Authorization value in OPENAPI_MCP_HEADERS), scoped by that integration's Capabilities (can be limited to read-only)
- Access limited to the specific pages/databases explicitly connected to the integration, not the whole workspace
- A separate bearer auth token when using the Streamable HTTP transport (--auth-token / AUTH_TOKEN)
- Network access to the Notion API
|
| Risks and side effects | - When write tools are enabled, a client can modify workspace content within the configured account's permissions.
- Hosted HTTP endpoints should use HTTPS and authentication; passwords and session cookies should not be committed to source control.
- Some AFFiNE versions may retain a document body after acknowledging delete_doc; verify contentAbsenceVerified for permanent deletion.
- Selecting protocol 2 rejects MCP writes before they run.
| - If the integration is granted broad read/write capabilities and connected to many pages, that content is effectively exposed to the LLM, risking data leakage or unintended edits
- Running with --unsafe-disable-auth removes bearer authentication on the HTTP transport, potentially making it reachable via DNS rebinding from pages a user visits — the README says to only use it on an isolated network
- Multi-tenant token passthrough requires careful TLS/gateway configuration; misconfiguration risks leaking or misrouting Notion tokens between tenants
- The README states this local server may be sunset in favor of the remote Notion MCP, and that issues/PRs here are not actively monitored, so long-term maintenance and security fixes are not guaranteed
- Storing NOTION_TOKEN or OPENAPI_MCP_HEADERS directly in shared client config files risks leaking the secret
|
| Supported clients | Claude Code, Claude Desktop, Codex, Cursor | Claude Desktop, Cursor, Zed, GitHub Copilot CLI |
| Tools | 0 | 9 |