Skip to content
MCP server
Registry

Outlook Personal MCP Server

Full-control MCP server for a personal Outlook.com mailbox and calendar (Microsoft Graph).

Outlook Personal MCP scores 38 (Limited), licensed MIT and written in Python. It installs as a local process. It declares 29 tools. Filed under Communication. GitHub shows 2 stars. Package registries report about 78 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by salahawadMITPython2 stars
Trust score
38Limited
Trust score 38 of 100, Limited

Limited trust

38 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 38 comes from

0 + 6 + 5 + 10 + 10 + 7 = 38. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance6 / 20

How recently the repository saw a commit or release.

Maintenance: 6 of 20 points.
Popularity5 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 5 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "salahawad-outlook-personal-mcp": {      "command": "uvx",      "args": [        "mcp-outlook-personal"      ],      "env": {        "OUTLOOK_MCP_CLIENT_ID": "",        "OUTLOOK_MCP_AUTHORITY": "",        "OUTLOOK_MCP_FILE_ROOT": "",        "OUTLOOK_MCP_MAX_FILE_BYTES": "",        "OUTLOOK_MCP_ALLOW_PERMANENT_DELETE": "",        "OUTLOOK_MCP_DEBUG": ""      }    }  }}

Environment variables

NameRequiredNotes
OUTLOOK_MCP_CLIENT_IDRequiredAzure App Registration client ID (Application ID). Required. Create a free app at https://portal.azure.com — see README for the three-minute setup.
OUTLOOK_MCP_AUTHORITYOptionalAzure AD authority URL. Defaults to https://login.microsoftonline.com/consumers which covers personal Microsoft accounts (Outlook.com, Hotmail, Live). Change only if you target a different tenant.
OUTLOOK_MCP_FILE_ROOTOptionalOnly files under this directory can be read by add_attachment or written by download_attachment. Defaults to ~/.local/share/outlook-personal-mcp/files.
OUTLOOK_MCP_MAX_FILE_BYTESOptionalMaximum bytes allowed for local attachment reads and attachment downloads. Defaults to 3145728.
OUTLOOK_MCP_ALLOW_PERMANENT_DELETEOptionalSet to 'true' to enable the permanent_delete tool which irrecoverably erases messages (bypasses Deleted Items). Disabled by default for safety.
OUTLOOK_MCP_DEBUGOptionalSet to 'true' to enable debug-level logging for Graph API requests and responses.

Tools29Tool docs quality grade C

All capabilities
  • Attach a local file (a regular, non-symlink file under OUTLOOKMCPFILEROOT) to a draft

  • Copy a message to another folder

  • Create a draft message (not sent)

  • Create a calendar event with optional attendees and online meeting

  • Create a mail folder, optionally nested under a parent

  • Delete/cancel a calendar event

  • Delete a mail folder (moves it to Deleted Items)

  • Delete a message (moves it to Deleted Items; reversible)

  • Download an attachment to a path under OUTLOOKMCPFILEROOT (refuses to overwrite an existing file)

  • Get free/busy availability for a list of people over a time window

  • Flag or unflag a message

  • Get one event including body, attendees, and online meeting link

About

outlook-personal-mcp

An MCP server that gives Claude Code and Codex full control of a personal Outlook.com mailbox and calendar via the Microsoft Graph API. Written in Python, speaks the MCP stdio transport, and uses per-user device-code OAuth so your credentials never leave your machine. MIT licensed.


Features

  • Mail — list, search, read, send, reply, forward, move, copy, flag, mark read/unread, delete (soft or hard)
  • Drafts — create, update, attach local files, send
  • Folders — list, create, rename, delete
  • Calendar — list calendars, list/search/get/create/update/delete events, respond to invites (accept/decline/tentative), check free/busy availability
  • Per-user OAuth — you register your own free Azure app; the server authenticates with your Microsoft account and caches the token locally
  • Local stdio — runs as a child process of the MCP host; your mailbox data never transits a third party

Prerequisites

  • Python 3.10 or later
  • uv (fast Python package and tool runner) — required at runtime: the server is launched via uvx, and it is not bundled by your MCP host (including Claude Desktop). Install it with curl -LsSf https://astral.sh/uv/install.sh | sh (macOS/Linux) or powershell -c "irm https://astral.sh/uv/install.ps1 | iex" (Windows).
  • A personal Microsoft account (Outlook.com, Hotmail, Live, etc.)
  • A free Azure app registration (see below — takes about three minutes)

