Notion Public Integration

Connect Your AI Agent
to Notion

Agent Labbook is the Notion connection layer for Codex, Claude Code, and other MCP clients. One command to authenticate, per-project scoping for the pages and databases your agent needs, and secure credential reuse across every project.

OpenAI Codex Claude Code Any MCP Client Per-Project Scoping Open Source
Notion 公共集成

把 Notion 页面
接入你的 AI 助手

Agent Labbook 是面向 Codex、Claude Code 及所有 MCP 客户端的 Notion 连接层。一条命令完成授权,按项目绑定所需的页面和数据库,凭证安全复用,项目之间互不干扰。

OpenAI Codex Claude Code 所有 MCP 客户端 按项目隔离 开源
Notion 公開整合

把 Notion 頁面
接入你的 AI 助手

Agent Labbook 是為 Codex、Claude Code 及所有 MCP 用戶端打造的 Notion 連線層。一行指令完成授權,依專案綁定所需的頁面與資料庫,憑證安全重複使用,專案之間互不干擾。

OpenAI Codex Claude Code 所有 MCP 用戶端 依專案隔離 開源

How It Works

Three steps to get your Notion pages into your agent

1

Install

Add Agent Labbook to your MCP client with a single command. Works with Codex, Claude Code, or any MCP-capable tool.

2

Authorize

The agent opens a Notion OAuth consent page. Sign in, choose which pages and databases to share, and approve. Credentials are stored securely in 1Password or your system keyring.

3

Build

Your agent gets direct access to the official Notion API with proper tokens and bound resource IDs. Read docs, write pages, query databases - whatever the project needs.

工作流程

三步搞定,Notion 页面直达你的 AI 助手

1

安装

一条命令把 Agent Labbook 添加到 MCP 客户端。支持 Codex、Claude Code 及任何兼容 MCP 的工具。

2

授权

AI 助手会打开 Notion OAuth 授权页面。登录后勾选要共享的页面和数据库,点击同意即可。凭证安全存储在 1Password 或系统钥匙串中。

3

开发

AI 助手获得 Notion 官方 API 的直接访问权限,持有合法 Token 和已绑定的资源 ID。读文档、写页面、查数据库,项目需要什么就做什么。

運作方式

三個步驟,把 Notion 頁面送進你的 AI 助手

1

安裝

一行指令將 Agent Labbook 加入 MCP 用戶端。支援 Codex、Claude Code 及任何相容 MCP 的工具。

2

授權

AI 助手會開啟 Notion OAuth 授權頁面。登入後勾選要分享的頁面與資料庫,按下同意即完成。憑證安全儲存於 1Password 或系統鑰匙圈中。

3

開發

AI 助手取得 Notion 官方 API 的直接存取權限,持有合法 Token 與已綁定的資源 ID。讀文件、寫頁面、查資料庫,專案需要什麼就做什麼。

Features

Auth infrastructure, not an API bottleneck

Per-Project Scoping

Each project binds only the Notion pages and databases it needs. Subtree scope covers an entire page tree with one selection. No accidental cross-project data access.

Credential Reuse

Authorize Notion once on a machine, then attach that credential to any new project without re-running OAuth. Tokens live in 1Password or your system keyring, never in project files.

Works Everywhere

Local machines with a browser, SSH sessions, headless CI - the system detects the environment and switches between browser-based and headless auth automatically.

Secure by Design

Tokens never touch project files or git. Handoff bundles are cryptographically signed. The hosted backend processes tokens in memory only and never persists them.

MCP-Native

14 tools, 3 resources, 2 prompts - all with structured output schemas. Works out of the box with any MCP-capable client. Your agent drives the entire flow programmatically.

Self-Hostable

Everything can run on your own Cloudflare account with custom domain routes. Full control over the backend, zero dependency on third-party infrastructure.

功能特性

认证基础设施,而非 API 瓶颈

按项目隔离

每个项目只绑定它需要的 Notion 页面和数据库。子树范围一次选中即可覆盖整棵页面树,杜绝跨项目的意外数据访问。

凭证复用

同一台机器只需授权一次 Notion,新项目直接复用已有凭证,无需重走 OAuth。Token 存储在 1Password 或系统钥匙串中,绝不出现在项目文件里。

随处可用

本地有浏览器的机器、SSH 远程会话、无头 CI,系统自动检测运行环境,在浏览器授权和无头授权之间智能切换。

安全为先

Token 绝不触碰项目文件或 Git。交接包经过加密签名。托管后端仅在内存中处理 Token,从不落盘。

MCP 原生

提供 14 个工具、3 个资源、2 个提示词,全部带结构化输出 Schema。开箱即用,任何 MCP 客户端均可接入。AI 助手以编程方式驱动全部流程。

可自部署

所有组件都可部署在你自己的 Cloudflare 账号上,支持自定义域名路由。完全掌控后端,零依赖第三方基础设施。

功能特色

認證基礎建設,而非 API 瓶頸

依專案隔離

每個專案只綁定所需的 Notion 頁面與資料庫。子樹範圍一次勾選即可涵蓋整棵頁面樹,杜絕跨專案的意外資料存取。

憑證重複使用

同一台機器只需授權一次 Notion,新專案直接沿用既有憑證,無需重跑 OAuth。Token 儲存在 1Password 或系統鑰匙圈中,絕不會出現在專案檔案裡。

隨處可用

本機有瀏覽器、SSH 遠端連線、無頭 CI,系統自動偵測執行環境,在瀏覽器授權與無頭授權之間智慧切換。

安全至上

Token 絕不碰觸專案檔案或 Git。交接包經過加密簽章。託管後端僅在記憶體中處理 Token,從不寫入磁碟。

MCP 原生

提供 14 個工具、3 個資源、2 個提示詞,全部附帶結構化輸出 Schema。開箱即用,任何 MCP 用戶端皆可接入。AI 助手以程式驅動完整流程。

可自行部署

所有元件皆可部署至你自己的 Cloudflare 帳號,支援自訂網域路由。完全掌控後端,零依賴第三方基礎建設。

Quick Start

Add Agent Labbook to your MCP client, then let the agent handle the rest.

# OpenAI Codex
codex mcp add labbook -- uvx agent-labbook mcp
or
# Anthropic Claude Code
claude mcp add --scope project labbook -- uvx agent-labbook mcp

快速开始

把 Agent Labbook 添加到 MCP 客户端,剩下的交给 AI 助手。

# OpenAI Codex
codex mcp add labbook -- uvx agent-labbook mcp
或者
# Anthropic Claude Code
claude mcp add --scope project labbook -- uvx agent-labbook mcp

快速開始

將 Agent Labbook 加入 MCP 用戶端,其餘交給 AI 助手搞定。

# OpenAI Codex
codex mcp add labbook -- uvx agent-labbook mcp
或者
# Anthropic Claude Code
claude mcp add --scope project labbook -- uvx agent-labbook mcp
View on GitHub →
在 GitHub 上查看 →
在 GitHub 上查看 →