microsoft-outlook-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OUTLOOK_MCP_MODE | Yes | Auth mode. Must be `personal` or `business`. | |
| OUTLOOK_MCP_AUTH_FLOW | No | Authentication flow. Must be `device` or `loopback`. Defaults to `device`. | device |
| OUTLOOK_MCP_CACHE_DIR | No | Token cache directory. Defaults to `~/.microsoft-outlook-mcp`. | ~/.microsoft-outlook-mcp |
| OUTLOOK_MCP_LOOPBACK_PORT | No | Loopback redirect port. Defaults to `8400`. | 8400 |
| OUTLOOK_MCP_BUSINESS_TENANT | No | Tenant ID for business mode only. Defaults to `common`. | common |
| OUTLOOK_MCP_BUSINESS_CLIENT_ID | No | App registration client ID for business mode. | |
| OUTLOOK_MCP_PERSONAL_CLIENT_ID | No | App registration client ID for personal mode. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Microsoft 365 surfaces: Outlook email, calendar, and OneDrive.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| aboutA | Returns information about this M365 Assistant server. |
| authenticateC | Authenticate with Microsoft Graph API to access Outlook data. |
| check-auth-statusA | Check the current authentication status with Microsoft Graph API. |
| list-foldersC | Lists mail folders in your Outlook account |
| create-folderC | Creates a new mail folder |
| list-emailsC | Lists recent emails from your inbox |
| search-emailsC | Search for emails using various criteria |
| read-emailA | Reads the content of a specific email. HTML bodies are sanitized to visible text unless includeRawHtml is true. |
| send-emailC | Composes and sends a new email. Supports plain text and HTML. |
| draft-emailB | Creates and saves an email draft in Outlook |
| mark-as-readC | Marks an email as read or unread |
| delete-emailA | Deletes an email by moving it to Deleted Items (trash). Use permanent=true to hard delete. |
| move-emailsC | Moves emails from one folder to another |
| list-rulesB | Lists inbox rules in your Outlook account |
| create-ruleC | Creates a new inbox rule |
| edit-rule-sequenceC | Changes the execution order of an existing inbox rule |
| list-attachmentsB | Lists the attachments of a specific email |
| read-attachmentA | Reads an attachment from an email. Text content is returned as text; binary content is returned base64-encoded. |
| download-attachmentB | Downloads an email attachment to a local file |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 19 tools
Most tools target a distinct resource+action (read-email, send-email, draft-email, list-folders, create-folder, mark-as-read), so selection is usually clear. The one genuinely confusable pair is read-attachment vs download-attachment, which both retrieve the same attachment and differ only in output destination; list-attachments vs read-attachment is also close but separable.
There is a predictable kebab-case verb-noun convention (list-emails, create-rule, delete-email, move-emails) used consistently across the bulk of the surface. Minor deviations are 'about' (no verb/object) and 'authenticate'/'check-auth-status', which don't fit the verb-noun pattern but remain readable.
19 tools is on the high side, but the surface spans four sub-domains (auth, mail, folders, rules, attachments) and each tool maps to a real operation rather than a duplicate. A couple of tools (about, download-attachment) are marginal, but none feel gratuitous.
Core email lifecycle is covered: list/search/read/send/draft/delete/move, plus folders, rules, and attachments. However, reply and forward are missing (agents must compose a fresh email and lose threading), and the rules and folder surfaces are asymmetric — rules can be created and resequenced but not deleted or edited, and folders can be created but not renamed or deleted.