OneNoteMcpServer 0.0.5
{ "servers": { "OneNoteMcpServer": { "type": "stdio", "command": "dnx", "args": ["OneNoteMcpServer@0.0.5", "--yes"] } } }
This package contains an MCP Server. The server can be used in VS Code by copying the generated JSON to your VS Code workspace's
.vscode/mcp.json settings file.
dotnet tool install --global OneNoteMcpServer --version 0.0.5
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local OneNoteMcpServer --version 0.0.5
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=OneNoteMcpServer&version=0.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package OneNoteMcpServer --version 0.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Nokia.MCP.Servers.OneNote.Local
Name
Nokia.MCP.Servers.OneNote.Local
Purpose
This MCP server exposes Microsoft OneNote capabilities to MCP clients over stdio. It authenticates to Microsoft Graph using Entra ID and provides tools for reading notebook, section, and page information, as well as creating and updating OneNote content when write access is enabled.
The server is designed for local MCP usage and is built around the shared OneNote tool set in the Nokia.MCP.Servers.Tools.OneNote namespace.
Configurations
The following environment variables are used by the server:
ONENOTE_MCP_ALLOW_WRITES– set to1to enable write-capable tools such ascreatePage,appendToPage, anddeletePage.ONENOTE_MCP_AUTH_MODE– set todevice_codeto prefer device code authentication in SSH or headless environments.ONENOTE_MCP_PERSIST_TOKEN– set to1,true,yes, oronto persist the MSAL token cache between server runs. When unset or set to0,false,no, oroff, the server clears any previously persisted cache at startup.ONENOTE_MCP_CLIENT_ID– required Microsoft Entra public client ID used for authentication.ONENOTE_MCP_TENANT_ID– required Microsoft Entra tenant ID used for authentication.ONENOTE_MCP_SCOPES– optional override for the Graph scopes, space-delimited.
Tools
The server exposes the following tools from the OneNote tool namespace:
Authentication
signIn– starts or confirms interactive sign-in for the current server session.signOut– clears the current in-memory authentication session.
Notebook and page discovery
listNotebooks– lists the signed-in user’s notebooks.listSections– lists sections, optionally scoped to a notebook.listPagesInSection– lists pages in a given OneNote section.searchPages– searches pages by title within the user’s notebooks.getPageContentText– extracts plain text from a OneNote page’s HTML content.
Write operations
These tools are only registered when ONENOTE_MCP_ALLOW_WRITES=1.
createPage– creates a new page in a OneNote section.appendToPage– appends HTML content to the end of a page.deletePage– deletes a OneNote page by id.
Notes
- The server listens over stdio and writes logs to stderr to keep stdout reserved for MCP JSON-RPC traffic.
- Authentication is performed against Microsoft Graph using the OneNote permissions required for notebook and page access.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.