Azure App Registration

  1. Go to https://portal.azure.com → Microsoft Entra ID → App registrations → New registration.

  2. Name it anything you like (e.g. outlook-personal-mcp). Under Supported account types choose Personal Microsoft accounts only. No redirect URI is needed. Click Register.

  3. Open the app → Authentication → Advanced settings → Allow public client flows → set to Yes → Save. (This is required for the device-code login flow used by this server.)

  4. Go to API permissions → Add a permission → Microsoft Graph → Delegated permissions, then add:

    • Mail.ReadWrite
    • Mail.Send
    • Calendars.ReadWrite

    (User.Read is included by default; offline_access is requested automatically at runtime — you do not need to add it.)

  5. Copy the Application (client) ID from the Overview page. This is your OUTLOOK_MCP_CLIENT_ID.

Alternatively: create the app with the Azure CLI

If you have the az CLI, the whole registration is one command:

az login --use-device-code --allow-no-subscriptions   # sign in with your personal account

az ad app create \
  --display-name "outlook-personal-mcp" \
  --sign-in-audience PersonalMicrosoftAccount \
  --is-fallback-public-client true \
  --required-resource-accesses '[{"resourceAppId":"00000003-0000-0000-c000-000000000000","resourceAccess":[{"id":"024d486e-b451-40bb-833d-3e66d98c5c73","type":"Scope"},{"id":"e383f46e-2787-4529-855e-0e479a3ffac0","type":"Scope"},{"id":"1ec239c2-d7c9-4623-a91a-a9775856bb36","type":"Scope"}]}]' \
  --query appId -o tsv

The printed appId is your OUTLOOK_MCP_CLIENT_ID. (The GUIDs are the Microsoft Graph delegated scopes Mail.ReadWrite, Mail.Send, and Calendars.ReadWrite.) Note: a brand-new app registration takes a few minutes to propagate to Microsoft's consumer login endpoint — if your first login fails with AADSTS700016 ("application … not found"), wait a few minutes and retry.


Install & First-Time Login

Run the one-time interactive login. It prints a short URL and a code; open the URL in any browser, enter the code, approve the permissions, and you are done. The token is cached at ~/.config/outlook-personal-mcp/token_cache.bin (mode 600) and refreshed automatically on subsequent runs — you will not be prompted again unless the refresh token expires or is revoked.

OUTLOOK_MCP_CLIENT_ID=<your-app-client-id> uvx mcp-outlook-personal login

To run the latest unreleased code from source instead of the PyPI release, swap mcp-outlook-personal for --from git+https://github.com/salahawad/outlook-personal-mcp mcp-outlook-personal.


Configure Claude Code

Add the server to your project's .mcp.json (or ~/.claude/.mcp.json for all projects):

{
  "mcpServers": {
    "outlook": {
      "command": "uvx",
      "args": ["mcp-outlook-personal"],
      "env": { "OUTLOOK_MCP_CLIENT_ID": "<your-app-client-id>" }
    }
  }
}

Alternatively, use the CLI: claude mcp add.


Configure Codex

Add the server to ~/.codex/config.toml:

[mcp_servers.outlook]
command = "uvx"
args = ["mcp-outlook-personal"]
env = { OUTLOOK_MCP_CLIENT_ID = "<your-app-client-id>" }

Install as a Claude Desktop extension (.mcpb)

This server is also packaged as a Claude Desktop extension (.mcpb). Build the bundle from a checkout:

npx @anthropic-ai/mcpb pack . dist/mcp-outlook-personal.mcpb

Then in Claude Desktop open Settings → Extensions, install the dist/mcp-outlook-personal.mcpb file, and enter your Azure App Client ID (plus any optional settings) when prompted.

Requirement: the extension launches the server with uvx mcp-outlook-personal, so uv must be installed and on your PATH — Claude Desktop does not bundle it (see Prerequisites). Codex and other stdio hosts use the config above instead of the .mcpb.


Configuration (Environment Variables)

VariableRequiredDefaultDescription
OUTLOOK_MCP_CLIENT_IDYes—Azure app's Application (client) ID
OUTLOOK_MCP_AUTHORITYNohttps://login.microsoftonline.com/consumersMSAL authority URL (change only if you move to a work/school tenant)
OUTLOOK_MCP_TOKEN_CACHENo~/.config/outlook-personal-mcp/token_cache.binPath to the MSAL token cache file
OUTLOOK_MCP_FILE_ROOTNo~/.local/share/outlook-personal-mcp/filesOnly files under this directory can be read by add_attachment or written by download_attachment
OUTLOOK_MCP_MAX_FILE_BYTESNo3145728Maximum bytes allowed for local attachment reads and attachment downloads
OUTLOOK_MCP_ALLOW_PERMANENT_DELETENofalseSet to true to enable the permanent_delete tool (irreversible — see below)
OUTLOOK_MCP_DEBUGNofalseSet to true to log each Graph request's method, URL, and HTTP status code to stderr. Never logs tokens or message content.

Tools

Account

ToolDescription
whoamiReturn the signed-in user's Microsoft account profile

