Atlas / MCP servers / danosb / OneNote

OneNoteSAFE

mcp/danosb/onenote-4

MCP server for Microsoft OneNote

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
9 6r · 3w · 0d
Transport
stdio
License
—
Stars
125
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

A Model Context Protocol (MCP) server implementation that enables AI language models like Claude and other LLMs to interact with Microsoft OneNote.

This project is based on azure-onenote-mcp-server by Zubeid Hendricks, with modifications to simplify authentication and improve usability.

What Does This Do?

This server allows AI assistants to:

  • Access your OneNote notebooks, sections, and pages
  • Create new pages in your notebooks
  • Search through your notes
  • Read complete note content, including HTML formatting and text
  • Analyze and summarize your notes directly

All of this happens directly through the AI interface without you having to switch contexts.

Using with AI Assistants

Setup for Cursor

  1. Clone this repository and follow the installation steps below
  2. Start the MCP server: npm start
  3. Register the server in Cursor:
  4. Open Cursor preferences (Cmd+, on Mac or Ctrl+, on Windows)
  5. Go to the "MCP" tab
  6. Add a new MCP server with these settings:
  7. Name: onenote
  8. Command: node
  9. Args: ["/path/to/your/onenote-mcp.mjs"] (use absolute path)

Here's the complete JSON configuration example:

{
"mcpServers": {
"onenote": {
"command": "node",
"args": ["/absolute/path/to/your/onenote-mcp.mjs"],
"env": {}
}
}
}
  1. Restart Cursor
  2. In Cursor, you can now interact with your OneNote data using natural language:
Can you show me my OneNote notebooks?
Create a new page in my first notebook with a summary of this conversation
Find notes related to "project planning" in my OneNote

The first time you ask about OneNote, the AI will guide you through the authentication process.

Setup for Claude Desktop (or other MCP-compatible assistants)

  1. Clone this repository and follow the installation steps below
  2. Start the MCP server: npm start
  3. In th
Read from source at commit b0caf981c86eOBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add mcp-server-onenote --env GRAPH_ACCESS_TOKEN=${GRAPH_ACCESS_TOKEN} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-server-onenote": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "GRAPH_ACCESS_TOKEN": "${GRAPH_ACCESS_TOKEN}"
      }
    }
  }
}
03

Exposed tools (9)

6 read · 3 write · 0 destructive.

ToolRiskDescription
authenticatewriteStart the authentication flow with Microsoft Graph
createPagewriteCreate a new page in a section
getNotebookreadGet details of a specific notebook
getPagereadGet the content of a page
listNotebooksreadList all OneNote notebooks
listPagesreadList all pages in a section
listSectionsreadList all sections in a notebook
saveAccessTokenwriteSave a Microsoft Graph access token for later use
searchPagesreadSearch for pages across notebooks
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (5 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (2)

LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@azure/identity, @azure/msal-node, @microsoft/microsoft-graph-client, dotenv, jsdom, node-fetch, open
Why it matters. 7 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-07 · audit v0.4.1 · source sha b0caf981c86efull audit observations/trust-audit/mcp-server/danosb__onenote-4.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07b0caf981c86eSAFEB89first audit
06

Questions

What is the OneNote MCP server?

MCP server for Microsoft OneNote

What tools does OneNote expose?

9 in total: 6 read-only, 3 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is OneNote safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does OneNote need?

It reads GRAPH_ACCESS_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does OneNote run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as mcp-server-onenote at 0.1.0.

How current is this page?

The grade is for one exact copy of the source (b0caf981c86e), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement