University Microsoft 365 Read-only MCP
by hayatosc
microsoft-bypass-mcp
Microsoftアカウントのテナント管理者がAIサービス(ChatGPT, Claudeなど)との連携を承認していないときに、Power Automate経由でバイパスして情報を取得できるリモートMCPサーバー
Specification
Architecture
MCP Client
↓ MCP over Streamable HTTP (/mcp)
Remote MCP Server — Cloudflare Workers + Hono (Cloudflare Access OAuth)
↓ HTTP POST { operation, requestId, args }
Power Automate — operation allowlist → fixed Graph endpoints, M365 auth
↓
Microsoft GraphTools
Tool | Input | Output |
|
|
|
|
|
|
|
|
|
Requirements
Microsoftアカウント
Cloudflareアカウント
Configuration
.dev.vars.example に従ってPower Automate側のURLを参照
POWER_AUTOMATE_URL=https://prod-xxx.logic.azure.com/workflows/xxx/triggers/manual/paths/invoke
POWER_AUTOMATE_GATEWAY_KEY=<gateway key>For production, set these as Worker secrets/vars (wrangler secret put).
Development
bun install
bun run dev # local Worker (wrangler dev)Quality checks
bun run typecheck # tsc --noEmit
bun run lint # oxlint
bun run lint:types # oxlint --type-aware
bun run format:check # oxfmt --check
bun run test # vitestDeploy
bun run deploy # wrangler deployLatest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hayatosc/microsoft-bypass-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server