Atlas / MCP servers / sandraschi / onenote-mcp

onenote-mcpBLOCK

mcp/sandraschi/onenote-mcp

MCP server for Microsoft OneNote via Graph API - notebooks, sections, pages, search, device-code auth, Vite webapp + Tauri desktop app

Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
25 18r · 6w · 1d
Transport
sse · stdio
License
MIT
Stars
1
01

Overview

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

Your OneNote notebooks, readable and writable by both you and your AI assistant.

What this wraps

Microsoft OneNote via the Microsoft Graph API — notebooks, sections, and full page content, headless (no screen automation). See docs/WRAPPEE.md for official links, community, and disambiguation from similarly-named projects.

Preview

Two doors

  • MCP server, for AI agents — 26 tools + 1 prompt over stdio or

streamable HTTP (:10907/mcp): list/explore notebooks, read page HTML, create pages, title + full-text search, notebook TOC cards. Any MCP client (Claude Desktop, Cursor, Copilot) can browse and edit your notes.

  • Webapp, for humans — dashboard (:10906) with notebook tree browser,

rendered page viewer, search with filter/sort/pagination/CSV export, AI chat over your notes, skills, logging, settings. No prompt engineering required.

What You Can Do

  • Browse notebooks → sections → pages; read full page content rendered
  • Search titles instantly; build a local full-text index for body search
  • Create pages from plain text (paragraphs from blank lines)
  • Back up everything to Markdown files, any time
  • Ask the chat about your notes (local LLM via backend proxy, nothing leaks)
  • Run headless, as a Tauri desktop app, or from a .mcpb bundle

Install

Installation guide: INSTALL.md - a Windows app, a one-line add-on for Claude Desktop, or a config snippet for Cursor, VS Code and Claude Code.

Example Prompts

  • "Show me my OneNote notebooks"
  • "Find pages mentioning quarterly planning"
  • "Create a page in My Notebook titled Shopping with a bullet list"

Documentation

Read from source at commit 5c0d6d66c6f8OBSERVED · 2026-10-11
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 onenote-mcp-sota --env GRAPH_ACCESS_TOKEN=${GRAPH_ACCESS_TOKEN} --env ONENOTE_AUTHORITY=${ONENOTE_AUTHORITY} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "onenote-mcp-sota": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "GRAPH_ACCESS_TOKEN": "${GRAPH_ACCESS_TOKEN}",
        "ONENOTE_AUTHORITY": "${ONENOTE_AUTHORITY}"
      }
    }
  }
}
03

Exposed tools (25)

18 read · 6 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
authenticatewriteStart the Microsoft authentication flow using device code.
get_onenote_pagereadGet OneNote page content.
get_onenote_page_textreadGet OneNote page as readable text.
onenote_authenticateread
onenote_create_notebookwriteCreate a new OneNote notebook.
onenote_create_pagewrite
onenote_delete_pagedestructivePermanently delete one OneNote page.
onenote_exportreadBack up notebooks to Markdown files (one per page + index).
onenote_export_statusreadShow Markdown backup progress (files written, output dir).
onenote_get_notebookread
onenote_get_notebook_tocread
onenote_get_pageread
onenote_helpreadList the available OneNote MCP tools and when to use each.
onenote_index_startwriteBuild (or refresh) the local full-text search index.
onenote_index_statusreadShow full-text index build progress and coverage.
onenote_list_notebooksread
onenote_list_pagesread
onenote_list_section_groupsreadList the section groups directly under a notebook.
onenote_list_sectionsread
onenote_recentreadList recently modified pages across all notebooks.
onenote_save_access_tokenwriteSave a Microsoft Graph access token for later use.
onenote_save_tokenwrite
onenote_search_pagesread
show_notebooks_cardreadShow the user
shutdown_serverreadShut down the onenote-mcp server gracefully.
04

Trust audit

BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

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

Findings (21)

HIGHNetwork egress · net.env_exfil · CWE-200, CWE-319
scripts/cua-smoke.py:336
os.environ.copy() ... urllib.request
Why it matters. reads secrets in the same file that sends data out
MEDIUMInventory / provenance · inv.symlink · CWE-1104
scripts/backup-repo.ps1
scripts/backup-repo.ps1
Why it matters. link not followed
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
scripts/FleetStartMode.ps1:1
# FleetStartMode.ps1 - vendored per-repo copy (no mcp-central-docs required at runtime)
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
src/onenote_mcp/mcp_clients.py:69
text = (proc.stdout or "").strip().removeprefix("")
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
web_sota/start.ps1:1
# Fleet unified launcher - do not edit logic here.
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
onenote_delete_page
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.hidden_file · CWE-1104
.assess-fix-timestamp
.assess-fix-timestamp
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.cursorignore
.cursorignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.ghaudit-timestamp
.ghaudit-timestamp
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.mcpbignore
.mcpbignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_mcp_clients.py:116
res = http.post("/api/mcp-clients/unregister", json={"clients": ["../../evil"]})
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
CHANGELOG.md:260
`http://127.0.0.1:10907` inside Tauri.
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/ONBOARDING.md:29
- **Webapp**: open `http://127.0.0.1:10906`, go to **Notebooks**
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/TOOLS.md:88
(e.g. `http://127.0.0.1:10907/mcp`).
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/TROUBLESHOOTING.md:22
- Installed NSIS app: the built frontend calls `http://127.0.0.1:10907/api` directly (see `web_sota/src/lib/api.ts`). If the backend didn't start, use the dashboard's **Restart Backend** button or che
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/TROUBLESHOOTING.md:27
- Claude Desktop / Cursor: point the `mcpServers` entry at `uv run --directory <repo> python -m onenote_mcp` (stdio) or `http://127.0.0.1:10907/mcp` (HTTP streamable) while the backend is running.
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/onenote_mcp/secure_store.py:70
return _crypt(base64.b64decode(value[6:]), encrypt=False).decode("utf-8")
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@azure/identity, @azure/msal-node, @microsoft/microsoft-graph-client, @modelcontextprotocol/sdk, dotenv, node-fetch, typescript, zod
Why it matters. 10 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
web_sota/package.json
@radix-ui/react-dialog, @radix-ui/react-dropdown-menu, @radix-ui/react-label, @radix-ui/react-progress, @radix-ui/react-scroll-area, @radix-ui/react-slot, @radix-ui/react-tabs, @radix-ui/react-tooltip
Why it matters. 37 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
mcpb/assets/prompts/user.md:573
- **Access token** — a short-lived credential the server uses to call Microsoft Graph
Why it matters. asks the agent to read credentials

Gates applied: no_behavioural_pass.

Audited 2026-10-11 · audit v0.4.1 · source sha 5c0d6d66c6f8full audit observations/trust-audit/mcp-server/sandraschi__onenote-mcp.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-115c0d6d66c6f8BLOCKD69first audit
06

Questions

What is the onenote-mcp MCP server?

MCP server for Microsoft OneNote via Graph API - notebooks, sections, pages, search, device-code auth, Vite webapp + Tauri desktop app

What tools does onenote-mcp expose?

25 in total: 18 read-only, 6 that write, and 1 that can delete or overwrite (onenote_delete_page). Every one is listed on this page with its risk.

Is onenote-mcp safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does onenote-mcp need?

It reads GRAPH_ACCESS_TOKEN and ONENOTE_AUTHORITY 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-mcp run?

It speaks sse and stdio, so it runs as a local process your client starts. It is published on npm as onenote-mcp-sota at 0.0.0.

How current is this page?

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

Advertisement