modelscope·@ccabanillas/notion-mcp
一种模型上下文协议服务器,它为与Notion的API交互提供了标准化接口,使用户能够列出数据库、创建页面并在其Notion工作区中进行搜索。
一个用于 Notion 集成的模型上下文协议 (MCP) 服务器实现,提供与 Notion API 交互的标准接口。兼容 Claude Desktop 和其他 MCP 客户端。
git clone https://github.com/ccabanillas/notion-mcp.git
cd notion-mcp
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .
或者,使用标准 venv:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e .
.env 文件:NOTION_API_KEY=your_notion_integration_token
python -m notion_mcp
claude_desktop_config.json 文件(在 macOS 上位于 ~/Library/Application Support/Claude/claude_desktop_config.json):{
"servers": {
"notion-mcp": {
"command": "/Users/username/Projects/notion-mcp/.venv/bin/python",
"args": ["-m", "notion_mcp"],
"cwd": "/Users/username/Projects/notion-mcp"
}
}
}
请确保将 /Users/username/ 替换为您实际的主目录路径。
notion-mcp/
├── src/
│ └── notion_mcp/
│ ├── models/
│ │ ├── __init__.py
│ │ └── notion.py # Pydantic models for Notion objects
│ ├── __init__.py
│ ├── __main__.py # Entry point
│ ├── client.py # Notion API client
│ └── server.py # MCP server implementation
├── .env # Environment variables (add your Notion API key here)
├── .gitignore
├── pyproject.toml # Project dependencies
└── README.md
pytest
服务器需要一个 Notion 集成令牌。要设置此令牌:
.env 文件中:NOTION_API_KEY=your_notion_integration_token
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)MIT 许可证 - 自行承担风险使用
通过全局和分支特定的记忆库,管理跨 Claude AI 会话的项目文档和上下文的服务器,通过结构化的 JSON 文档存储实现一致的知识管理。
该服务器允许用户通过自定义URI方案存储、管理和总结笔记,具有添加新笔记以及生成详细程度不同的摘要的功能。
一个高性能的MCP服务器,将Notion集成到AI工作流中,通过标准化协议实现与Notion页面、数据库和评论的交互。
用于Notion API的MCP服务器,使Claude能够与Notion工作区进行交互。
通过简单的消息控制协议接口,使人工智能助手能够搜索和访问arXiv研究论文,从而实现论文的搜索、下载、列出和阅读功能。
通过模型上下文协议,启用大型语言模型(LLMs)与Obsidian仓库之间的交互,支持安全的文件操作、内容管理和高级搜索功能。