mcp-teams
v0.3.1Read Microsoft Teams teams, channels, chats and messages, and post/reply/send, safe by default.
Values you need
| Variable | What it is | |
|---|---|---|
TEAMS_CLIENT_ID | optional | Entra (Azure AD) app (client) id. For browser sign-in, register a public client with redirect URI http://localhost. |
TEAMS_TENANT_ID | optional | Directory tenant: a tenant id, or common | organizations | consumers (default common). |
TEAMS_CLIENT_SECRET | optional secret | App secret for app-only (client-credentials) auth. Omit to use interactive browser sign-in. |
TEAMS_TOKEN | optional secret | A pre-obtained Microsoft Graph bearer token (alternative to browser or app-only auth). |
TEAMS_MODE | optional | Access mode: read-only | read-write | admin. Starts read-only; writes need read-write. |
TEAMS_ALLOW_SEND | optional | 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.1Add 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
- 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).
- Restart or reload the client so it starts the server.
- 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