M365 Assistant MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MS_CLIENT_ID | No | Your Azure application client ID for Microsoft Graph authentication. | |
| MS_TENANT_ID | No | Optional tenant ID for single-tenant apps. Avoids /common endpoint errors. | |
| USE_TEST_MODE | No | Set to 'true' to use mock data instead of real API calls. | false |
| MS_CLIENT_SECRET | No | Your Azure application client secret value (not the Secret ID). | |
| OUTLOOK_CLIENT_ID | No | Alternate environment variable for client ID (used in Claude Desktop config). Same as MS_CLIENT_ID. | |
| OUTLOOK_CLIENT_SECRET | No | Alternate environment variable for client secret (used in Claude Desktop config). Same as MS_CLIENT_SECRET. |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| aboutB | Returns information about this M365 Assistant server |
| authenticateC | Authenticate with Microsoft Graph API to access Outlook data |
| check-auth-statusB | Check the current authentication status with Microsoft Graph API |
| list-eventsB | Lists upcoming events from your calendar |
| decline-eventC | Declines a calendar event |
| create-eventC | Creates a new calendar event |
| cancel-eventC | Cancels a calendar event |
| delete-eventC | Deletes a calendar event |
| 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 emails are securely sanitized to extract only visible text, preventing prompt injection attacks via hidden content. |
| send-emailB | Composes and sends a new email. Supports both plain text and HTML content. |
| draft-emailA | 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. |
| list-foldersC | Lists mail folders in your Outlook account |
| create-folderC | Creates a new mail folder |
| move-emailsC | Moves emails from one folder to another |
| list-rulesC | 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 |
| onedrive-listB | List files and folders in OneDrive at a specific path |
| onedrive-searchC | Search for files in OneDrive by name or content |
| onedrive-downloadA | Get a download URL for a file in OneDrive. Either 'itemId' or 'path' must be provided. |
| onedrive-uploadB | Upload a small file (< 4MB) to OneDrive |
| onedrive-upload-largeA | Upload a large file (> 4MB) to OneDrive using chunked upload |
| onedrive-shareC | Create a sharing link for a file or folder in OneDrive |
| onedrive-create-folderC | Create a new folder in OneDrive |
| onedrive-deleteB | Delete a file or folder from OneDrive |
| flow-list-environmentsB | List available Power Platform environments |
| flow-listC | List flows in a Power Platform environment |
| flow-runC | Trigger a manual flow run |
| flow-list-runsC | Get run history for a flow |
| flow-toggleB | Enable or disable a flow |
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 34 tools
Most tools target a distinct resource+action, but there are real boundaries to trip on: list-folders/create-folder are unprefixed and sit alongside onedrive-create-folder/onedrive-list, so folder operations are ambiguous between mail and OneDrive. The calendar trio decline-event / cancel-event / delete-event is also easy to misselect, since the descriptions only restate the verb without clarifying the difference in effect.
Readable but the convention flips: email/calendar tools use bare verb_noun (list-emails, create-event), OneDrive uses a service prefix (onedrive-upload), and flow tools invert to noun_verb (flow-list, flow-list-runs) instead of list-flows. The result is that 'list' means the leading verb in some groups and a trailing word in others, plus orphan names like about and authenticate.
34 tools is heavy for a single server and near the over-scoped threshold, but it is justified by aggregating four distinct domains (mail, calendar, OneDrive, Power Automate). Each domain gets roughly 5-9 tools, which is scoped reasonably, though a few specialized tools (onedrive-upload-large vs onedrive-upload) could be folded into parameters.
Core lifecycles are mostly covered: mail has list/search/read/send/draft/move/folders/rules, OneDrive has list/search/upload/download/share/delete, and flows have list/run/history/toggle. However there is no update/edit-event (calendar can only create/cancel/delete), no OneDrive move/copy/rename, and no rule delete or general rule update beyond sequencing.