Outlook Attachments

v1.0.0β€’File Systemsβ€’stable

πŸ“‡ ☁️ 🏠 πŸͺŸ - Remote HTTP MCP serv

claude-mcpclaude-mcp-servermcp-email-attachments
Share:
8
Stars
0
Downloads
0
Weekly
0/5

What is Outlook Attachments?

Outlook Attachments is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to πŸ“‡ ☁️ 🏠 πŸͺŸ - remote http mcp serv

πŸ“‡ ☁️ 🏠 πŸͺŸ - Remote HTTP MCP serv

This server falls under the File Systems category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP protocol support

Use Cases

Read and access email attachments from Outlook through Claude.
Zacccck

Maintainer

LicenseMIT License
Languagejavascript
Versionv1.0.0
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx claude-read-outlook-attachments

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Outlook Attachments

Claude-MCP-Read-Email-Attachments is a remote HTTP MCP server that gives Claude access to your Microsoft 365 Outlook inbox. It supports listing recent messages, reading email bodies, listing and downloading attachments, and sending emails with local file attachments β€” all authenticated via Microsoft Entra (Azure AD) using the device code flow.

Prerequisites

  • Node.js 20 or later installed
  • A Microsoft 365 account (personal or work/school)
  • An Azure Entra app registration with delegated permissions: User.Read, Mail.ReadWrite, Mail.Send
  • Claude Desktop installed
  • Git to clone the repository
1

Clone the repository and install dependencies

Download the project and install all Node.js dependencies.

git clone https://github.com/Zacccck/Claude-MCP-Read-Email-Attachments.git
cd Claude-MCP-Read-Email-Attachments
npm install
2

Create an Azure Entra app registration

In the Azure Portal (portal.azure.com), go to Azure Active Directory > App registrations > New registration. Set the redirect URI to a public client/native URI. Under API permissions add Mail.ReadWrite, Mail.Send, and User.Read (all delegated). Copy the Application (client) ID for the next step.

3

Configure the .env file

Copy the example environment file and set your Azure app credentials. M365_CLIENT_ID is required; the other variables are optional.

cp .env.example .env
# Edit .env:
# M365_CLIENT_ID=your-azure-app-client-id
# M365_TENANT_ID=common          # or your specific tenant ID
# M365_AUTO_OPEN_BROWSER=true     # auto-open browser for login
# M365_SEND_MAX_BYTES=3145728     # 3 MB attachment limit
# M365_MCP_DATA_DIR=~/.m365-mcp   # auth token cache location
4

Add the server to Claude Desktop configuration

Register the MCP server in Claude Desktop's config file so it launches the local Node.js server on startup.

{
  "mcpServers": {
    "outlook-attachments": {
      "command": "node",
      "args": ["/absolute/path/to/Claude-MCP-Read-Email-Attachments/index.js"],
      "env": {
        "M365_CLIENT_ID": "your-azure-app-client-id",
        "M365_TENANT_ID": "common"
      }
    }
  }
}
5

Authenticate with Microsoft 365

After restarting Claude Desktop, ask Claude to begin the authentication flow. A device code or browser window will appear for Microsoft login.

6

Verify authentication and list emails

Confirm the auth status, then start reading emails and attachments.

Outlook Attachments Examples

Client configuration

Claude Desktop configuration for the Outlook Attachments MCP server.

{
  "mcpServers": {
    "outlook-attachments": {
      "command": "node",
      "args": ["/path/to/Claude-MCP-Read-Email-Attachments/index.js"],
      "env": {
        "M365_CLIENT_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "M365_TENANT_ID": "common",
        "M365_AUTO_OPEN_BROWSER": "true",
        "M365_SEND_MAX_BYTES": "3145728"
      }
    }
  }
}

Prompts to try

Example prompts to use after authenticating with Microsoft 365.

- "Please call begin_auth to sign me into my Microsoft account"
- "List my 10 most recent Outlook emails"
- "Find the latest invoice email and extract all line items from the PDF attachment"
- "Read the body of the email from my manager yesterday"
- "Send an email to [email protected] with the file ~/reports/Q2.xlsx attached"

Troubleshooting Outlook Attachments

begin_auth returns 'AADSTS70011: The provided request must include a scope'

In your Entra app registration, ensure the delegated API permissions (User.Read, Mail.ReadWrite, Mail.Send) have been added and admin consent granted if required by your tenant.

Attachment exceeds size limit and read_email_attachment fails

Increase the M365_SEND_MAX_BYTES environment variable (default is 3 MB = 3145728 bytes). Set it to a larger value in your .env file or in the Claude Desktop config env block.

Server starts but Claude shows 'health_check failed'

Confirm Node.js 20+ is installed and that the path in the args array points to the correct index.js file. Run 'node index.js' manually in a terminal to see startup errors.

Frequently Asked Questions about Outlook Attachments

What is Outlook Attachments?

Outlook Attachments is a Model Context Protocol (MCP) server that πŸ“‡ ☁️ 🏠 πŸͺŸ - remote http mcp serv It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Outlook Attachments?

Follow the installation instructions on the Outlook Attachments GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Outlook Attachments?

Outlook Attachments works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Outlook Attachments free to use?

Yes, Outlook Attachments is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More File Systems MCP Servers

Explore all file systems servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "claude-read-outlook-attachments": { "command": "npx", "args": ["-y", "claude-read-outlook-attachments"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide β†’

Ready to use Outlook Attachments?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides