🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Outlook Mcp

by @mpalermiti

Production-grade MCP server for personal Outlook (Outlook.com / Hotmail / Live). 62 typed Graph tools across mail, calendar, contacts, to-do, drafts, attachm...

Versionv1.11.0
Downloads3,189
Stars⭐ 1
TERMINAL
clawhub install outlook-mcp

πŸ“– About This Skill


name: outlook-mcp description: Production-grade MCP server for personal Outlook (Outlook.com / Hotmail / Live). 54 typed Graph tools across mail, calendar, contacts, to-do, drafts, attachments, folders, threading, batch ops. Granular permissions, OS-keyring auth, /$batch-optimized triage. Built for agents that need real Outlook coverage, not a CLI wrapper. BYO Azure app; zero telemetry. homepage: https://github.com/mpalermiti/outlook-mcp metadata: openclaw: emoji: "\U0001F4EC" requires: python: ">=3.10" install: - id: uv kind: shell command: "git clone https://github.com/mpalermiti/outlook-mcp.git && cd outlook-mcp && uv sync" bins: ["outlook-mcp"] label: "Clone and install (uv)"

outlook-mcp

MCP server for Microsoft Outlook personal accounts (Outlook.com, Hotmail, Live). Provides AI agents with full access to mail, calendar, contacts, and tasks via Microsoft Graph API.

> Independent open-source project. Not affiliated with Microsoft.

