Skip to main content
Glama
outlook-local-mcp

outlook-local-mcp

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@latest

Docker / 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:latest

See 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_ENABLED

Call any domain with operation: "help" to list its verbs and parameters.

Documentation

Guide

Contents

docs/readme.md

Project overview and feature list

docs/quickstart.md

Prerequisites, installation, and first tool call

docs/concepts.md

Output tiers, multi-account model, mail gating, OAuth scopes, observability, and more

docs/troubleshooting.md

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 tools
accountA
Destructive

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.

calendarA
Destructive

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.

mailA
Read-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.

systemA
Read-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

    A4.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness3/5

    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

    ActivitySlowing
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Multi-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.
      4
      MIT
    • F
      license
      A
      quality
      C
      maintenance
      Local MCP server for personal Outlook.com/Hotmail/Live accounts, enabling email triage, folder management, bulk operations, and newsletter unsubscribe via Microsoft Graph.
      21
      -
    • A
      license
      A
      quality
      D
      maintenance
      A 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.
      10
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      A 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.
      23
      MIT