PluginBench
MCP Server

Microsoft 365 Teams MCP Server

io.github.mindstone/mcp-server-microsoft-teams

What is the Microsoft 365 Teams MCP server?

Microsoft 365 Teams via Graph: list chats, read/send messages, list teams/channels, presence.

How to install Microsoft 365 Teams

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • MS_CLIENT_ID
    required

    Microsoft Entra (Azure AD) application client ID

  • MS_CONFIG_DIR
    required

    Path to the per-user Microsoft config directory (credentials/, accounts.json)

  • MS_ACCOUNT_EMAIL

    Account email when running in multi-account per-instance mode (falls back to the first account in accounts.json)

  • MS_MCP_PACKAGE_ID

    Logical package ID surfaced in error responses

  • MICROSOFT_REQUEST_TIMEOUT_MS

    Override the upstream Microsoft Graph request timeout in milliseconds (max 300000 = 5 min)

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-microsoft-teams": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-teams"
      ],
      "env": {
        "MS_CLIENT_ID": "<YOUR_MS_CLIENT_ID>",
        "MS_CONFIG_DIR": "<YOUR_MS_CONFIG_DIR>",
        "MS_ACCOUNT_EMAIL": "<YOUR_MS_ACCOUNT_EMAIL>",
        "MS_MCP_PACKAGE_ID": "<YOUR_MS_MCP_PACKAGE_ID>",
        "MICROSOFT_REQUEST_TIMEOUT_MS": "<YOUR_MICROSOFT_REQUEST_TIMEOUT_MS>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server-microsoft-teams": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-teams"
      ],
      "env": {
        "MS_CLIENT_ID": "<YOUR_MS_CLIENT_ID>",
        "MS_CONFIG_DIR": "<YOUR_MS_CONFIG_DIR>",
        "MS_ACCOUNT_EMAIL": "<YOUR_MS_ACCOUNT_EMAIL>",
        "MS_MCP_PACKAGE_ID": "<YOUR_MS_MCP_PACKAGE_ID>",
        "MICROSOFT_REQUEST_TIMEOUT_MS": "<YOUR_MICROSOFT_REQUEST_TIMEOUT_MS>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "mcp-server-microsoft-teams": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-teams"
      ],
      "env": {
        "MS_CLIENT_ID": "<YOUR_MS_CLIENT_ID>",
        "MS_CONFIG_DIR": "<YOUR_MS_CONFIG_DIR>",
        "MS_ACCOUNT_EMAIL": "<YOUR_MS_ACCOUNT_EMAIL>",
        "MS_MCP_PACKAGE_ID": "<YOUR_MS_MCP_PACKAGE_ID>",
        "MICROSOFT_REQUEST_TIMEOUT_MS": "<YOUR_MICROSOFT_REQUEST_TIMEOUT_MS>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "mcp-server-microsoft-teams": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-teams"
      ],
      "env": {
        "MS_CLIENT_ID": "<YOUR_MS_CLIENT_ID>",
        "MS_CONFIG_DIR": "<YOUR_MS_CONFIG_DIR>",
        "MS_ACCOUNT_EMAIL": "<YOUR_MS_ACCOUNT_EMAIL>",
        "MS_MCP_PACKAGE_ID": "<YOUR_MS_MCP_PACKAGE_ID>",
        "MICROSOFT_REQUEST_TIMEOUT_MS": "<YOUR_MICROSOFT_REQUEST_TIMEOUT_MS>"
      }
    }
  }
}
Claude Code
claude mcp add mcp-server-microsoft-teams --env MS_CLIENT_ID=<YOUR_MS_CLIENT_ID> --env MS_CONFIG_DIR=<YOUR_MS_CONFIG_DIR> --env MS_ACCOUNT_EMAIL=<YOUR_MS_ACCOUNT_EMAIL> --env MS_MCP_PACKAGE_ID=<YOUR_MS_MCP_PACKAGE_ID> --env MICROSOFT_REQUEST_TIMEOUT_MS=<YOUR_MICROSOFT_REQUEST_TIMEOUT_MS> -- npx -y @mindstone/mcp-server-microsoft-teams

Related MCP servers

MCP server for Apple Shortcuts via the macOS shortcuts CLI

View repository →

Browser automation MCP server: navigate, fill forms, click, screenshot, and manage tabs

View repository →

Mindstone-internal release-pipeline test connector; not for use. Single ping tool; no auth.

View repository →

ElevenLabs MCP server: TTS, music, sound effects, voices, and audio transcription

View repository →

Email IMAP/SMTP MCP server: iCloud, Gmail, Yahoo, Outlook, and custom IMAP providers

View repository →

Fathom AI meeting transcription MCP server for Model Context Protocol hosts

View repository →
Microsoft 365 Teams MCP Server | PluginBench