Important

  • Personal Microsoft accounts only (@outlook.com, @hotmail.com, @live.com). Work/school accounts (Entra ID) are not supported in v1.
  • Requires Azure AD app registration β€” free, takes ~5 minutes, but you need a free Azure account first. See README.
  • Auth is CLI-based β€” run outlook-mcp auth on the host before the agent can use it. No interactive auth through MCP tools.
  • Setup

    1. Create a free Azure account at azure.microsoft.com/free (sign up with your @outlook.com address) 2. Register an Azure AD app (see README for step-by-step) 3. Configure: Create ~/.outlook-mcp/config.json:

       {
         "client_id": "YOUR-APP-CLIENT-ID",
         "tenant_id": "consumers",
         "timezone": "America/Los_Angeles",
         "read_only": true
       }
       
    4. Register with OpenClaw (writes to mcp.servers in ~/.openclaw/openclaw.json):
       openclaw mcp set outlook '{"command":"uv","args":["--directory","/path/to/outlook-mcp","run","outlook-mcp"]}'
       openclaw mcp list   # verify
       
    5. Authenticate on the host:
       cd /path/to/outlook-mcp && uv run outlook-mcp auth
       
    6. Restart the gateway: openclaw gateway restart

    Tools (54)

    Auth

  • outlook_auth_status β€” Check authentication status and read-only mode
  • Mail β€” Read

  • outlook_list_inbox β€” List messages with filters (folder, unread, sender, date)
  • outlook_read_message β€” Get full message by ID
  • outlook_search_mail β€” Search mail using KQL query
  • outlook_list_folders β€” List all mail folders
  • Mail β€” Write

  • outlook_send_message β€” Send email with recipients, CC, BCC, HTML, importance
  • outlook_reply β€” Reply or reply-all to a message
  • outlook_forward β€” Forward a message
  • Mail β€” Triage

  • outlook_move_message β€” Move to a folder
  • outlook_delete_message β€” Delete (soft by default, permanent optional)
  • outlook_flag_message β€” Set follow-up flag
  • outlook_categorize_message β€” Set categories
  • outlook_mark_read β€” Mark read or unread
  • outlook_reclassify_message β€” Move between Focused Inbox and Other
  • Calendar

  • outlook_list_events β€” List events in date range (expands recurring)
  • outlook_get_event β€” Get event details
  • outlook_create_event β€” Create event with attendees, recurrence, online meeting
  • outlook_update_event β€” Update event fields
  • outlook_delete_event β€” Delete event
  • outlook_rsvp β€” Accept, decline, or tentatively accept
  • Contacts

  • outlook_list_contacts β€” List with cursor pagination
  • outlook_search_contacts β€” Search by name or email
  • outlook_get_contact β€” Get full details
  • outlook_create_contact β€” Create
  • outlook_update_contact β€” Update
  • outlook_delete_contact β€” Delete
  • To Do

  • outlook_list_task_lists β€” List To Do lists
  • outlook_list_tasks β€” List tasks with status filter and pagination
  • outlook_create_task β€” Create with due date, importance, recurrence
  • outlook_update_task β€” Update
  • outlook_complete_task β€” Mark completed
  • outlook_delete_task β€” Delete
  • Drafts

  • outlook_list_drafts β€” List with pagination
  • outlook_create_draft β€” Create for later review
  • outlook_update_draft β€” Update
  • outlook_send_draft β€” Send
  • outlook_delete_draft β€” Delete
  • Attachments

  • outlook_list_attachments β€” List on a message
  • outlook_download_attachment β€” Download (base64 or save to file)
  • outlook_send_with_attachments β€” Send with files (auto upload session for >3MB)
  • outlook_attach_to_draft β€” Add attachments to an existing draft (auto upload session for >3MB)
  • outlook_remove_draft_attachment β€” Remove a single attachment from a draft
  • Folder Management

  • outlook_create_folder β€” Create (top-level or nested)
  • outlook_rename_folder β€” Rename
  • outlook_delete_folder β€” Delete (refuses well-known folders)
  • Threading and Batch

  • outlook_list_thread β€” Get all messages in a conversation
  • outlook_copy_message β€” Copy to another folder
  • outlook_batch_triage β€” Batch move/flag/categorize/mark_read (max 20)
  • User and Admin

  • outlook_whoami β€” Current user profile
  • outlook_list_calendars β€” Available calendars
  • outlook_list_categories β€” Category definitions with colors
  • outlook_get_mail_tips β€” Pre-send check (OOF, delivery restrictions)
  • outlook_list_accounts β€” Configured accounts
  • outlook_switch_account β€” Switch active account
  • Privacy

  • Zero telemetry, zero local caching
  • Only connects to login.microsoftonline.com and graph.microsoft.com
  • Tokens stored in OS keyring (macOS Keychain, Windows Credential Store)
  • BYOID: you register your own Azure AD app β€” no shared client ID
  • Notes

  • IDs are opaque Graph strings β€” get them from list/search tools, never guess
  • Dates are ISO 8601, UTC in responses, config timezone for input interpretation
  • Mail search uses KQL syntax
  • Start with read_only: true, flip when comfortable
  • Granular permissions: For finer control, set allow_categories in config (e.g., ["calendar_write"] to allow only calendar writes). See README for the 7 categories and example policies.
  • βš™οΈ Configuration

    1. Create a free Azure account at azure.microsoft.com/free (sign up with your @outlook.com address) 2. Register an Azure AD app (see README for step-by-step) 3. Configure: Create ~/.outlook-mcp/config.json:

       {
         "client_id": "YOUR-APP-CLIENT-ID",
         "tenant_id": "consumers",
         "timezone": "America/Los_Angeles",
         "read_only": true
       }
       
    4. Register with OpenClaw (writes to mcp.servers in ~/.openclaw/openclaw.json):
       openclaw mcp set outlook '{"command":"uv","args":["--directory","/path/to/outlook-mcp","run","outlook-mcp"]}'
       openclaw mcp list   # verify
       
    5. Authenticate on the host:
       cd /path/to/outlook-mcp && uv run outlook-mcp auth
       
    6. Restart the gateway: openclaw gateway restart

    πŸ“‹ Tips & Best Practices

  • IDs are opaque Graph strings β€” get them from list/search tools, never guess
  • Dates are ISO 8601, UTC in responses, config timezone for input interpretation
  • Mail search uses KQL syntax
  • Start with read_only: true, flip when comfortable
  • Granular permissions: For finer control, set allow_categories in config (e.g., ["calendar_write"] to allow only calendar writes). See README for the 7 categories and example policies.