O

Office Outlook MCP

by chrischall · io.github.chrischall/office-outlook-mcp

Outlook / Microsoft 365 for Claude — triage mail, reply, answer invites and book meetings, confirmed

Office Outlook MCP is a local (stdio) MCP server by chrischall in the Communication category. It runs with npx -y @chrischall/office-outlook-mcp, declares 2 secret settings, and is listed in 1 registry.

npm Local · stdio Official MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-chrischall-office-outlook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/office-outlook-mcp"
      ],
      "env": {
        "OUTLOOK_ACCESS_TOKEN": "<YOUR_VALUE>",
        "OUTLOOK_DISABLE_FETCHPROXY": "<VALUE>",
        "OUTLOOK_API_BASE": "<VALUE>",
        "OUTLOOK_WS_PORT": "<VALUE>",
        "OUTLOOK_WEB_HOST": "<VALUE>",
        "OUTLOOK_CAPTURE_TIMEOUT": "<VALUE>",
        "OUTLOOK_TOKEN_CACHE": "<VALUE>",
        "OUTLOOK_TOKEN_FILE": "<VALUE>",
        "OUTLOOK_OUTPUT_DIR": "<VALUE>",
        "FETCHPROXY_WS_HOST": "<VALUE>",
        "FETCHPROXY_IDENTITY_DIR": "<VALUE>",
        "MCP_CONFIRM_MODE": "<VALUE>",
        "MCP_CONFIRM_ELICITATION": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "<VALUE>",
        "MCP_CONFIRM_SECRET": "<YOUR_VALUE>",
        "OUTLOOK_COPILOT_MSAL_CACHE": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-chrischall-office-outlook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/office-outlook-mcp"
      ],
      "env": {
        "OUTLOOK_ACCESS_TOKEN": "<YOUR_VALUE>",
        "OUTLOOK_DISABLE_FETCHPROXY": "<VALUE>",
        "OUTLOOK_API_BASE": "<VALUE>",
        "OUTLOOK_WS_PORT": "<VALUE>",
        "OUTLOOK_WEB_HOST": "<VALUE>",
        "OUTLOOK_CAPTURE_TIMEOUT": "<VALUE>",
        "OUTLOOK_TOKEN_CACHE": "<VALUE>",
        "OUTLOOK_TOKEN_FILE": "<VALUE>",
        "OUTLOOK_OUTPUT_DIR": "<VALUE>",
        "FETCHPROXY_WS_HOST": "<VALUE>",
        "FETCHPROXY_IDENTITY_DIR": "<VALUE>",
        "MCP_CONFIRM_MODE": "<VALUE>",
        "MCP_CONFIRM_ELICITATION": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "<VALUE>",
        "MCP_CONFIRM_SECRET": "<YOUR_VALUE>",
        "OUTLOOK_COPILOT_MSAL_CACHE": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-chrischall-office-outlook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/office-outlook-mcp"
      ],
      "env": {
        "OUTLOOK_ACCESS_TOKEN": "<YOUR_VALUE>",
        "OUTLOOK_DISABLE_FETCHPROXY": "<VALUE>",
        "OUTLOOK_API_BASE": "<VALUE>",
        "OUTLOOK_WS_PORT": "<VALUE>",
        "OUTLOOK_WEB_HOST": "<VALUE>",
        "OUTLOOK_CAPTURE_TIMEOUT": "<VALUE>",
        "OUTLOOK_TOKEN_CACHE": "<VALUE>",
        "OUTLOOK_TOKEN_FILE": "<VALUE>",
        "OUTLOOK_OUTPUT_DIR": "<VALUE>",
        "FETCHPROXY_WS_HOST": "<VALUE>",
        "FETCHPROXY_IDENTITY_DIR": "<VALUE>",
        "MCP_CONFIRM_MODE": "<VALUE>",
        "MCP_CONFIRM_ELICITATION": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "<VALUE>",
        "MCP_CONFIRM_SECRET": "<YOUR_VALUE>",
        "OUTLOOK_COPILOT_MSAL_CACHE": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-chrischall-office-outlook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/office-outlook-mcp"
      ],
      "env": {
        "OUTLOOK_ACCESS_TOKEN": "<YOUR_VALUE>",
        "OUTLOOK_DISABLE_FETCHPROXY": "<VALUE>",
        "OUTLOOK_API_BASE": "<VALUE>",
        "OUTLOOK_WS_PORT": "<VALUE>",
        "OUTLOOK_WEB_HOST": "<VALUE>",
        "OUTLOOK_CAPTURE_TIMEOUT": "<VALUE>",
        "OUTLOOK_TOKEN_CACHE": "<VALUE>",
        "OUTLOOK_TOKEN_FILE": "<VALUE>",
        "OUTLOOK_OUTPUT_DIR": "<VALUE>",
        "FETCHPROXY_WS_HOST": "<VALUE>",
        "FETCHPROXY_IDENTITY_DIR": "<VALUE>",
        "MCP_CONFIRM_MODE": "<VALUE>",
        "MCP_CONFIRM_ELICITATION": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "<VALUE>",
        "MCP_CONFIRM_SECRET": "<YOUR_VALUE>",
        "OUTLOOK_COPILOT_MSAL_CACHE": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

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

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-chrischall-office-outlook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/office-outlook-mcp"
      ],
      "env": {
        "OUTLOOK_ACCESS_TOKEN": "<YOUR_VALUE>",
        "OUTLOOK_DISABLE_FETCHPROXY": "<VALUE>",
        "OUTLOOK_API_BASE": "<VALUE>",
        "OUTLOOK_WS_PORT": "<VALUE>",
        "OUTLOOK_WEB_HOST": "<VALUE>",
        "OUTLOOK_CAPTURE_TIMEOUT": "<VALUE>",
        "OUTLOOK_TOKEN_CACHE": "<VALUE>",
        "OUTLOOK_TOKEN_FILE": "<VALUE>",
        "OUTLOOK_OUTPUT_DIR": "<VALUE>",
        "FETCHPROXY_WS_HOST": "<VALUE>",
        "FETCHPROXY_IDENTITY_DIR": "<VALUE>",
        "MCP_CONFIRM_MODE": "<VALUE>",
        "MCP_CONFIRM_ELICITATION": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "<VALUE>",
        "MCP_CONFIRM_SECRET": "<YOUR_VALUE>",
        "OUTLOOK_COPILOT_MSAL_CACHE": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-chrischall-office-outlook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/office-outlook-mcp"
      ],
      "env": {
        "OUTLOOK_ACCESS_TOKEN": "<YOUR_VALUE>",
        "OUTLOOK_DISABLE_FETCHPROXY": "<VALUE>",
        "OUTLOOK_API_BASE": "<VALUE>",
        "OUTLOOK_WS_PORT": "<VALUE>",
        "OUTLOOK_WEB_HOST": "<VALUE>",
        "OUTLOOK_CAPTURE_TIMEOUT": "<VALUE>",
        "OUTLOOK_TOKEN_CACHE": "<VALUE>",
        "OUTLOOK_TOKEN_FILE": "<VALUE>",
        "OUTLOOK_OUTPUT_DIR": "<VALUE>",
        "FETCHPROXY_WS_HOST": "<VALUE>",
        "FETCHPROXY_IDENTITY_DIR": "<VALUE>",
        "MCP_CONFIRM_MODE": "<VALUE>",
        "MCP_CONFIRM_ELICITATION": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "<VALUE>",
        "MCP_CONFIRM_SECRET": "<YOUR_VALUE>",
        "OUTLOOK_COPILOT_MSAL_CACHE": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
OUTLOOK_ACCESS_TOKEN secret No Pre-obtained Outlook bearer token. Overrides the browser bridge. Power users / CI only; tokens last about 25 hours.
OUTLOOK_DISABLE_FETCHPROXY No Set to '1' to disable browser capture, requiring OUTLOOK_ACCESS_TOKEN.
OUTLOOK_API_BASE No Override the Outlook REST base URL. Defaults to https://outlook.office.com/api/v2.0.
OUTLOOK_WS_PORT No fetchproxy concentrator port used for token capture. Defaults to 37149, the fleet-wide shared port.
OUTLOOK_WEB_HOST No Which Outlook Web host your signed-in tab is on: outlook.cloud.microsoft (default) or outlook.office.com for a tenant still on the legacy app. Only this one host is declared to the browser bridge.
OUTLOOK_CAPTURE_TIMEOUT No Seconds to wait for the Outlook tab to make a request we can read a token from. Defaults to 30.
OUTLOOK_TOKEN_CACHE No Set to 'false' to stop caching the captured token between runs. Defaults to true.
OUTLOOK_TOKEN_FILE No Path to the cached token file. Defaults to ~/.office-outlook-mcp/token.json.
OUTLOOK_OUTPUT_DIR No Absolute directory where outlook_export_messages and outlook_export_events write their files. Defaults to ~/Downloads/office-outlook-mcp. When set, a per-call dest must be inside it.
FETCHPROXY_WS_HOST No Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace.
FETCHPROXY_IDENTITY_DIR No Absolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).
MCP_CONFIRM_MODE No What outlook_send_message, outlook_reply, outlook_respond_to_invite and the other write tools do on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop): "ask-user" (default: the first call returns a preview and a confirmToken, and the model must get your approval in chat before using it), "auto" (the model may use the token after reviewing the preview itself) or "refuse". An unrecognised value is treated as refuse.
MCP_CONFIRM_ELICITATION No "off" never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE flow. Set it for a client that says it can show prompts but never does. Defaults to on.
MCP_CONFIRM_TTL_SECONDS No How long a confirmToken stays valid, in seconds. Defaults to 600.
MCP_CONFIRM_SECRET secret No Signing key for confirmTokens. Random per process by default; set it only if tokens must survive a server restart.
OUTLOOK_COPILOT_MSAL_CACHE No Path to the MSAL token cache written by `opencode-m365 login`, read by outlook_ask_copilot. Defaults to ~/.config/opencode-copilot/msal-cache.json.

Similar servers