Giving an AI assistant read-only access to Microsoft Loop — without breaking permissions
I wanted my AI assistant to read my team's Microsoft Loop pages — summarize a
workspace, pull the latest OKRs into a draft, answer "what did we decide about
X." Simple ask. It turned into a genuinely interesting engineering problem, and
I ended up building a small open-source MCP server to solve it. Here's the
challenge, the solution, and the traps along the way.
The result is open source (MIT): . The README covers the
Entra app registration, the one-time SharePoint Embedded guest registration,
hosting, and wiring it into an MCP client. SECURITY.md documents the model and
the residual risks to close before production.
It's community code, not a certified product — review it and run a dependency
scan before you point it at real data. But if you've been wanting to let an
assistant read your Loop content without handing it the keys to the whole
tenant, this pattern works.
If you build on it or find a sharper approach, I'd love to hear it.
SOCIAL SHARE CARD GENERATOR