mcp-teams

v0.3.1
io.github.dockndevai/mcp-teams Checked 4 days ago Published 12 days ago

Read Microsoft Teams teams, channels, chats and messages, and post/reply/send, safe by default.

Values you need

VariableWhat it is
TEAMS_CLIENT_IDoptional Entra (Azure AD) app (client) id. For browser sign-in, register a public client with redirect URI http://localhost.
TEAMS_TENANT_IDoptional Directory tenant: a tenant id, or common | organizations | consumers (default common).
TEAMS_CLIENT_SECREToptional secret App secret for app-only (client-credentials) auth. Omit to use interactive browser sign-in.
TEAMS_TOKENoptional secret A pre-obtained Microsoft Graph bearer token (alternative to browser or app-only auth).
TEAMS_MODEoptional Access mode: read-only | read-write | admin. Starts read-only; writes need read-write.
TEAMS_ALLOW_SENDoptional Set true to permit posting messages (channel/chat send & reply). Off by default.

npm (npx)

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-teams -- npx -y @dockndevai/mcp-teams@0.3.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-teams": {
      "args": [
        "-y",
        "@dockndevai/mcp-teams@0.3.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-teams": {
      "args": [
        "-y",
        "@dockndevai/mcp-teams@0.3.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-teams": {
      "args": [
        "-y",
        "@dockndevai/mcp-teams@0.3.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-teams]
command = "npx"
args = ["-y", "@dockndevai/mcp-teams@0.3.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json