← 返回 MCP
生产力

Notion

官方 Notion MCP 服务器,通过 OAuth 认证查询页面、数据库和块。

作者:Notion仓库 →来源 →
安装npx -y @notionhq/notion-mcp-server
Notion MCP 服务器是官方集成,让 LLM 读取和搜索您的 Notion 工作区。查询页面、数据库和块,为代理提供访问规格、文档和项目计划的能力。 ## 功能 - 搜索整个 Notion 工作区 - 使用过滤器和排序查询数据库 - 读取页面和子块 - 获取页面属性和元数据 - 基于 OAuth 的身份验证(无需管理 API 令牌) ## 用法 ```json { "mcpServers": { "notion": { "command": "npx", "args": ["-y", "@notionhq/notion-mcp-server"], "env": { "OPENAPI_MCP_HEADERS": "{\"Authorization\":\"Bearer ntn_YOUR_TOKEN\",\"Notion-Version\":\"2022-06-28\"}" } } } } ``` ## 设置 1. 在 notion.so/my-integrations 创建 Notion 集成 2. 将要访问的页面/数据库共享给集成 3. 在配置中使用内部集成令牌