
Better Notion Mcp
io.github.n24q02m由 GitHub 帳號 n24q02m 發布v2.42.0更新於 Oct 29, 2026
Markdown-first Notion for AI agents -- pages, databases, blocks, and comments in one call.
發布方自己的服務:Notion
概覽
以 Markdown 為先的 Notion 伺服器,讓助理一次呼叫就能建立、讀取、更新與整理頁面、資料庫、區塊、留言和檔案上傳。
- 可以做什麼
- 建立、讀取、更新、移動、封存、還原與複製頁面
- 查詢與管理資料庫,包括其中的頁面與資料來源
- 讀取、附加、更新與刪除區塊內容
- 列出使用者與工作區資訊,並在工作區內搜尋
- 列出並建立頁面留言
- 在 Markdown 與 Notion 區塊之間轉換,並以單次或分段方式上傳檔案
- 適用情境
- 適合需要讓助理以可讀的 Markdown 而非原始 JSON 區塊操作 Notion 工作區的情境,例如草擬或重整頁面、查詢資料庫、新增留言與附件。
- 執行需求
- 透過 npx(需 Node.js 24 以上)或已發佈的 Docker 映像在本機以 stdio 執行。需要 Notion 整合權杖,放在 NOTION_TOKEN 中,並在 Notion 整合設定中建立;該整合還須共用給目標頁面。可選的自架 HTTP 模式使用 bearer 權杖驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Better Notion Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
notion
mcp-name: io.github.n24q02m/better-notion-mcp
Markdown-first Notion for AI agents -- pages, databases, blocks, and comments in one call.
[Mode] [CI] [codecov] [npm] [Docker] [License: Apache-2.0]
[TypeScript] [Node.js] [Notion] [semantic-release] [Renovate]
Sister projects from n24q02m (click to expand)
Table of contents
- Features
- Install
- CLI
- Remote (HTTP mode)
- Smithery
- Status
- Documentation
- Tools
- Configuration
- Comparison
- Security
- Build from Source
- Trust Model
- License
Features
- Markdown in, Markdown out -- human-readable content instead of raw JSON blocks
- 8 composite tools, 39 actions -- one call instead of chaining 2+ atomic Notion endpoints (plus
configandhelp) - Auto-pagination and bulk operations -- no manual cursor handling or looping
- Tiered token optimization -- ~77% reduction via compressed descriptions + on-demand
helptool - Dual transport -- local stdio (integration token) or remote HTTP (per-user or shared bearer token)
Install
Run with npx (Node.js >= 24) and a Notion integration token from https://www.notion.so/my-integrations (starts with ntn_):
The package is @n24q02m/notion (formerly @n24q02m/better-notion-mcp;
old package receives one final release then freezes). The MCP Registry id stays
io.github.n24q02m/better-notion-mcp, and the legacy better-notion-mcp
command is kept as an alias of notion.
Or run the published Docker image (stdio):
Install matrix
Full per-client walkthroughs: docs.n24q02m.com/servers/notion/setup/. See the Documentation section for per-client setup (Claude Code, Codex, Gemini CLI, Cursor, Windsurf) and HTTP mode.
CLI
Installing the package exposes a notion binary (plus the legacy better-notion-mcp alias; run it with npx or after a global install). With no arguments it starts the MCP server and speaks the protocol over stdin/stdout, so it is normally launched by an MCP client rather than by hand. Subcommands: auth stores the Notion integration token; config, status, logout, doctor, and token come from the shared hull CLI.
See Configuration for the full environment-variable reference.
Remote (HTTP mode)
Deployed with the HTTP transport, the server is a remote endpoint gated by bearer-token auth -- no integration token in the server config. Point an MCP client that supports remote HTTP servers at the host you deployed it on:
In multi mode (default) each user is listed in the users file (MCP_USERS_FILE, default ~/.hull/users.toml) and gets their own token and credential namespace. In token mode every client shares one token whose scrypt hash is set in MCP_AUTH_TOKEN_HASH. To stand up such an instance, see Self-Hosting (Remote Mode).
Smithery
The repo ships a smithery.yaml config for Smithery. Smithery launches the server over stdio (npx -y @n24q02m/notion) and requires no install-time config -- provide your Notion credentials at runtime through NOTION_TOKEN or the config tool (see Configuration).
Status
2026-05-02 -- Architecture stabilization update
Past months saw significant churn around credential handling and the daemon-bridge auto-spawn pattern. This caused multi-process races, browser tab spam, and inconsistent setup UX across plugins. The architecture is now stable: 2 clean modes (stdio + HTTP), no daemon-bridge layer, no auto-spawn from stdio.
Apologies for the instability period. If you encountered issues with prior versions, please update to the latest release and follow the current Setup guide -- most prior workarounds are no longer needed.
Related plugins from the same author:
- wet -- Web search + content extraction
- mnemo -- Persistent AI memory
- imagine-mcp -- Image/video understanding + generation
- email -- Email management
- telegram -- Telegram
- better-godot-mcp -- Godot Engine
- crg -- Code review knowledge graph
All plugins share the same architecture -- install once, learn pattern transfers.
Documentation
Full docs at docs.n24q02m.com/servers/notion/:
- Setup -- install methods for Claude Code, Codex, Gemini CLI, Cursor, Windsurf, mcp.json
Install with AI agent -- paste this to your AI coding agent:
Install MCP server
notionfollowing the steps at https://raw.githubusercontent.com/n24q02m/claude-plugins/main/plugins/better-notion-mcp/setup-with-agent.md
Tools
Eight composite Notion tools (39 actions) plus two infrastructure tools (config, help):
MCP Resources
Configuration
Self-Hosting (Remote Mode)
Run the HTTP server on your own host and choose an auth mode with MCP_AUTH_MODE:
multi(default): list each user inMCP_USERS_FILE; each user's Notion token is stored in their own namespace (~/.better-notion/subs/<ns>/config.json).token: one shared bearer token. Mint the hash withtoken hashand pass it asMCP_AUTH_TOKEN_HASH.no-auth: no bearer check. Use only on a trusted local network.
Docker Compose (loopback)
docker-compose.http.yml builds the http image target and publishes it on the host loopback interface only (127.0.0.1:8081), so the server is never reachable from other machines directly:
The server listens on http://localhost:8081/mcp. To expose it, put your own TLS reverse proxy in front of the loopback port.
Release images are published multi-arch (amd64 + arm64) to Docker Hub (n24q02m/notion) and GHCR (ghcr.io/n24q02m/notion). There is no n24q02m-hosted HTTP endpoint.
Comparison
How notion stacks up against direct competitors in each pillar:
Security
- Bearer token auth -- per-user tokens (
multi) or one scrypt-hashed shared token (token) - Rate limiting -- 120 req/min/IP on HTTP transport
- Session owner binding -- IP check + TTL for pending token binds
- Null safety -- Handles Notion API quirks (comments.list 404, undefined rich_text)
Build from Source
Trust Model
Credentials are never sent to n24q02m: there is no hosted endpoint.
License
Apache-2.0 -- See LICENSE.
來源:README.md,提交 a8bcdf3
工具
0版本歷史
2- v2.42.0最新Oct 29, 2026
- v2.41.6Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Notion 整合
Notion
com.notion官方發布者
Notion 的託管 MCP 服務,由 notion.com 發布;需要憑證;Streamable HTTP。

Notion Large File Upload
由 GitHub 帳號 shoubhiksaha 發布
本機 MCP 伺服器,將磁碟上的大型檔案(最大 5 GB)上傳到 Notion 並附加為頁面上的區塊。
Notion
com.foreverworks
本機 MCP 伺服器,讓助理搜尋、讀取與寫入多個 Notion 工作區,頁面以 Markdown 呈現,資料庫可依型別查詢。

Notion MCP by InsightfulPipe
com.insightfulpipe
託管的 Notion MCP 伺服器,讓 AI 助理搜尋、讀取 Notion 頁面、資料庫、資料來源與區塊,並在具備寫入權限時建立或更新內容。

Notion Arena
由 GitHub 帳號 imgul 發布
Notion Arena 元件登錄表的本機 MCP 伺服器,讓助理搜尋、檢視並規劃安裝 Notion 小工具與原生配方。