Skip to content
VS Code

microsoft outlook mcp for VS Code

io.github.0xka13b/microsoft-outlook-mcp

Microsoft Outlook (mail) MCP server — read, search, and send email through Microsoft Graph.

client:VS Code transport:stdio runtime:npm

Install microsoft outlook mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "microsoft-client-id",
      "description": "MICROSOFT_CLIENT_ID",
      "password": true
    }
  ],
  "servers": {
    "microsoft-outlook-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "microsoft-outlook-mcp"
      ],
      "env": {
        "MICROSOFT_CLIENT_ID": "${input:microsoft-client-id}"
      }
    }
  }
}

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

microsoft outlook mcp in other clients