@mcp-z/mcp-outlook
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for the local HTTP server, as an alternative to --port. | |
| MS_CLIENT_ID | Yes | Application (client) ID from the Azure app registration. | |
| MS_TENANT_ID | Yes | Directory (tenant) ID for the Azure app, e.g. common. | |
| REDIRECT_URI | No | Public /oauth/callback URL for cloud HTTP deployments; omit for local ephemeral loopback. | |
| DCR_STORE_URI | No | URI for the DCR registration storage backend. | |
| TOKEN_STORE_URI | No | URI for the OAuth token storage backend; defaults to a JSON file under ~/.mcp-z/ (file+shared://). | |
| MS_CLIENT_SECRET | No | Client secret for the Azure app; required for confidential client flows but optional for the loopback desktop flow. |
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 | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| account-listA | List all linked mcp-outlook accounts with their aliases and active status. |
| account-meA | Show current mcp-outlook user identity. Returns email, alias (if set), and session expiry information. |
| account-removeA | Remove mcp-outlook account and delete stored tokens permanently. If removing the active account, the first remaining account becomes active. Requires email or alias parameter. |
| account-switchA | Use mcp-outlook account (smart mode). If email/alias provided and already linked, switches to it without triggering OAuth. If not linked or no email provided, triggers OAuth browser flow to add account. Returns account email, whether it was newly added, and total account count. |
| categories-listA | List Outlook categories with colors and names. |
| label-addC | Add a label/category or move message to a folder in Outlook |
| label-deleteA | Delete Outlook categories permanently (irreversible). Categories organize messages by color and name. |
| labels-listC | List Outlook categories for label: query syntax. Case-sensitive. |
| message-getB | Get an Outlook message by ID with flexible field selection |
| message-mark-readB | Mark an Outlook message as read |
| message-move-to-trashB | Move Outlook messages to trash (recoverable). |
| message-respondC | Reply to an Outlook message |
| message-searchA | Search Outlook messages using structured query objects with flexible field selection. A pageSize or fields changed alongside a pageToken has no effect, because the token carries the next-page link that governs the page. |
| message-sendC | Send an email message through Outlook |
| messages-export-csvB | Export Outlook messages to CSV with streaming pagination. Returns file URI. Use query-syntax prompt for query reference. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| draft-email | Draft an email response |
| query-syntax | Reference guide for Outlook query syntax |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 15 tools
The message-* group is cleanly separated by action, but categories-list and labels-list appear to list the exact same resource (Outlook categories) with only a subtle query-syntax difference, and label-add conflates two distinct operations (adding a category vs. moving a message to a folder). An agent could easily pick the wrong listing tool or misread label-add as pure labeling.
There is a readable prefix-grouped kebab-case scheme (account-*, message-*, label-*, categories-*), but it drifts: singular 'label-add' vs plural 'labels-list', 'categories-list' coexisting with 'label-*', and 'messages-export-csv' breaks the singular 'message-*' pattern. The label/category terminology split makes the set harder to predict.
15 tools is within a healthy range for an email server and each message operation earns its place. The four account-* tools are somewhat heavy for what is largely per-session bookkeeping, but multi-account support justifies them.
Core lifecycle is covered: search/get, send, reply, mark-read, trash, export, plus category list/add/delete and account management. Gaps remain — no category rename/update, no folder listing despite folder moves, no mark-unread, no draft or attachment operations — but agents can work around most of these.