Install guide · VS Code
Install microsoft-teams-mcp for VS Code
Workspace file .vscode/mcp.json uses the servers key. User settings can hold the same shape.
Add to Cursor: microsoft-teams-mcpInstall in VS Code: microsoft-teams-mcpInstall in VS Code Insiders: microsoft-teams-mcp
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open .vscode/mcp.json on macOS, .vscode/mcp.json on Windows, or .vscode/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "servers": { "chrischall-microsoft-teams-mcp": { "type": "stdio", "command": "npx", "args": [ "-y", "@chrischall/microsoft-teams-mcp@0.14.0" ], "env": { "TEAMS_WS_PORT": "", "FETCHPROXY_WS_HOST": "", "FETCHPROXY_IDENTITY_DIR": "", "TEAMS_ACCESS_TOKEN": "YOUR_TEAMS_ACCESS_TOKEN", "TEAMS_DISABLE_FETCHPROXY": "", "TEAMS_CHATSVC_REGION": "", "TEAMS_CHATSVC_BASE": "", "TEAMS_CAPTURE_TIMEOUT": "", "TEAMS_TOKEN_CACHE": "", "TEAMS_TOKEN_FILE": "", "TEAMS_SUBSTRATE_TOKEN_FILE": "", "TEAMS_RECAP_TOKEN_FILE": "", "TEAMS_MCPS_REGION": "", "TEAMS_SHAREPOINT_TOKEN_FILE": "", "TEAMS_TIME_ZONE": "", "TEAMS_OUTPUT_DIR": "", "MCP_CONFIRM_MODE": "", "MCP_CONFIRM_ELICITATION": "", "MCP_CONFIRM_TTL_SECONDS": "", "MCP_CONFIRM_SECRET": "YOUR_MCP_CONFIRM_SECRET" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | .vscode/mcp.json |
| Windows | .vscode/mcp.json |
| Linux | .vscode/mcp.json |