azure-onenote-mcp-server
9
The OneNote MCP Server is a Model Context Protocol implementation that facilitates the interaction of AI language models with Microsoft OneNote through a standardized interface, offering comprehensive notebook, section, and page management capabilities.
OneNote MCP Server
A Model Context Protocol (MCP) server implementation for Microsoft OneNote, enabling AI language models to interact with OneNote through a standardized interface.
Features
Notebook Management
- List all notebooks
- Create new notebooks
- Get notebook details
- Delete notebooks
Section Management
- List sections in a notebook
- Create new sections
- Get section details
- Delete sections
Page Management
- List pages in a section
- Create new pages with HTML content
- Read page content
- Update page content
- Delete pages
- Search pages across notebooks
Installation
Installing from npm
The package is available on the npm registry. Install using:
npm install -g mcp-server-onenote
Running the Package
Run the package using: mcp-server-onenote
Or with npx: npx mcp-server-onenote
Configuration
Set environment variables:
- AZURE_TENANT_ID
- AZURE_CLIENT_ID
- AZURE_CLIENT_SECRET
Azure App Registration
- Go to Azure Portal and navigate to App registrations
- Create a new registration
- Add Microsoft Graph API permissions
- Create a client secret
- Copy tenant ID, client ID, and client secret for configuration
Development
- Install dependencies: npm install
- Run tests: npm test
- Build: npm run build
- Lint: npm run lint
- Run locally: npm start
License
This project is licensed under the MIT License.