m365-graph-gateway

Access Microsoft 365 mail, calendar, files, chats, and transcripts via the M365 Graph MCP gateway.

1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/mariusraileanu/openclaw-hardened-azure --skill m365-graph-gateway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: m365-graph-gateway
Source: https://github.com/mariusraileanu/openclaw-hardened-azure/tree/main/workspace/skills/m365-graph-gateway
Command: npx skills add https://github.com/mariusraileanu/openclaw-hardened-azure --skill m365-graph-gateway

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Microsoft 365 data is often locked behind complex access controls and siloed services. This Skill provides a secure, policy-driven path for agents to read and write data across mail, calendar, files, Teams chats, and transcripts through the M365 Graph MCP gateway, leveraging strict identity binding and guardrails to prevent misuse.

Core Features & Use Cases

  • JSON-RPC gateway for Microsoft Graph data, exposing tools to read mail, calendar events, files, chats, and transcripts.
  • Identity binding and guardrails to prevent unauthorized actions, with confirm-gated write operations for safety.
  • Practical use cases include querying mail threads, retrieving calendar events, accessing OneDrive/SharePoint files, and reading Teams transcripts.

Quick Start

Start by posting a tools/call request to the MCP gateway to read mail, calendar events, or files.

Frequently Asked Questions about m365-graph-gateway

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I securely access Microsoft 365 mail and calendar data via an MCP gateway?

You can securely access Microsoft 365 mail and calendar data through the M365 Graph MCP gateway, which uses JSON-RPC, strict identity binding, and guardrails to prevent unauthorized actions during read operations.

What do I need to set up before reading Teams transcripts through a Microsoft Graph gateway?

Before reading Teams transcripts through a Microsoft Graph gateway, you need a valid GRAPH_MCP_URL and optionally an API key for authentication, with a built-in auth recovery workflow available if issues arise.

Can I write files to OneDrive or SharePoint using a Microsoft Graph MCP tool?

Yes, you can write files to OneDrive or SharePoint using the Microsoft Graph MCP tool, but all write operations are confirm-gated to ensure safety and enforce strict guardrails.

How does the M365 Graph gateway handle rate limits and security for agent data access?

The M365 Graph gateway enforces built-in rate limits, security headers, and structured error reporting to manage agent data access safely across Microsoft 365 services like files and chats.

Are there limitations when using JSON-RPC for retrieving Microsoft 365 files and meeting transcripts?

When using JSON-RPC to retrieve Microsoft 365 files and meeting transcripts, limitations include enforced rate limits and the requirement that write operations must pass confirm-gated checks to prevent misuse.