Skip to main content
Glama
usedrobot

Microsoft 365 remote MCP server

by usedrobot

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort to listen on, default '3000'3000
M365_ORG_NAMENoYour organization's name, used in the server instructions
M365_CLIENT_IDYesClient id of your delegated Entra app
M365_READ_ONLYNo'true' disables every write tool
M365_TENANT_IDYesTenant GUID. 'common'/'organizations' are rejected at startup.
M365_DEFAULT_TZNoIANA zone, default 'America/New_York'America/New_York
M365_PUBLIC_URLYesPublic HTTPS origin Claude reaches, no trailing slash
M365_REDACT_PIINo'true' scrubs tokens, secrets, and email addresses from logs
M365_CORS_ORIGINNoCORS origin allowed to call this server, default 'https://claude.ai'https://claude.ai
M365_TRUST_PROXYNoDefault off. Set to '1' (or an Express hop count) only when running behind a reverse proxy you control, so X-Forwarded-For is trusted.false
M365_CLIENT_SECRETYesConfidential-client secret (required by OBO)
M365_GRAPH_TIMEOUT_MSNoMicrosoft Graph request timeout in milliseconds, default '30000'30000
M365_EXTRA_INSTRUCTIONSNoHouse-style notes appended to the server instructions (tone, signatures, place names)
M365_EVENTS_LIBRARY_PATHNoSharePoint library the default file-search scope narrows to; unset searches the whole tenant
M365_ALLOWED_REDIRECT_URISNoComma-separated exact /authorize redirect_uri allowlist. Defaults to 'https://claude.ai/api/mcp/auth_callback'; set this only if a different client connects.https://claude.ai/api/mcp/auth_callback

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/usedrobot/m365-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server