PO

purpleslurple/onenote-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

59 stars 33 forks 品質 60 トレンド 0MIT

purpleslurple/onenote-mcp-serverは[https://github.com/purpleslurple/onenote-mcp-server.からインポートされたMCPサーバーの候補です

概要

purpleslurple/onenote-mcp-serverは[https://github.com/purpleslurple/onenote-mcp-server.からインポートされたMCPサーバーの候補です

概要(AI 翻訳)

マイクロソフトOneNoteの統合のための完全な、強いモデルコンテキスト・プロトコル(MCP)サーバーはClaudeデスクトップと統合します。 自然言語の問い合わせを通してOneNoteの知識基盤全体にアクセスして下さい。

は、これが何をするか

OneNoteのノートブックをAIアクセス可能なナレッジベースに変換: -すべてのノートブック、セクション、ページを一覧表示 -分析と検索のためのページコンテンツを読む -「DevOpsのメモを表示」や「プロジェクト計画に関するページを修正」など、自然言語の質問

  • Microsoft Graph API で OAuth 認証をセキュア -Bulletproofエラー処理 詳細なデバッグ

✨ なぜこの実装

他のOneNote MCPサーバーとは異なり、このサーバーは以下です。

  • ✅実際の作品 - 実質のOneNoteデータと広範囲にテスト
  • ✅ 完全な機能 - 実装されているすべてのコアOneNote操作
  • ✅Robust Authentication - エッジケースを扱う2段階のデバイスフロー
  • ✅生産準備完了 - 適切なエラー処理とロギング
  • ✅Easy setup - 技術的でないユーザーの詳細な指示

すぐにスタート

前提条件

  • Python 3.10 +
  • uvパッケージマネージャ(推奨)またはピップ
  • クロードデスクトップ
  • Microsoft Azureアカウント(無料)

##1.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

OneNote MCP Server

A complete, robust Model Context Protocol (MCP) server for Microsoft OneNote integration with Claude Desktop. Access your entire OneNote knowledge base through natural language queries.

🎯 What This Does

Transform your OneNote notebooks into an AI-accessible knowledge base:

  • List all your notebooks, sections, and pages
  • Read page content for analysis and search
  • Natural language queries like “Show me my DevOps notes” or “Find pages about project planning”
  • Secure OAuth authentication with Microsoft Graph API
  • Bulletproof error handling with detailed debugging

✨ Why This Implementation

Unlike other OneNote MCP servers, this one:

  • ✅ Actually works - tested extensively with real OneNote data
  • ✅ Complete functionality - all core OneNote operations implemented
  • ✅ Robust authentication - two-step device flow that handles edge cases
  • ✅ Production ready - proper error handling and logging
  • ✅ Easy setup - detailed instructions for non-technical users

🚀 Quick Start

Prerequisites

  • Python 3.10+
  • uv package manager (recommended) or pip
  • Claude Desktop
  • Microsoft Azure account (free)

1. Install uv (if you don’t have it)

# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# or with Homebrew
brew install uv

2. Clone and Setup

git clone https://github.com/yourusername/onenote-mcp-server.git
cd onenote-mcp-server

# Create virtual environment and install dependencies
uv sync

3. Azure App Registration

You need to create an Azure app to access OneNote. Don’t worry, it’s free and takes 5 minutes:

  1. Go to Azure Portal (sign in with your Microsoft account)
  2. Navigate to Azure Active Directory → App registrations → New registration
  3. Fill out the form:
    • Name: “OneNote MCP Server” (or whatever you like)
    • Supported account types: “Accounts in any organizational directory and personal Microsoft accounts”
    • Redirect URI: Select “Public client/native” and enter: https://login.microsoftonline.com/common/oauth2/nativeclient
  4. Click Register
  5. Copy the Application (client) ID - you’ll need this!

4. Add Permissions

Still in your Azure app:

  1. Go to API permissions → Add a permission
  2. Select Microsoft Graph → Delegated permissions
  3. Add these permissions:
    • Notes.Read - Read OneNote notebooks
    • Notes.ReadWrite - Create/modify OneNote content (optional but recommended)
    • User.Read - Read user profile
  4. Click Grant admin consent (the button at the top)

5. Configure Claude Desktop

Edit your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\\Claude\\claude_desktop_config.json

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "onenote": { "command": "uv", "args": [ "--directory", "/FULL/PATH/TO/onenote-mcp-server", "run", "python", "onenote_mcp_server.py" ], "env": { "AZURE_CLIENT_ID": "your-azure-client-id-here" } } } }