← Index

Outlook

io.github.mcp-z/mcp-outlook·v1.0.13·Email
Quality Score
79
/100

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

§01  Install
Claude Desktop (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": "<your-ms_client_secret>",
        "AUTH_MODE": "<auth_mode>",
        "HEADLESS": "false",
        "REDIRECT_URI": "<redirect_uri>",
        "RESOURCE_STORE_URI": "<resource_store_uri>",
        "PORT": "<port>",
        "BASE_URL": "<base_url>",
        "LOG_LEVEL": "<log_level>",
        "DCR_MODE": "self-hosted",
        "DCR_VERIFY_URL": "<dcr_verify_url>",
        "DCR_STORE_URI": "file://~/.mcp-z/mcp-outlook/dcr.json"
      }
    }
  }
}
Cursor (.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": "<your-ms_client_secret>",
        "AUTH_MODE": "<auth_mode>",
        "HEADLESS": "false",
        "REDIRECT_URI": "<redirect_uri>",
        "RESOURCE_STORE_URI": "<resource_store_uri>",
        "PORT": "<port>",
        "BASE_URL": "<base_url>",
        "LOG_LEVEL": "<log_level>",
        "DCR_MODE": "self-hosted",
        "DCR_VERIFY_URL": "<dcr_verify_url>",
        "DCR_STORE_URI": "file://~/.mcp-z/mcp-outlook/dcr.json"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y @mcp-z/mcp-outlook
§02  Environment variables
MS_CLIENT_ID
required

Microsoft OAuth client ID (required for OAuth authentication modes)

MS_TENANT_ID
required

Microsoft tenant ID (required for OAuth authentication)

MS_CLIENT_SECRET
secret

Microsoft OAuth client secret (optional for public clients)

AUTH_MODE

Authentication mode

HEADLESS

Disable browser auto-open, return auth URL instead (true/false)

REDIRECT_URI

OAuth redirect URI (optional, default: ephemeral loopback)

RESOURCE_STORE_URI

Resource store URI for CSV export files (file://)

PORT

HTTP server port (overrides --port)

BASE_URL

Base URL for HTTP transport (used for OAuth/DCR endpoints and file links)

LOG_LEVEL

Logging level

MS_CLIENT_ID
required

Microsoft OAuth client ID (required for OAuth authentication modes)

MS_TENANT_ID
required

Microsoft tenant ID (required for OAuth authentication)

MS_CLIENT_SECRET
secret

Microsoft OAuth client secret (optional for public clients)

AUTH_MODE

Authentication mode

HEADLESS

Disable browser auto-open, return auth URL instead (true/false)

REDIRECT_URI

OAuth redirect URI (optional, default: ephemeral loopback)

DCR_MODE

Dynamic Client Registration mode

DCR_VERIFY_URL

External verification endpoint URL (required for external DCR mode)

DCR_STORE_URI

DCR client storage URI (for self-hosted DCR mode)

RESOURCE_STORE_URI

Resource store URI for CSV export files (file://)

PORT

HTTP server port (overrides --port)

BASE_URL

Base URL for HTTP transport (used for OAuth/DCR endpoints and file links)

LOG_LEVEL

Logging level

§03  MCP Quality Score  ·  methodology
freshness
19
completeness
15
installability
25
documentation
10
stability
10
§04  Alternatives in Email