Notion语控服务器
一个简单的服务器,集成了Claude,允许通过自然语言提示查询和操作Notion页面和数据库。
服务介绍
Notion MCP 服务器
这是一个简单的MCP服务器,允许你查询Notion页面。
安装
git clone https://github.com/arre-ankit/notion-mcp-server.git
cd notion-mcp-server
npm install
运行服务器
npm run build
添加Notion集成
- 访问 https://www.notion.so/my-integrations
- 点击 "新建集成"
- 命名为 "Claude MCP 服务器"
- 对于"页面"选择"读取"和"写入"权限
- 复制"集成令牌"
添加Claude集成
claude_desktop_config.json
{
"mcpServers":
"notion-mcp-server": {
"command": "node",
"args": [
"Copy Path"
],
"env": {
"NOTION_API_TOKEN": "Your Notion Token"
}
}
}
}
如何使用
- 编写一个提示来查询Notion页面。
- 在提示中添加从链接到Notion页面的链接。
- 例如:https://www.notion.so/154916e48026802f97d4df6086787817

提示: 在notion中创建一个新的数据库条目,包含以下内容
2024年观看电影列表
页面链接 https://www.notion.so/154916e48026802f97d4df6086787817
在此页面上添加电影数据集

🤯 哇哦!它将在你的Notion页面上更新!