Microsoft365 Mcp Server
by github.com/sapientsai · v1.7.1 · updated Nov 23, 2026
Microsoft 365 via Graph — mail, calendar, contacts, files, Teams, Planner, OneNote, To Do.
Run it locally
Install the package and point your AI client at it.
npm
npx -y [email protected]Environment variables
MS365_CLIENT_IDrequiredAzure AD application (client) ID. Every mode except client-token needs it.
MS365_TENANT_IDAzure AD tenant ID, or 'common'/'organizations'/'consumers'. Read by certificate, client-secret and oauth-proxy modes.
MS365_CLIENT_SECRETsecretAzure AD client secret (client-secret mode).
MS365_CERT_PATHPath to the certificate used by certificate mode.
MS365_CERT_PASSWORDsecretPassword for the certificate at MS365_CERT_PATH, if it has one.
MS365_ACCESS_TOKENsecretA Graph access token supplied directly (client-token mode).
MS365_AUTH_MODEAuth mode: interactive (default), certificate, client-secret, client-token or oauth-proxy.
MS365_OAUTH_BASE_URLBase URL of the OAuth proxy (oauth-proxy mode).
MS365_READ_ONLYSet to 'true' to expose read-only tools and refuse every write.
MS365_ENABLED_TOOLSCase-insensitive regular expression matched against tool names; only matching tools are registered. Not a comma-separated list.
MS365_PRESETSComma-separated tool presets to enable instead of naming tools individually.
MS365_ORG_MODESet to 'true' for organisation-wide (application-permission) behaviour.
TRANSPORT_TYPETransport: 'stdio' (the default, and what this npm package is listed as) or 'httpStream' for remote/Docker deployments.
More from github.com/sapientsai
Patents Mcp Server
github.com/sapientsai
Patent intelligence — USPTO Open Data, PTAB, EPO OPS and BigQuery full-text search.
Temporal Mcp Server
github.com/sapientsai
Time, timezone and duration tools — IANA zones, conversion, DST-correct date arithmetic.
Dokploy Mcp Server
github.com/sapientsai
Dokploy MCP server: manage apps, Docker Compose, databases, domains, backups, and servers.
Power Automate Mcp Server
github.com/sapientsai
Inspect, operate, and author Microsoft Power Automate cloud flows from an agent context.
More MCP servers
Mcp
github.com/sapiom
Local Sapiom developer MCP for authoring, testing, deploying, and inspecting agents.
Mcp Server
github.com/sapiom
AI agent tools: web search, browser, 400+ LLMs, image gen, TTS, phone verify. Pay-per-use.
Folkso
github.com/saplq
Find real people for a task right in ChatGPT and Claude. Everyone chose to appear in AI answers.
Feedback Synthesis MCP
github.com/sapph1re
Synthesize GitHub Issues, HN and App Store reviews into ranked pain clusters. Pay-per-call x402.
FinData MCP
github.com/sapph1re
Stocks, fundamentals, FRED economics, SEC filings & crypto. x402 micropayments, $0.01/call.
MCP Billing Gateway
github.com/sapph1re
Billing proxy for MCP servers. Adds Stripe and x402 crypto payments without writing billing code.