Wanted Claude to read my OneNote notebooks. Grabbed an MCP server, hit a silent 401 on every call. A developer rewrote a OneNote MCP server in TypeScript after encountering a silent 401 error on every API call. The debugging revealed scope pitfalls and silent token renewal issues in Microsoft Graph authentication. I Rewrote a OneNote MCP Server in TypeScript — Here's What I Learned About Microsoft Graph Auth Scope pitfalls and silent token renewal Amandeep Singh Amandeep Singh Amandeep Singh Follow Jul 19 I Rewrote a OneNote MCP Server in TypeScript — Here's What I Learned About Microsoft Graph Auth mcp typescript tutorial ai 12 reactions 6 comments 6 min read