Skip to main content
Glama

@orbit-logistics/notion-mcp-server

MCP 服务器将整个 Notion API SDK 镜像为工具集合,使大型语言模型 (LLM) 能够与 Notion 无缝交互。

概述

@orbit-logistics/notion-mcp-server 基于模型上下文协议 (MCP) 构建,并将完整的 Notion API 公开为 LLM 可使用的工具。这允许直接通过自然语言指令执行读取、创建、更新和删除 Notion 页面等操作。

Related MCP server: Notion MCP Server

Notion 集成设置

在将此服务器与 Cursor 或 Claude Desktop 一起使用之前,您必须创建 Notion 集成并授予其访问您页面的权限。请按照 Notion 文档中的说明创建集成并添加必要的权限:

Notion 集成入门

用法

与游标一起使用

要将 @orbit-logistics/notion-mcp-server 与 Cursor 集成,请按照以下步骤操作:

  1. 打开光标设置。

  2. 导航到“功能”并向下滚动到“MCP 服务器”。

  3. 点击“添加新的 MCP 服务器”。

  4. 输入您选择的名称并选择“命令”作为类型。

  5. 在命令字段中,输入以下内容(将<notion_integration_token>替换为您的实际令牌):

npx -y @orbit-logistics/notion-mcp-server -t <notion_integration_token>

此命令将使用您的 Notion 集成令牌启动服务器。Cursor 将使用此 MCP 服务器访问 Notion 的 API 工具。

与 Claude Desktop 一起使用

对于 Claude Desktop,MCP 服务器配置存储在 JSON 配置文件中。将以下条目添加到您的claude_desktop_config.json文件中(将<notion_integration_token>替换为您的实际 token):

{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-sequential-thinking-test",
        "-t",
        "<notion_integration_token>"
      ]
    }
  }
}

此配置允许 Claude Desktop 调用 notion MCP 服务器与 Notion 进行交互。

执照

该项目已获得 MIT 许可。

贡献

欢迎贡献代码!欢迎随时创建 issue 或提交 pull request,提出您的建议和改进。

Related MCP Connectors

Related MCP Servers