Skip to content
MCP server

Outlook

Outlook integration with OAuth, message search, batch operations, and calendar management

Install
Runs
Locally or Remotely
Version
2.3.1
Listing updated
4 days ago

About Outlook

Outlook is an MCP server for communication. It can run locally on your machine or as a hosted remote server.

Install

Run in a terminal

claude mcp add mcp-outlook --env MS_CLIENT_ID='<MS_CLIENT_ID>' --env MS_TENANT_ID='<MS_TENANT_ID>' --env MS_CLIENT_SECRET='<MS_CLIENT_SECRET>' -- npx -y @mcp-z/mcp-outlook

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-outlook": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-z/mcp-outlook"
      ],
      "env": {
        "MS_CLIENT_ID": "<MS_CLIENT_ID>",
        "MS_TENANT_ID": "<MS_TENANT_ID>",
        "MS_CLIENT_SECRET": "<MS_CLIENT_SECRET>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-outlook": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-z/mcp-outlook"
      ],
      "env": {
        "MS_CLIENT_ID": "<MS_CLIENT_ID>",
        "MS_TENANT_ID": "<MS_TENANT_ID>",
        "MS_CLIENT_SECRET": "<MS_CLIENT_SECRET>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-outlook": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mcp-z/mcp-outlook"
      ],
      "env": {
        "MS_CLIENT_ID": "<MS_CLIENT_ID>",
        "MS_TENANT_ID": "<MS_TENANT_ID>",
        "MS_CLIENT_SECRET": "<MS_CLIENT_SECRET>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-outlook": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-z/mcp-outlook"
      ],
      "env": {
        "MS_CLIENT_ID": "<MS_CLIENT_ID>",
        "MS_TENANT_ID": "<MS_TENANT_ID>",
        "MS_CLIENT_SECRET": "<MS_CLIENT_SECRET>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-outlook": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-z/mcp-outlook"
      ],
      "env": {
        "MS_CLIENT_ID": "<MS_CLIENT_ID>",
        "MS_TENANT_ID": "<MS_TENANT_ID>",
        "MS_CLIENT_SECRET": "<MS_CLIENT_SECRET>"
      }
    }
  }
}

Configuration

  • MS_CLIENT_IDMicrosoft OAuth client ID (required for OAuth authentication modes)Required
  • MS_TENANT_IDMicrosoft tenant ID (required for OAuth authentication)Required
  • MS_CLIENT_SECRETMicrosoft OAuth client secret (optional for public clients)
  • AUTH_MODEAuthentication mode
  • HEADLESSDisable browser auto-open, return auth URL instead (true/false)
  • REDIRECT_URIOAuth redirect URI (optional, default: ephemeral loopback)
  • RESOURCE_STORE_URIResource store URI for CSV export files (file://)
  • PORTHTTP server port (overrides --port)
  • BASE_URLBase URL for HTTP transport (used for OAuth/DCR endpoints and file links)
  • LOG_LEVELLogging level
  • MS_CLIENT_IDMicrosoft OAuth client ID (required for OAuth authentication modes)Required
  • MS_TENANT_IDMicrosoft tenant ID (required for OAuth authentication)Required
  • MS_CLIENT_SECRETMicrosoft OAuth client secret (optional for public clients)
  • AUTH_MODEAuthentication mode
  • HEADLESSDisable browser auto-open, return auth URL instead (true/false)
  • REDIRECT_URIOAuth redirect URI (optional, default: ephemeral loopback)
  • DCR_MODEDynamic Client Registration mode
  • DCR_VERIFY_URLExternal verification endpoint URL (required for external DCR mode)
  • DCR_STORE_URIDCR client storage URI (for self-hosted DCR mode)
  • RESOURCE_STORE_URIResource store URI for CSV export files (file://)
  • PORTHTTP server port (overrides --port)
  • BASE_URLBase URL for HTTP transport (used for OAuth/DCR endpoints and file links)
  • LOG_LEVELLogging level

Outlook FAQ

How do I add Outlook to Claude Code?

Run this command in your terminal: claude mcp add mcp-outlook --env MS_CLIENT_ID='<MS_CLIENT_ID>' --env MS_TENANT_ID='<MS_TENANT_ID>' --env MS_CLIENT_SECRET='<MS_CLIENT_SECRET>' -- npx -y @mcp-z/mcp-outlook

What are the best alternatives to Outlook?

The closest alternatives to Outlook are BoardAgent, Callout, nicemails, SOMMON Office and PostBaton.

Alternatives to Outlook

  1. BoardAgent

    MCP server

    Remote MCP server for a message board where only AI agents post, reply and vote

    • 27 tools
    • Remote
    • Free
    • Community directories
  2. Callout

    MCP server

    Let an AI agent place real phone calls in Japanese or English and read the transcript

    • 5 tools
    • Remote
    • Freemium
    • Communication
  3. nicemails

    MCP server

    Give each AI agent its own real mailbox to read, search and send email with your approval

    • 8 tools
    • Remote
    • Freemium
    • Communication
  4. SOMMON Office

    MCP server

    Send real paper letters via Deutsche Post from an AI assistant, to 218 countries

    Not checked yet
    • 14 tools
    • Remote
    • Paid
    • Communication
  5. PostBaton

    MCP server

    Schedule, edit and cancel social posts across networks from an AI assistant or REST API

    Not checked yet
    • Remote
    • Freemium
    • Marketing and SEO
  6. MeetBetr

    MCP server

    Find when friends are free and send them a plan after you confirm it

    • Remote
    • Free
    • Productivity