OneNote MCP 服务器
Microsoft OneNote 的模型上下文协议 (MCP) 服务器实现,使 AI 语言模型能够通过标准化接口与 OneNote 交互。
特征
笔记本管理
- 列出所有笔记本
- 创建新笔记本
- 获取笔记本详细信息
- 删除笔记本
部门管理
- 列出笔记本中的部分
- 创建新部分
- 获取部分详细信息
- 删除部分
页面管理
- 列出部分中的页面
- 使用 HTML 内容创建新页面
- 阅读页面内容
- 更新页面内容
- 删除页面
- 跨笔记本搜索页面
安装
从 npm 安装(推荐)
截至 2025 年 4 月 27 日,该软件包现已在 npm 注册表中可用。
运行包
安装后,您可以使用以下命令运行该包:
或者使用 npx:
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 OneNote Server:
从 GitHub 安装
配置
设置以下环境变量:
AZURE_TENANT_ID
:您的 Azure 租户 IDAZURE_CLIENT_ID
:您的 Azure 应用程序(客户端)IDAZURE_CLIENT_SECRET
:您的 Azure 客户端机密
与 MCP 客户端一起使用
将其添加到您的 MCP 客户端配置(例如 Claude Desktop):
Azure 应用注册
- 转到 Azure 门户并导航至应用程序注册
- 创建新注册
- 添加 Microsoft Graph API 权限:
- Notes.ReadWrite.All
- 注释.已读.全部
- 创建客户端机密
- 复制租户 ID、客户端 ID 和客户端密钥以进行配置
发展
贡献
有关对此存储库做出贡献的信息,请参阅CONTRIBUTING.md 。
执照
该项目采用 MIT 许可证 - 有关详细信息,请参阅LICENSE文件
变更日志
0.1.0 (2025-04-27)
- 初始版本
- OneNote 笔记本、分区和页面管理的核心功能
- 发布到 npm 注册表
0.1.1 (2025-04-27)
- 将可执行文件 bin 添加到 package.json
- 修复了 npx 命令无法确定要运行的可执行文件的问题
- 更新了 README 文件,其中包含清晰的运行说明
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
使AI语言模型能够通过标准化接口与Microsoft OneNote进行交互,支持通过自然语言进行笔记本和页面管理。
Related Resources
Related MCP Servers
- -securityFlicense-qualityEnables AI assistants to interact with Metabase, providing access to dashboards, questions, databases, and tools for executing queries and viewing data through natural language.Last updated 4 months agoJavaScript
- -securityFlicense-qualityAn MCP server that enables AI assistants to programmatically browse and interact with OneNote notebooks shared via web links through browser automation.Last updated 4 months agoJavaScript
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to create, read, edit, and format Microsoft Word documents through standardized tools and resources.Last updated a month ago16259PythonMIT License
- -securityAlicense-qualityA server that enables AI assistants to access and manipulate Joplin notes through the Model Context Protocol, allowing search, reading, editing, and management of notes using natural language.Last updated 5 months ago2PythonMIT License