outlook-local-mcp
The Outlook Local MCP server integrates Microsoft Outlook with AI assistants via the Microsoft Graph API, providing calendar, mail, account, and system management through a consistent tool interface.
Calendar: List calendars; list, search, get, create, update, delete, and reschedule events and meetings; respond to invitations (accept, tentatively accept, decline); cancel meetings; check free/busy availability. Supports recurrence, timezones, and Teams online meetings.
Mail: List folders and messages; filter by sender, date, folder, importance, read status, attachments, flags; get message details; KQL search. (With explicit configuration
MailEnabledandMailManageEnabled) manage drafts: create, reply, forward, update, delete; and access conversations and attachments.Account: Add, remove, list, login, logout, and refresh Microsoft accounts using various OAuth methods (browser, device code, auth code).
System: Get server status, version, uptime, host environment, and access embedded documentation (list, search, fetch).
General: All actions use an
operationparameter per tool;operation=helpreturns detailed documentation.
Outlook Local MCP Server
A single-binary MCP server that connects Claude Desktop and Claude Code to Microsoft Outlook via the Microsoft Graph API. Manage your calendar, read and triage email, and compose drafts without leaving your AI assistant.
Install
Go binary (recommended):
go install github.com/desek/outlook-local-mcp/cmd/outlook-local-mcp@latestDocker / OCI:
docker run -i --rm \
-v outlook-mcp-auth:/data/auth \
-e OUTLOOK_MCP_TENANT_ID=<tenant> \
-e OUTLOOK_MCP_CLIENT_ID=<client> \
ghcr.io/desek/outlook-local-mcp:latestSee Container deployment for the full client config snippet, and Container runtime for the keychain trade-off and image variants.
Claude Desktop extension (no terminal required):
Download the .mcpb file from the latest release and open it in Claude Desktop via Settings > Extensions > Install from file.
Claude Code or Cowork plugin: install the plugin from the Claude directory with /plugin. See the quickstart.
Related MCP server: outlook-mcp
Tool invocation shape
All operations use four aggregate domain tools dispatched by an operation verb, plus two opt-in ones registered only when their variable is set, contacts under OUTLOOK_MCP_CONTACTS_ENABLED and teams under OUTLOOK_MCP_TEAMS_ENABLED:
{tool: "calendar", args: {operation: "list_events", date: "today"}}
{tool: "mail", args: {operation: "list_folders"}}
{tool: "account", args: {operation: "list"}}
{tool: "system", args: {operation: "status"}}
{tool: "contacts", args: {operation: "search", query: "alex"}} // OUTLOOK_MCP_CONTACTS_ENABLED
{tool: "teams", args: {operation: "search", query: "release checklist"}} // OUTLOOK_MCP_TEAMS_ENABLEDCall any domain with operation: "help" to list its verbs and parameters.
Documentation
Guide | Contents |
Project overview and feature list | |
Prerequisites, installation, and first tool call | |
Output tiers, multi-account model, mail gating, OAuth scopes, observability, and more | |
Auth errors, Keychain issues, Graph throttling, and account lifecycle |
For LLM clients: see llms.txt for a machine-readable index.
Privacy Policy
The server runs locally and sends your data only to Microsoft services with your own credentials. Read the full privacy policy for what it accesses, keeps, and contacts.
Acknowledgements
Support and testing by GigWhere ❤️
License
MIT License. See LICENSE for details.
Available Tools
4 toolsaccountADestructive
Account management for Microsoft accounts connected to the Outlook MCP server.
Set the required operation parameter to one of the verbs below. Each line names the verb, what it does, and the parameters that verb requires. Optional parameters are omitted here; call operation="help" for the full parameter reference.
help: show detailed documentation for all verbs or a single named verb. No required parameters.add: add and authenticate a new Microsoft account (browser/device_code/auth_code). Requires: label.remove: remove an account from the registry and clear its tokens (irreversible). Requires: label.list: list all registered accounts with label, UPN, state, and auth_method. No required parameters.login: re-authenticate a disconnected account without removing it. Requires: label.logout: disconnect an account without removing it; preserves config for login. Requires: label.refresh: force a token refresh for an authenticated account; returns new expiry. Requires: label.
Inputs: operation (required), label, output, client_id, +2 more.
calendarADestructive
Calendar operations for Microsoft Outlook via Microsoft Graph.
Set the required operation parameter to one of the verbs below. Each line names the verb, what it does, and the parameters that verb requires. Optional parameters are omitted here; call operation="help" for the full parameter reference.
help: show detailed documentation for all verbs or a single named verb. No required parameters.list_calendars: list all calendars accessible to the authenticated user. No required parameters.list_events: list events in a time window; expands recurring events into occurrences. No required parameters.get_event: get full event details by ID; bodyPreview by default, full body via output=raw. Requires: event_id.search_events: search events by subject, date range, importance, sensitivity, and other filters. No required parameters.create_event: create a personal calendar event (no attendees); use create_meeting for meetings. Requires: subject, start_datetime.update_event: update a personal event (PATCH); use update_meeting to change attendees. Requires: event_id.delete_event: permanently delete an event by ID (organizer deletions notify attendees). Requires: event_id.respond_event: accept, tentatively accept, or decline an invitation; notifies organizer. Requires: event_id, response.reschedule_event: move a personal event to a new start time, preserving its original duration. Requires: event_id, new_start_datetime.create_meeting: create a meeting with attendees; sends invitations; confirm with user first. Requires: subject, start_datetime, attendees.update_meeting: update a meeting including attendee changes; sends notifications; confirm first. Requires: event_id.cancel_meeting: cancel a meeting and notify attendees; organizer only; confirm with user first. Requires: event_id.reschedule_meeting: move a meeting to a new start time, preserving duration; notifies attendees. Requires: event_id, new_start_datetime.get_free_busy: get free/busy availability for a time range; returns busy periods with times. No required parameters.
Inputs: operation (required), body, date, query, +29 more.
mailARead-onlyIdempotent
Mail operations for Microsoft Outlook via Microsoft Graph. By default only read verbs are registered. Additional read verbs (get_conversation, list_attachments, get_attachment) are registered when MailEnabled is configured, and write verbs (create_draft, create_reply_draft, create_forward_draft, update_draft, delete_draft) are registered when MailManageEnabled is configured. The verbs listed below are those active in the current configuration.
Set the required operation parameter to one of the verbs below. Each line names the verb, what it does, and the parameters that verb requires. Optional parameters are omitted here; call operation="help" for the full parameter reference.
help: show detailed documentation for all verbs or a single named verb. No required parameters.list_folders: list mail folders (Inbox, Sent, Drafts, etc.) with unread and total counts. No required parameters.list_messages: list messages in a folder or across all folders; filter by date, sender, thread. No required parameters.get_message: get full message details by ID; bodyPreview by default, full body via output=raw. Requires: message_id.search_messages: full-text KQL search across messages; ranked by relevance, not chronologically. Requires: query.
Inputs: operation (required), from, query, output, +14 more.
systemARead-onlyIdempotent
System diagnostics and authentication utilities for the Outlook MCP server. Start with system.about when troubleshooting; it returns build identity and host environment metadata without requiring authentication.
Set the required operation parameter to one of the verbs below. Each line names the verb, what it does, and the parameters that verb requires. Optional parameters are omitted here; call operation="help" for the full parameter reference.
help: show detailed documentation for all verbs or a single named verb. No required parameters.about: return build identity and host environment metadata for troubleshooting. No required parameters.status: return server health: version, accounts, uptime, config (no Graph call). No required parameters.list_docs: list embedded documentation: slug, title, summary, tags, size, and doc:// URI. No required parameters.search_docs: search embedded docs by keyword; returns ranked snippets with line numbers. Requires: query.get_docs: fetch a document or section by slug; use search_docs first to identify the slug. Requires: slug.
Inputs: operation (required), slug, query, output, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The four tools (account, calendar, mail, system) each cover a distinct domain with no overlap in their primary responsibilities. The sub-operations within each tool are also clearly separated, making it easy for an agent to select the right tool.
All tool names are single lowercase nouns (account, calendar, mail, system), following a consistent and predictable pattern. The sub-operations use a verb_noun convention, but the tool-level naming is uniform.
With only 4 tools, each serving a major functional area (account, calendar, mail, system), the count is well-scoped and appropriate. The sub-operation design keeps the top-level surface compact while still covering a broad domain.
The calendar and account tools provide comprehensive lifecycle coverage, but the mail tool in its current configuration only exposes read operations (list, get, search) and lacks essential write capabilities such as sending, replying, or managing drafts. This is a significant gap for a mail-oriented server.
Maintenance
Related MCP Connectors
Hosted MCP server for Gmail, Outlook, iCloud, Fastmail & Yahoo Mail with per-workspace controls.
Hosted email MCP for your own Gmail, Outlook.com, Microsoft 365, iCloud or IMAP inbox: read, search, draft, reply in thread, forward and file mail. It moves or flags up to 500 messages in one call, and a send leaves exactly one copy in Sent. A calendar is a separate connection, and connecting one adds diary and scheduling tools.
Your Gmail, Calendar, Drive, GitHub, Oura, wallet and confirmed profile facts in any MCP client.
Your IMAP mailbox as an MCP server: read, search and (if you allow it) organize mail. Open source.
Related MCP Servers
- AlicenseBqualityCmaintenanceMulti-account Google MCP server providing read access to Gmail and Calendar via stdio. Supports secure authentication for personal and work accounts with OAuth and keychain token storage.4MIT
- FlicenseAqualityCmaintenanceLocal MCP server for personal Outlook.com/Hotmail/Live accounts, enabling email triage, folder management, bulk operations, and newsletter unsubscribe via Microsoft Graph.21-
- AlicenseAqualityDmaintenanceA local stdio MCP server that enables reading, sending, and searching emails, as well as listing calendar events via Microsoft Graph API, using device-code authentication.10MIT
- AlicenseNot gradedqualityAmaintenanceA CLI and MCP server for Microsoft Outlook and OneDrive via the Microsoft Graph API, enabling AI agents to manage email, calendar, contacts, tasks, and files through the Model Context Protocol.23MIT