Overslaan naar inhoud
CTech Digital
  • Startpagina
  • Odoo services
  • AI services
  • Contact
  • 0
  • Nederlands (BE) English (UK) Français
CTech Digital
  • 0
    • Startpagina
    • Odoo services
    • AI services
    • Contact
  • Nederlands (BE) English (UK) Français

MCP server for outlook

  • Alle blogs
  • Daily blog
  • MCP server for outlook
  • 11 december 2025 in
    CTech Metrology, Luc Wens

    There are several MCP servers available for Outlook/Office 365. Based on your use case (searching emails and creating overviews), here are the best options:

    Recommended Options

    1. @softeria/ms-365-mcp-server (Most comprehensive)

    • Covers the entire M365 suite: Outlook, Calendar, OneDrive, Excel
    • Easy to install via npx: npx -y @softeria/ms-365-mcp-server
    • Has a --read-only mode if you only need search/read access
    • Good email tools: list-mail-messages, list-mail-folders, get-mail-message
    • GitHub: https://github.com/Softeria/ms-365-mcp-server

    2. elyxlz/microsoft-mcp (Minimal & clean)

    • Focused on core functionality: email, calendar, OneDrive, contacts
    • Good for searching and listing emails with list_emails and include_body option
    • Multi-account support
    • GitHub: https://github.com/elyxlz/microsoft-mcp

    3. hvkshetry/office-365-mcp-server (Feature-rich)

    • Advanced email search with KQL support
    • 24 consolidated tools including Teams and Planner
    • Good if you want broader M365 integration later
    • GitHub: https://github.com/hvkshetry/office-365-mcp-server

    Setup Requirements (All Options)

    All of these require you to register an Azure AD app:

    1. Go to Azure Portal → Azure Active Directory → App registrations
    2. Create a new registration with redirect URI: http://localhost:3333/auth/callback
    3. Configure API permissions for Microsoft Graph (Mail.Read, Mail.ReadWrite, etc.)
    4. Generate a client secret
    5. Copy the Client ID and Client Secret to your MCP config

    For Claude Desktop

    Add to your claude_desktop_config.json:

    json

    {
      "mcpServers": {
        "ms365": {
          "command": "npx",
          "args": ["-y", "@softeria/ms-365-mcp-server", "--read-only"]
        }
      }
    }

    Given your existing technical setup with MCP servers for Odoo and other integrations, I'd recommend starting with the Softeria ms-365-mcp-server since it's easy to install, well-documented, and has the read-only mode which is perfect for search/overview use cases.

    Quick Start (No Azure Setup Required)

    Step 1: Add to Claude Desktop

    Edit your Claude Desktop config file. On Windows it's at:

    %APPDATA%\Claude\claude_desktop_config.json

    Add this to your mcpServers section:

    json

    {
      "mcpServers": {
        "ms365": {
          "command": "npx",
          "args": ["-y", "@softeria/ms-365-mcp-server", "--read-only"]
        }
      }
    }

    The --read-only flag is perfect for your use case (searching and reading only, no sending/deleting).

    Step 2: Restart Claude Desktop

    Close and reopen Claude Desktop to load the new MCP server.

    Step 3: Authenticate

    In Claude Desktop, simply ask:

    "Login to Microsoft 365"

    Claude will call the login tool, which triggers a device code flow:

    1. You'll get a URL (typically https://microsoft.com/devicelogin) and a code
    2. Open the URL in your browser
    3. Enter the code and sign in with your Office 365 account
    4. Grant the requested permissions
    5. Back in Claude, use verify-login to confirm

    Your token gets cached securely, so you won't need to re-authenticate often.

    Available Email Tools

    Once authenticated, you can use these for your email search/overview use case:

    ToolPurpose
    list-mail-messagesList recent emails (with filtering)
    list-mail-foldersSee all your folders (Inbox, Sent, etc.)
    list-mail-folder-messagesList emails in a specific folder
    get-mail-messageRead full email content
    search-queryUnified search across emails, files, etc.

    Example Prompts You Can Use

    Once set up:

    • "Search my emails for messages from KUKA in the last month"
    • "Give me an overview of unread emails about quotations"
    • "Find all emails with attachments from last week"
    • "List emails in my Inbox containing 'ISO 9283'"

    Optional: Custom Azure App (For Production)

    If you want more control over permissions or use this in a production environment, you can register your own Azure AD app:

    1. Go to Azure Portal → Azure Active Directory → App registrations
    2. Click New registration
    3. Set name: "MS365 MCP Server"
    4. Under Redirect URIs, add: http://localhost:6274/oauth/callback
    5. Click Register
    6. Copy the Application (client) ID
    7. Go to Certificates & secrets → New client secret → Copy the value
    8. Go to API permissions → Add:

      • Mail.Read (for reading emails)
      • Mail.ReadBasic (optional, for basic mail info)
      • User.Read (for profile info)
    9. Click Grant admin consent (if you're the admin)

    Then update your config:

    json

    {
      "mcpServers": {
        "ms365": {
          "command": "npx",
          "args": ["-y", "@softeria/ms-365-mcp-server", "--read-only"],
          "env": {
            "MS365_MCP_CLIENT_ID": "your-client-id-here",
            "MS365_MCP_CLIENT_SECRET": "your-client-secret-here"
          }
        }
      }
    }

    And the actual version on my PC:

    {
    "mcpServers": {
    "blender": {
    "command": "uvx",
    "args": [
    "blender-mcp"
    ]
    },
    "visual": {
    "command": "uv",
    "args": [
    "--directory",
    "d:\\MCP\\GitHub\\visual-mcp-server",
    "run",
    "visual.py"
    ]
    },
    "odoo-website": {
    "command": "node",
    "args": [
    "d:\\MCP\\OdooWebsite\\dist\\index.js"
    ],
    "env": {
    "ODOO_CONFIG_FILE": "d:\\MCP\\OdooWebsite\\ui\\odoo_databases.json"
    }
    },
    "ms365": {
    "command": "npx",
    "args": [
    "-y",
    "@softeria/ms-365-mcp-server",
    "--read-only"
    ]
    }
    }
    }
    in Daily blog
    # Claude
    Xenomatix partnership
    Copyright © CTech
    Nederlands (BE) | English (UK) | Français
    Aangeboden door Odoo - De #1 Open source e-commerce