Back to MCP directory
publicPublicdnsLocal runtime

orbit-logistics_notion-mcp-server

一个基于MCP协议的Notion API服务端,将Notion SDK功能转化为工具集,使大语言模型能够通过自然语言指令直接操作Notion内容。

article

README

🚀 @orbit-logistics/notion-mcp-server

这是一个基于MCP协议的服务器,它完整复刻了Notion API SDK的功能,能让大型语言模型(LLMs)与Notion实现无缝交互,为开发者提供了便捷的操作体验。

🚀 快速开始

在使用此服务器与Cursor或Claude Desktop之前,必须先创建一个Notion集成,并授予其访问您页面的权限。请按照Notion文档中的指示完成操作: 开始创建Notion集成

✨ 主要特性

  • 基于模型上下文协议(Model Context Protocol, MCP),将完整的Notion API功能以工具形式对外开放。
  • 支持大型语言模型(LLMs)通过自然语言指令直接对Notion页面进行读取、创建、更新和删除操作。

📦 安装指南

与Cursor一起使用

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

  1. 打开Cursor设置。
  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> 替换为您实际的令牌):

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

此配置允许Claude Desktop调用Notion的MCP服务器,以实现与Notion的交互。

📄 许可证

本项目采用MIT许可证。

🤝 贡献指南

欢迎任何贡献!请随时提出问题或提交拉取请求,分享您的建议和改进。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client