Iris logo

Iris

Microsoft 365 mail MCP server for reading messages and creating reviewable drafts without sending by default.

Install Iris

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "iris": {
      "command": "uvx",
      "args": [
        "iris-mcp"
      ],
      "env": {
        "IRIS_CLIENT_ID": "YOUR_VALUE_HERE",
        "IRIS_TENANT_ID": "YOUR_VALUE_HERE",
        "IRIS_TOKEN_CACHE": "YOUR_VALUE_HERE",
        "IRIS_FLOW_FILE": "YOUR_VALUE_HERE",
        "IRIS_AUDIT_LOG": "YOUR_VALUE_HERE",
        "IRIS_DRAFT_FOLDER": "YOUR_VALUE_HERE",
        "IRIS_DISABLE_READ": "YOUR_VALUE_HERE",
        "IRIS_ENABLE_SEND": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx iris-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The iris MCP server connects AI agents to Microsoft 365 mail through Microsoft Graph using delegated permissions and local device-code sign-in. It can inspect folders, messages, and conversations, then create, revise, list, or delete drafts without requesting Mail.Send by default. Run it when an agent needs mailbox context and draft assistance while a person retains the final send step. Sending is an opt-in mode that requires additional consent, confirmation, and recipient allowlist checks.

Use cases

  • Search a Microsoft 365 mailbox for messages matching Outlook/KQL criteria
  • Read a conversation before preparing a response
  • Create and revise Outlook drafts for human review
  • Keep agent-created drafts in a separate mail folder
  • Disable mailbox reading for a drafts-only tool surface

Key features

  • Microsoft Graph delegated mailbox access
  • Device-code authentication
  • Message, folder, and thread retrieval
  • Draft creation and revision
  • Optional confirmed draft sending
  • Recipient allowlist and audit logging

Tools13

What Iris lets your agent do. Expand a tool for its parameters.

Self-reported~265 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 73d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · iris-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed13Callable tools this server registers over MCP.

How Iris works

What the iris MCP server does

The iris MCP server gives an AI client access to a Microsoft 365 mailbox through Microsoft Graph. Its default scope is delegated Mail.ReadWrite, which supports reading mail and managing drafts but does not grant permission to send messages. Drafts can be stored in a dedicated top-level folder named AI Drafts by default, or in another selected folder.

The server is designed for workflows where an agent gathers mailbox context, proposes a response, and leaves a real Outlook draft for a person to review. It does not provide autonomous sending in its default configuration. The read operations do not mark messages as read or create folders, and calls are recorded in an audit log.

How it works

iris runs locally as a stdio MCP server. The MCP client starts it as a child process, and the process communicates directly with the Microsoft Graph service from the same machine. There is no hosted service or shared application registration; each deployment uses an Entra application created by the operator.

Authentication uses the device-code flow. Call iris_login to receive a URL and code, complete the sign-in in a browser, and then call iris_login_finish. The latter can be called repeatedly while the user enters the code. Authentication status reports the signed-in identity, granted scopes, and Graph connectivity. Tokens are cached locally with restrictive file permissions.

The iris MCP server exposes separate operations for mailbox discovery, message retrieval, search, conversation reading, and draft management. Message search accepts Outlook/KQL-style expressions such as sender, subject, and received-date filters. Message content comes from the mailbox and should be treated as data rather than agent instructions.

Setup and configuration

Use Python 3.10 or newer. The documented launch options are uvx iris-mcp or installation with pip install iris-mcp. Register an Entra application, enable public client flows, add delegated Microsoft Graph Mail.ReadWrite, and provide its application and directory IDs to the MCP client.

A minimal configuration sets IRIS_CLIENT_ID and IRIS_TENANT_ID while launching iris-mcp through uvx. Optional settings can select the token cache, pending device-code flow file, audit log, and default draft folder. IRIS_DISABLE_READ=1 removes the read tools, while IRIS_DRAFT_FOLDER controls the default draft destination. Separate instances can use separate paths and credentials for different tenants or mailboxes.

Tools and capabilities

Available tools cover:

  • Device-code login, login completion, and authentication status.
  • Top-level folder listing and recent-message listing, with unread and date filters.
  • Outlook/KQL mailbox search, full-message retrieval, and whole-thread retrieval.
  • Draft creation with recipients, subject, plain text or HTML body, reply-to details, and an optional folder.
  • Draft listing, in-place updates, and confirmed deletion.

iris_send_draft is registered only when IRIS_ENABLE_SEND=1. Enabling it also requires delegated Mail.Send permission and renewed consent. Sending requires confirm=true, verifies that the item remains an unsent draft, and checks the recipient allowlist again. The tool never combines composition and sending in one operation.

Limitations and notes

The default iris MCP server cannot send mail because its Microsoft Graph token lacks Mail.Send; a confirmation prompt alone is not the security boundary. Enabling sending changes that guarantee and should be done only when the weaker, code-level confirmation model is acceptable.

The server supports local stdio clients, including Claude Desktop and Cursor. It does not directly support clients that accept only remote HTTP MCP connectors. Drafts placed in a dedicated folder may not appear in Outlook's normal Drafts view, so users must open that folder to review them. Reply creation can also result in a new message ID after Graph moves the draft into its configured folder.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Iris

iris is an MCP server that connects AI clients to Microsoft 365 mail through Microsoft Graph. Its main tools authenticate with device code, search and read folders, messages, and threads, and create, list, update, or delete drafts. Sending is disabled by default because Mail.Send is not requested.

Install it with `uvx iris-mcp` for a no-install launch or `pip install iris-mcp`. Use Python 3.10 or newer, register an Entra application with public client flows enabled, and configure `IRIS_CLIENT_ID` and `IRIS_TENANT_ID` in the MCP client.

Yes, iris works with Cursor as a local stdio MCP server. Configure Cursor to launch `uvx` with the `iris-mcp` argument and provide the Entra application and tenant IDs as environment variables.

Not by default. The default configuration omits Microsoft Graph's `Mail.Send` permission, so it can create drafts but cannot transmit them. Sending requires adding that delegated permission, setting `IRIS_ENABLE_SEND=1`, signing in again, and confirming each draft send.

Set `IRIS_DRAFT_FOLDER` to the desired folder name, or use the `folder` parameter when creating or listing drafts. The default folder is `AI Drafts`; it is created when first needed, and drafts there do not appear in Outlook's normal Drafts view.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewIris AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/iris?style=directory)](https://allmcps.com/mcp/iris)
HTML Embed
<a href="https://allmcps.com/mcp/iris"><img src="https://allmcps.com/api/badge/iris?style=directory" alt="Iris on AllMCPs" /></a>