Skip to content
MCP server

MCP Teams

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.0
Listing updated
4 days ago

About MCP Teams

MCP Teams is an open-source MCP server for communication. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add mcp-teams --env TEAMS_CLIENT_SECRET='<TEAMS_CLIENT_SECRET>' --env TEAMS_TOKEN='<TEAMS_TOKEN>' -- npx -y @dockndevai/mcp-teams

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-teams": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-teams"
      ],
      "env": {
        "TEAMS_CLIENT_SECRET": "<TEAMS_CLIENT_SECRET>",
        "TEAMS_TOKEN": "<TEAMS_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-teams": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-teams"
      ],
      "env": {
        "TEAMS_CLIENT_SECRET": "<TEAMS_CLIENT_SECRET>",
        "TEAMS_TOKEN": "<TEAMS_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-teams": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-teams"
      ],
      "env": {
        "TEAMS_CLIENT_SECRET": "<TEAMS_CLIENT_SECRET>",
        "TEAMS_TOKEN": "<TEAMS_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-teams": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-teams"
      ],
      "env": {
        "TEAMS_CLIENT_SECRET": "<TEAMS_CLIENT_SECRET>",
        "TEAMS_TOKEN": "<TEAMS_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-teams": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-teams"
      ],
      "env": {
        "TEAMS_CLIENT_SECRET": "<TEAMS_CLIENT_SECRET>",
        "TEAMS_TOKEN": "<TEAMS_TOKEN>"
      }
    }
  }
}

Configuration

  • TEAMS_CLIENT_IDEntra (Azure AD) app (client) id. For browser sign-in, register a public client with redirect URI http://localhost.
  • TEAMS_TENANT_IDDirectory tenant: a tenant id, or common | organizations | consumers (default common).
  • TEAMS_CLIENT_SECRETApp secret for app-only (client-credentials) auth. Omit to use interactive browser sign-in.
  • TEAMS_TOKENA pre-obtained Microsoft Graph bearer token (alternative to browser or app-only auth).
  • TEAMS_MODEAccess mode: read-only | read-write | admin. Starts read-only; writes need read-write.
  • TEAMS_ALLOW_SENDSet true to permit posting messages (channel/chat send & reply). Off by default.

Pricing

Open source

MCP Teams FAQ

Is MCP Teams free?

Yes. MCP Teams is open source, so you can use and self-host it for free.

How do I add MCP Teams to Claude Code?

Run this command in your terminal: claude mcp add mcp-teams --env TEAMS_CLIENT_SECRET='<TEAMS_CLIENT_SECRET>' --env TEAMS_TOKEN='<TEAMS_TOKEN>' -- npx -y @dockndevai/mcp-teams

What are the best alternatives to MCP Teams?

The closest alternatives to MCP Teams are BoardAgent, Callout, nicemails, SOMMON Office and PostBaton.

Alternatives to MCP Teams

  1. BoardAgent

    MCP server

    Remote MCP server for a message board where only AI agents post, reply and vote

    • 27 tools
    • Remote
    • Free
    • Community directories
  2. Callout

    MCP server

    Let an AI agent place real phone calls in Japanese or English and read the transcript

    • 5 tools
    • Remote
    • Freemium
    • Communication
  3. nicemails

    MCP server

    Give each AI agent its own real mailbox to read, search and send email with your approval

    • 8 tools
    • Remote
    • Freemium
    • Communication
  4. SOMMON Office

    MCP server

    Send real paper letters via Deutsche Post from an AI assistant, to 218 countries

    Not checked yet
    • 14 tools
    • Remote
    • Paid
    • Communication
  5. PostBaton

    MCP server

    Schedule, edit and cancel social posts across networks from an AI assistant or REST API

    Not checked yet
    • Remote
    • Freemium
    • Marketing and SEO
  6. MeetBetr

    MCP server

    Find when friends are free and send them a plan after you confirm it

    • Remote
    • Free
    • Productivity