Mail

ToolDescription
list_messagesList messages (newest first); optionally filter by folder or unread-only
search_messagesFull-text search across the entire mailbox (Graph $search)
get_messageGet a single message; optionally include the full body
list_attachmentsList a message's attachments (id, name, size, content type)
download_attachmentDownload an attachment to a path under OUTLOOK_MCP_FILE_ROOT (refuses to overwrite an existing file)
send_mailSend an email
replyReply to a message (reply_all to reply to everyone)
forwardForward a message to recipients with an optional comment
move_messageMove a message to another folder
copy_messageCopy a message to another folder
mark_readMark a message read or unread
flag_messageFlag or unflag a message
delete_messageDelete a message (moves it to Deleted Items; reversible)
permanent_deletePermanently delete a message (irreversible). Only available when OUTLOOK_MCP_ALLOW_PERMANENT_DELETE=true

Folders

ToolDescription
list_foldersList mail folders with unread and total message counts
create_folderCreate a mail folder, optionally nested under a parent
rename_folderRename a mail folder
delete_folderDelete a mail folder (moves it to Deleted Items)

Drafts

ToolDescription
create_draftCreate a draft message (not sent)
update_draftUpdate a draft's subject and/or body
add_attachmentAttach a local file (a regular, non-symlink file under OUTLOOK_MCP_FILE_ROOT) to a draft
send_draftSend an existing draft

Calendar

ToolDescription
list_calendarsList the user's calendars
list_eventsList events; if start/end (ISO 8601) are given, returns that time window
search_eventsSearch events by free text
get_eventGet one event including body, attendees, and online meeting link
create_eventCreate a calendar event with optional attendees and online meeting
update_eventUpdate fields on an existing event (only provided fields change)
delete_eventDelete/cancel a calendar event
respond_eventRespond to a meeting invite: accept, decline, or tentative
find_availabilityGet free/busy availability for a list of people over a time window

Permanent Delete

The permanent_delete tool bypasses the Deleted Items folder and removes a message irreversibly. It is disabled by default — when OUTLOOK_MCP_ALLOW_PERMANENT_DELETE is not set (or is false), the tool is not registered with the MCP server at all and will not appear in the tool list.

To enable it, set OUTLOOK_MCP_ALLOW_PERMANENT_DELETE=true in the server's environment block in your .mcp.json / config.toml. Only do this if you understand the consequences: there is no undo and no Recoverable Items path for personal accounts.


Security

  • Token cache is a credential. The file at ~/.config/outlook-personal-mcp/token_cache.bin contains a long-lived refresh token. It is written with mode 600, but treat it like a password — never commit it, never share it, and store it on an encrypted volume.
  • Data stays local. The server runs as a child process of Claude Code / Codex over stdio. Your mailbox content is passed directly between the MCP host and the Microsoft Graph API; no third-party relay is involved.
  • Revocation. To revoke access, delete the token cache file and/or navigate to https://account.microsoft.com/permissions to remove the Azure app's consent. You can also delete the Azure app registration entirely from the portal.
  • File paths. download_attachment writes only under OUTLOOK_MCP_FILE_ROOT and refuses to overwrite existing files. add_attachment reads only regular, non-symlink files under OUTLOOK_MCP_FILE_ROOT. Relative paths are resolved under that root; absolute paths outside it (and any path traversing a symlink) are rejected. Both tools enforce OUTLOOK_MCP_MAX_FILE_BYTES. Review these paths before confirming any tool call that touches the filesystem.

Development

git clone https://github.com/salahawad/outlook-personal-mcp
cd outlook-personal-mcp
uv venv && uv pip install -e ".[dev]"
uv run pytest
uv run ruff check .

Privacy Policy

This server runs entirely on your machine and sends data only between your machine and Microsoft's Graph API — no third-party relay, no telemetry, and the maintainer receives nothing. OAuth tokens are cached locally at ~/.config/outlook-personal-mcp/token_cache.bin (mode 600). See PRIVACY.md for the full privacy policy.


License

MIT — see LICENSE.

Frequently asked questions

What is Outlook Personal MCP Server?

Full-control MCP server for a personal Outlook.com mailbox and calendar (Microsoft Graph).

How do I install Outlook Personal MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Outlook Personal MCP Server runs locally from the PyPI package mcp-outlook-personal with the command uvx mcp-outlook-personal.

Is Outlook Personal MCP Server free and open source?

Yes. Outlook Personal MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Outlook Personal MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Outlook Personal MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does Outlook Personal MCP Server provide?

Outlook Personal MCP Server provides 29 tools, including add_attachment, copy_message, create_draft, and create_event. See the full tool list for descriptions and parameters.

How is Outlook Personal MCP Server's trust score calculated?

Outlook Personal MCP Server scores 38 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server