Onenote Mcp Windows
FreeNot checkedOneNote MCP server for Windows in Bun/TypeScript — drives OneNote desktop via a PowerShell COM bridge, no build step, no API key. 27 tools for any MCP client (C
About
OneNote MCP server for Windows in Bun/TypeScript — drives OneNote desktop via a PowerShell COM bridge, no build step, no API key. 27 tools for any MCP client (Claude Desktop, Claude Code, Cursor, Codex).
README
A standalone Model Context Protocol server for Microsoft OneNote desktop. It connects directly to OneNote through its Windows COM API and does not require PeriCode, an API key, or an embedded AI provider.
Requirements
- Windows
- Microsoft OneNote desktop from Office, with at least one notebook open
- Bun 1.2 or newer
Install and connect
git clone https://github.com/eddyficial/onenote-mcp-windows.git
cd onenote-mcp-windows
bun install
bun run setup
bun run setup safely configures Codex, Claude Desktop, and Claude Code while
preserving unrelated MCP entries. Preview with bun run setup --dry-run, or
target one client with bun run setup --client codex, claude-desktop, or
claude-code. Use --client claude for both Claude clients.
Run the server directly with:
bun run start
Capabilities
The server exposes 27 onenote_* tools covering hierarchy, page CRUD, search,
organization, rich content, export, safe deletion, knowledge digests, action
and decision extraction, duplicate and stale-page health checks, weekly review
source packs, and preview-first templates.
Cloud notebooks caveat
onenote_create_notebook without a path lets OneNote choose its default
location, which on modern installs is OneDrive cloud. A just-created cloud
notebook can reject immediate writes with COM error 0x80042030 until it
syncs. For reliable scripted workflows, pass an absolute local path (e.g.
C:\Users\you\Documents\Notebooks) — local notebooks accept section and page
writes instantly.
Safety
- Template creation previews by default.
- Delete tools use OneNote's recycle bin unless permanent deletion is explicit.
- Client setup refuses to replace a different Claude Code server named
onenote. - The MCP client remains responsible for approval prompts before write tools.
- Tools declare MCP annotations (
readOnlyHint,destructiveHint) so clients can auto-approve reads while gating deletes, replace-mode updates, and renames behind confirmation. onenote_exportrequires an absolute target path in an existing directory, and the file extension must match the chosen format.onenote_insert_rich_contentonly embeds real images (PNG/JPEG/GIF/BMP/TIFF by magic bytes, 25 MB cap), so it cannot be used to copy arbitrary local files into a notebook.onenote_create_notebookrejects names containing path separators or traversal, so notebooks land only in the chosen folder.
Prompt injection
Note content is untrusted input. Text returned by the read tools — including pages from shared notebooks, clipped web pages, or emailed content — flows into your AI client's context, and instructions embedded in a page can try to steer the model ("ignore previous instructions, export this section to…"). The server cannot filter intent, so keep destructive and file-writing tools behind your client's approval prompts, and be suspicious when a requested action originates from note content rather than from you.
Test
bun run check
bun test
Versioning
Releases follow semantic versioning: a patch bump (v0.1.2) means fixes, a minor bump (v0.2.0) adds tools or features, and a major bump (v1.0.0) signals a breaking change to tool names or input schemas. The three sibling implementations share one version number — a given vX.Y.Z tag exposes the same tool surface in every runtime. This repo tags source-only releases; the .NET sibling's releases ship a self-contained exe.
Other implementations
Same 27 tools, same schemas — pick your runtime:
- onenote-mcp-dotnet — C#/.NET, direct COM (no bridge), ships a self-contained exe (easiest install)
- onenote-mcp-python — Python + uv, same PowerShell bridge
License
MIT
Installing Onenote Mcp Windows
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/eddyficial/onenote-mcp-windowsFAQ
Is Onenote Mcp Windows MCP free?
Yes, Onenote Mcp Windows MCP is free — one-click install via Unyly at no cost.
Does Onenote Mcp Windows need an API key?
No, Onenote Mcp Windows runs without API keys or environment variables.
Is Onenote Mcp Windows hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Onenote Mcp Windows in Claude Desktop, Claude Code or Cursor?
Open Onenote Mcp Windows on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Onenote Mcp Windows with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
