AI and agent tooling

OneNote MCP server

Gives Claude, Cursor and other MCP clients read and write access to OneNote. I rewrote it in TypeScript after tracking down a silent 401 that broke every personal Microsoft account.

~180
lines of OAuth, no MSAL

OneNote MCP server

  • Request lifecycle
  • OAuth device-code flow
Request lifecycle 1 / 2

Highlights

  • Device-code OAuth in about 180 lines, no MSAL, silent token refresh
  • Zod-typed tools, so agents get real parameter schemas
  • Works with personal and work accounts

Theme

Let's connect

Questions about something I built, an idea about AI tooling or performance, or just want to say hello? My inbox is open.