LocalFree

Microsoft365 MCP server

sapientsai/microsoft365-mcp-server

Microsoft 365 via Graph — mail, calendar, contacts, files, Teams, Planner, OneNote, To Do.

1 GitHub stars2 forks2,385 npm downloads / month

Install Microsoft365 in Claude Code

Claude Code
claude mcp add microsoft365 -e MS365_CLIENT_ID=... -- npx -y microsoft365-mcp-server
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "microsoft365": {
      "command": "npx",
      "args": [
        "-y",
        "microsoft365-mcp-server"
      ],
      "env": {
        "MS365_CLIENT_ID": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Microsoft365 MCP server do?

Microsoft 365 via Graph — mail, calendar, contacts, files, Teams, Planner, OneNote, To Do.

Is the Microsoft365 MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Microsoft365 run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Microsoft365 to Claude Code?

Run: claude mcp add microsoft365 -e MS365_CLIENT_ID=... -- npx -y microsoft365-mcp-server

More communication MCP servers

View all