MCP OAuth
Updated 0115 Lol, turns out there was already a ready-made solution and I was here drawing diagrams from scratch 😅 https://mcp-auth.dev/docs/tutorials/todo-manager I’ve been experimenting with building some MCP servers lately. When dealing with multiple users, authorization becomes a concern. MCP clients (Agents) currently need to complete authorization when connecting to an MCP server, i.e., at initialization time. I mapped out two MCP OAuth flows for reference in future development. Case 1: The third-party app natively supports OAuth. This is the simpler case — just authorize directly with the third-party app, and the Agent can call tools normally. ...