Skip to content
microsoft-teams-mcp
Install guide · Cursor

Install microsoft-teams-mcp for Cursor

Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

  1. Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.

  2. Paste the JSON config below.

  3. Replace placeholder secrets, then restart the client if it does not reload on its own.

~/.cursor/mcp.json
{  "mcpServers": {    "chrischall-microsoft-teams-mcp": {      "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

SystemPath
macOS~/.cursor/mcp.json
Windows%USERPROFILE%\.cursor\mcp.json
Linux~/.cursor/mcp.json