Skip to content
VS Code

mcp outlook for VS Code

io.github.dockndevai/mcp-outlook

Outlook mail and OneDrive files via Microsoft Graph — read, search, send and organize.

client:VS Code transport:stdio runtime:npm

Install mcp outlook in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "outlook-client-id",
      "description": "OUTLOOK_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "outlook-tenant-id",
      "description": "OUTLOOK_TENANT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "outlook-client-secret",
      "description": "OUTLOOK_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "outlook-token",
      "description": "OUTLOOK_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "outlook-user",
      "description": "OUTLOOK_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "outlook-mode",
      "description": "OUTLOOK_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "outlook-allow-send",
      "description": "OUTLOOK_ALLOW_SEND",
      "password": true
    }
  ],
  "servers": {
    "mcp-outlook": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-outlook"
      ],
      "env": {
        "OUTLOOK_CLIENT_ID": "${input:outlook-client-id}",
        "OUTLOOK_TENANT_ID": "${input:outlook-tenant-id}",
        "OUTLOOK_CLIENT_SECRET": "${input:outlook-client-secret}",
        "OUTLOOK_TOKEN": "${input:outlook-token}",
        "OUTLOOK_USER": "${input:outlook-user}",
        "OUTLOOK_MODE": "${input:outlook-mode}",
        "OUTLOOK_ALLOW_SEND": "${input:outlook-allow-send}"
      }
    }
  }
}

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

mcp outlook in other clients