Skip to main content
Glama
Outlook Web MCP

Outlook Web MCP

by flandyw

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_PORTNoPort for the MCP server. The default is 8765.8765
MCP_TOKENYesBearer token required by MCP clients; pass it as Authorization: Bearer <MCP_TOKEN>.
OUTLOOK_URLNoOutlook Web URL. Use https://outlook.live.com/mail/ for Outlook.com.https://outlook.office.com/mail/
CHROMIUM_PATHNoPath to a local Chromium installation to use instead of Playwright-managed Chromium.
OUTLOOK_NOTIFYNoSet to 0 to turn off desktop notifications asking you to run npm run login.
OUTLOOK_PROFILENoPath to the dedicated Playwright Chromium profile.~/.local/state/outlook-mcp/chromium
OUTLOOK_USERNAMENoMicrosoft sign-in address for automatic sign-in when using a password without MFA.
MCP_ALLOWED_ORIGINSNoComma-separated list of allowed Origin header values for MCP clients that send an Origin header.
OUTLOOK_ATTACHMENTSNoSet to 0 to remove the read_attachment tool.
OUTLOOK_INTERACTIVENoSet to 1 to open a visible browser window and keep it open while using the MCP server. The service forces headless mode.
OUTLOOK_IDLE_MINUTESNoIdle minutes before the headless browser closes. Set to 0 to keep it open.20
OUTLOOK_DOWNLOAD_PORTNoPort for the GET-only attachment download listener. The default is 8766.8766
OUTLOOK_PASSWORD_FILENoAbsolute path to a private file whose first line contains the Microsoft password, for automatic sign-in.
OUTLOOK_SIGNIN_ORIGINSNoComma-separated list of federated sign-in origins to allow in headless mode, such as an organisation's ADFS pages.
OUTLOOK_ATTACHMENT_MAX_MBNoMaximum attachment size in MB; files over this limit are refused. Default is 25 MB.25
OUTLOOK_DOWNLOAD_HOSTNAMENoHostname used in attachment download URLs. Defaults to the machine hostname plus .tail4832d.ts.net.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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