OneNote MCP Server

by hwillGIT

OneNote MCP サーバー

ブラウザ自動化機能を使用してOneNoteウェブアプリを閲覧および操作するためのMCP(モデルコンテキストプロトコル)サーバー。このサーバーにより、AIアシスタントやその他のMCP対応クライアントは、ウェブリンク経由で共有されたOneNoteノートブックをプログラムで閲覧および操作できるようになります。

特徴

  • OneNote の階層構造 (ノートブック、セクション、ページ) をナビゲートする
  • OneNote からページ コンテンツを読み取る
  • 既存のページに新しいコンテンツを追加する
  • 新しいページを作成する
  • OneNote 内を検索
  • 現在のビューのスクリーンショットを撮る
  • セッション全体で状態を維持する

要件

  • Python 3.10以上
  • ブラウザ0.1.40以上
  • MCP SDK 1.2.0以上
  • 劇作家
  • インターネット接続
  • 共有 OneNote ノートブックの URL (認証なしでアクセスできる必要があります)

インストール

# Clone the repository or create the project structure # Then navigate to the project directory cd onenote-mcp # Install the package and dependencies pip install -e . # Install Playwright browsers playwright install

使用法

スタンドアロンモード

次のコマンドでサーバーを直接実行できます。

python -m onenote_mcp

Claude Desktop または他の MCP ホストとの統合

  1. 構成ファイルを編集して、Claude デスクトップが OneNote MCP サーバーを使用するように構成します。
{ "mcpServers": { "onenote": { "command": "python", "args": ["-m", "onenote_mcp"] } } }
  1. Claude Desktopを起動すると、OneNote MCPサーバーが自動的に起動します。
  2. クロードとのチャットで利用可能なツールを使用します。
Can you help me navigate my OneNote notebook at https://example.com/my-shared-notebook? First, please launch OneNote with this URL and tell me what notebooks are available.

利用可能なツール

  • 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ウェブインターフェースと連携します。MCP対応のAIアシスタントとOneNoteウェブアプリケーションの間にブリッジを作成し、OneNote機能をプログラムで制御できるようにします。

制限事項

  • パブリックリンクで共有された OneNote ノートブックでのみ機能します (認証なし)
  • OneNoteのWebインターフェースが変更された場合、サーバーの調整が必要になる場合があります。
  • ブラウザの自動化はやや脆弱であり、UI構造に依存する可能性がある。
  • パフォーマンスはネットワーク状況とOneNoteの応答性によって異なる場合があります

トラブルシューティング

  • サーバーがOneNoteに接続できない場合は、ログインせずに共有リンクにアクセスできることを確認してください。
  • セレクタが失敗する場合は、OneNote UI が変更されている可能性があります。サーバーコードを確認してください。
  • その他の問題については、サーバーログでエラーの詳細を確認してください。

ライセンス

マサチューセッツ工科大学

-
security - not tested
F
license - not found
-
quality - not tested

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 アシスタントがブラウザー自動化を通じて Web リンク経由で共有された OneNote ノートブックをプログラムで参照および操作できるようにする MCP サーバー。

  1. 特徴
    1. 要件
      1. インストール
        1. 使用法
          1. スタンドアロンモード
          2. Claude Desktop または他の MCP ホストとの統合
        2. 利用可能なツール
          1. 仕組み
            1. 制限事項
              1. トラブルシューティング
                1. ライセンス

                  Related MCP Servers

                  • -
                    security
                    F
                    license
                    -
                    quality
                    Enables AI language models to interact with Microsoft OneNote via a standardized interface, supporting notebook and page management through natural language.
                    Last updated -
                    107
                    6
                    TypeScript
                  • -
                    security
                    A
                    license
                    -
                    quality
                    An 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 -
                    387
                    Python
                    MIT License
                    • Apple
                  • A
                    security
                    A
                    license
                    A
                    quality
                    An 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 -
                    3
                    104
                    1
                    TypeScript
                    ISC License
                    • Linux
                    • Apple
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A 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 -
                    5
                    TypeScript

                  View all related MCP servers

                  ID: n65frsyu80