Outlook for VS Code
io.github.mcp-z/mcp-outlook
Outlook integration with OAuth, message search, batch operations, and calendar management
client:VS Code
transport:stdio
runtime:npm
Install Outlook in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "ms-client-id",
"description": "MS_CLIENT_ID",
"password": true
},
{
"type": "promptString",
"id": "ms-tenant-id",
"description": "MS_TENANT_ID",
"password": true
},
{
"type": "promptString",
"id": "ms-client-secret",
"description": "MS_CLIENT_SECRET",
"password": true
},
{
"type": "promptString",
"id": "auth-mode",
"description": "AUTH_MODE",
"password": true
},
{
"type": "promptString",
"id": "headless",
"description": "HEADLESS",
"password": true
},
{
"type": "promptString",
"id": "redirect-uri",
"description": "REDIRECT_URI",
"password": true
},
{
"type": "promptString",
"id": "resource-store-uri",
"description": "RESOURCE_STORE_URI",
"password": true
},
{
"type": "promptString",
"id": "port",
"description": "PORT",
"password": true
},
{
"type": "promptString",
"id": "base-url",
"description": "BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "log-level",
"description": "LOG_LEVEL",
"password": true
}
],
"servers": {
"mcp-outlook": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mcp-z/mcp-outlook"
],
"env": {
"MS_CLIENT_ID": "${input:ms-client-id}",
"MS_TENANT_ID": "${input:ms-tenant-id}",
"MS_CLIENT_SECRET": "${input:ms-client-secret}",
"AUTH_MODE": "${input:auth-mode}",
"HEADLESS": "${input:headless}",
"REDIRECT_URI": "${input:redirect-uri}",
"RESOURCE_STORE_URI": "${input:resource-store-uri}",
"PORT": "${input:port}",
"BASE_URL": "${input:base-url}",
"LOG_LEVEL": "${input:log-level}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs