🥁 notion get-started-with-mcp 支持 Chatgpt、Claude和 Cursor

{
  "mcpServers": {
    "Notion": {
      "url": "https://mcp.notion.com/mcp"
    }
  }
}

配置好之后会自动打开浏览器跳转到下面的页面,要求授权
在这里插入图片描述

https://www.notion.so/install-integration?response_type=code
&client_id=xxx
&redirect_uri=https://mcp.notion.com/callback
&state=xxx
&owner=user

回到 MCP client 就可以看到已经授权完成了
在这里插入图片描述
主要是想要感受下 OAuth 和 API Key 两种方式的不同,MCP SDK 也已经封装了 OAuth 的功能,可以尝试开发 AuthServer

Logo

中国智能体开发者社区,聚焦智能体与大模型开发,提供前沿资讯、实用工具链、开源项目及行业案例。通过技术沙龙、开发者大赛等活动,促进经验交流与协作,助力开发者快速构建创新智能应用。

更多推荐