Skip to content
VS Code

office outlook mcp for VS Code

io.github.chrischall/office-outlook-mcp

Outlook / Microsoft 365 for Claude — mail, calendar, contacts and tasks, with confirm-gated sending

client:VS Code transport:stdio runtime:npm

Install office outlook mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "outlook-access-token",
      "description": "OUTLOOK_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "outlook-disable-fetchproxy",
      "description": "OUTLOOK_DISABLE_FETCHPROXY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "outlook-api-base",
      "description": "OUTLOOK_API_BASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "outlook-ws-port",
      "description": "OUTLOOK_WS_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "outlook-capture-timeout",
      "description": "OUTLOOK_CAPTURE_TIMEOUT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "outlook-token-cache",
      "description": "OUTLOOK_TOKEN_CACHE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "outlook-token-file",
      "description": "OUTLOOK_TOKEN_FILE",
      "password": true
    }
  ],
  "servers": {
    "office-outlook-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/office-outlook-mcp"
      ],
      "env": {
        "OUTLOOK_ACCESS_TOKEN": "${input:outlook-access-token}",
        "OUTLOOK_DISABLE_FETCHPROXY": "${input:outlook-disable-fetchproxy}",
        "OUTLOOK_API_BASE": "${input:outlook-api-base}",
        "OUTLOOK_WS_PORT": "${input:outlook-ws-port}",
        "OUTLOOK_CAPTURE_TIMEOUT": "${input:outlook-capture-timeout}",
        "OUTLOOK_TOKEN_CACHE": "${input:outlook-token-cache}",
        "OUTLOOK_TOKEN_FILE": "${input:outlook-token-file}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

office outlook mcp in other clients