OneNote MCP 服务器
一个 MCP(模型上下文协议)服务器,用于使用浏览器自动化功能浏览 OneNote Web 应用并与之交互。该服务器支持 AI 助手和其他兼容 MCP 的客户端以编程方式浏览并通过 Web 链接共享的 OneNote 笔记本并与之交互。
特征
浏览 OneNote 的层次结构(笔记本、部分、页面)
从 OneNote 读取页面内容
向现有页面添加新内容
创建新页面
在 OneNote 中搜索
截取当前视图的屏幕截图
在整个会话中保持状态
要求
Python 3.10 或更高版本
browser-use 0.1.40 或更高版本
MCP SDK 1.2.0 或更高版本
剧作家
互联网连接
共享的 OneNote 笔记本 URL(必须无需身份验证即可访问)
安装
用法
独立模式
您可以使用以下方式直接运行服务器:
与 Claude Desktop 或其他 MCP 主机集成
通过编辑配置文件配置您的 Claude Desktop 以使用 OneNote MCP 服务器:
启动 Claude Desktop,它将自动启动 OneNote MCP 服务器
使用与 Claude 聊天时可用的工具:
可用工具
launch_onenote(shared_url):使用共享笔记本 URL 启动 OneNote Web 应用程序get_all_notebooks():列出所有可用的笔记本get_all_sections():列出当前笔记本中的所有部分get_all_pages():列出当前部分的所有页面navigate_to_notebook_by_name(notebook_name):转到特定笔记本navigate_to_section_by_name(section_name):转到特定部分navigate_to_page_by_name(page_name):转到特定页面get_current_page_content():获取当前页面的内容add_content_to_page(content):将内容添加到当前页面create_new_page_with_name(page_name):创建新页面search_in_onenote(search_term):在 OneNote 中搜索特定术语take_screenshot():截取当前视图的屏幕截图get_onenote_state():获取当前状态信息close_onenote():关闭 OneNote 会话并清理资源
工作原理
该 MCP 服务器使用浏览器自动化框架 browser-use 与 OneNote Web 界面进行交互。它在兼容 MCP 的 AI 助手和 OneNote Web 应用程序之间架起了一座桥梁,从而实现了对 OneNote 功能的编程控制。
限制
仅适用于通过公共链接共享的 OneNote 笔记本(无需身份验证)
如果 OneNote Web 界面发生变化,服务器可能需要调整
浏览器自动化可能有些脆弱,并且依赖于 UI 结构
性能可能因网络条件和 OneNote 的响应能力而异
故障排除
如果服务器无法连接到 OneNote,请确保无需登录即可访问共享链接
如果选择器失败,OneNote UI 可能已更改 - 检查服务器代码
对于其他问题,请检查服务器日志以获取错误详细信息
执照
麻省理工学院
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.
MCP 服务器使 AI 助手能够通过浏览器自动化以编程方式浏览并通过网络链接共享的 OneNote 笔记本并进行交互。
Related MCP Servers
- Asecurity-licenseAqualityA simple note-taking MCP server for recording and managing notes with AI models.Last updated -41027GPL 2.0
- -security-license-qualityAn MCP server that enables AI assistants to control a web browser through natural language commands, allowing them to navigate websites and extract information via SSE transport.Last updated -765MIT License
- Asecurity-licenseAqualityAn MCP server implementation that integrates with SiYuan Note system, enabling AI models to access and manipulate note data through comprehensive commands for notebook management, document operations, and content manipulation.Last updated -3941ISC License
- -security-license-qualityA MCP server that allows AI assistants to interact with the browser, including getting page content as markdown, modifying page styles, and searching browser history.Last updated -82