
purpleslurple/onenote-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
purpleslurple/onenote-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/purpleslurple/onenote-mcp-server.
Обзор
purpleslurple/onenote-mcp-server - кандидат на сервер MCP, импортированный из https://github.com/purpleslurple/onenote-mcp-server.
Обзор (машинный перевод)
Полный, надежный сервер Model Context Protocol (MCP) для интеграции Microsoft OneNote с Claude Desktop. Доступ ко всей базе знаний OneNote с помощью запросов на естественном языке.
###Что это такое
Преобразуйте свои записные книжки OneNote в базу знаний, доступную для ИИ: ** Перечислите все свои блокноты, разделы и страницы** ** Читать содержимое страницы ** для анализа и поиска Природные языковые запросы, такие как «Покажите мне мои заметки DevOps» или «Найти страницы о планировании проекта» Безопасная аутентификация OAuth с помощью Microsoft Graph API Пуленепробиваемая обработка ошибок с детальной отладкой
###Почему это происходит
В отличие от других MCP-серверов OneNote: На самом деле работает ** - тестируется с реальными данными OneNote ** Полная функциональность - все основные операции OneNote реализованы
- Сильная аутентификация - двухступенчатый поток устройств, который обрабатывает крайние случаи Производство готово - надлежащая обработка ошибок и регистрация ** Легкая настройка** - подробные инструкции для нетехнических пользователей
Быстрый старт
Предпосылки
Python 3.10+
- менеджер пакетов (рекомендуется) или pip Клод Десктоп Учетная запись Microsoft Azure (бесплатно)
###1.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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:
- Go to Azure Portal (sign in with your Microsoft account)
- Navigate to Azure Active Directory → App registrations → New registration
- 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
- Click Register
- Copy the Application (client) ID - you’ll need this!
4. Add Permissions
Still in your Azure app:
- Go to API permissions → Add a permission
- Select Microsoft Graph → Delegated permissions
- Add these permissions:
Notes.Read- Read OneNote notebooksNotes.ReadWrite- Create/modify OneNote content (optional but recommended)User.Read- Read user profile
- 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
Установка
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"
}
}
}
}