MSGraph MCP for VS Code
io.github.timfurlong/msgraph-mcp
MCP server for Microsoft Graph: Outlook mail and calendar, plus read-only Microsoft Teams
client:VS Code
transport:stdio
runtime:pypi
Install MSGraph MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "msgraph-mcp-client-id",
"description": "MSGRAPH_MCP_CLIENT_ID",
"password": true
},
{
"type": "promptString",
"id": "msgraph-mcp-tenant-id",
"description": "MSGRAPH_MCP_TENANT_ID",
"password": true
},
{
"type": "promptString",
"id": "msgraph-mcp-token-cache-path",
"description": "MSGRAPH_MCP_TOKEN_CACHE_PATH",
"password": true
}
],
"servers": {
"msgraph-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"msgraph-mcp-server"
],
"env": {
"MSGRAPH_MCP_CLIENT_ID": "${input:msgraph-mcp-client-id}",
"MSGRAPH_MCP_TENANT_ID": "${input:msgraph-mcp-tenant-id}",
"MSGRAPH_MCP_TOKEN_CACHE_PATH": "${input:msgraph-mcp-token-cache-path}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs