Microsoft Teams MCP server
io.github.SurgeEnterpriseAI/teams-mcp-server·v1.0.0·2 starsConnect Claude to Microsoft Teams — read/send messages, list channels, search chats.
2 stars58 downloads/wk
Reviews
Write oneNobody has reviewed Microsoft Teams yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Microsoft Teams tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan55 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 169 days ago8/15
- Maintainer identityregistry namespace matches repository owner6/10
How Microsoft Teams compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 62% of 3,470 Web search servers
- GitHub stars
- 2
- more than 70% of 1,786 Web search servers
- Downloads a week
- 58
- more than 41% of 827 Web search servers with a package
Install Microsoft Teams in Claude Code, Cursor or VS Code
Runs npx -y microsoft-teams-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add teams-mcp-server -- npx -y microsoft-teams-mcp-server
What the publisher says
From the Microsoft Teams repository's README, as published. We do not edit it. Read it on GitHub
Teams MCP Server
The first open-source Microsoft Teams connector for Claude. Any Microsoft 365 user can connect — just sign in with your work account. No setup, no credentials, no self-hosting required.
Read messages, list channels, search across Teams, send messages — all from Claude Code, Claude Desktop, or Claude Cowork.
Built by SurgeEnterpriseAI.
How It Works
┌─────────────┐ Click "Connect" ┌──────────────────────┐
│ Claude User │ ──────────────────────► │ Teams MCP Server │
│ (Cowork/ │ │ (hosted by Surge) │
│ Desktop/ │ SSE/MCP Protocol │ │
│ Code) │ ◄─────────────────────► │ ┌────────────────┐ │
└─────────────┘ │ │ OAuth (common) │ │
│ │ Any M365 user │ │
User signs in with their │ │ can sign in │ │
own Microsoft account │ └───────┬────────┘ │
─────────────────────► │ │ │
│ ┌───────▼────────┐ │
│ │ Microsoft │ │
│ │ Graph API │ │
│ └────────────────┘ │
└──────────────────────┘The user connects their own Microsoft 365 account. They see their own teams, their own channels, their own messages. Each user's tokens are isolated. The server is the bridge — it never stores messages, just passes them through.
Features
- One-click connect — visit /connect, sign in with Microsoft, done
- Multi-tenant — any Microsoft 365 organization, any user
- 11 tools — teams, channels, messages, chats, search, profile
- Dual transport — STDIO for Claude Code, HTTP/SSE for Cowork & remote
- Multi-user — each session gets isolated OAuth tokens
- Auto-detect — picks the right transport based on launch method
- Token caching — silent refresh, no re-login every session
- Retry logic — automatic retries on throttled Graph API calls
- TypeScript — fully typed, clean architecture, MIT licensed
For Users: Connect in 1 Click
If someone is already hosting this server (e.g., on https://teams-mcp.surgeai.com):
- Claude asks you to connect Microsoft Teams
- You click the auth link
- Sign in with your Microsoft work account
- Done — Claude can now read your Teams
No API keys, no Azure portal, no setup.
For Developers: Self-Host
1. Clone & Install
git clone https://github.com/SurgeEnterpriseAI/teams-mcp-server.git
cd teams-mcp-server
npm install
npm run build2. Azure AD App Registration
- Go to Azure Portal → App registrations → New registration
- Name: Teams MCP Server
- Supported account types: "Accounts in any organizational directory (Any Azure AD directory - Multitenant)"
- Redirect URI: Web → https://your-server.com/auth/callback
- Click Register
Configure:
- Certificates & secrets → New client secret → copy the Value
- API Permissions → Add Delegated (Microsoft Graph):
- ChannelMessage.Read.All, ChannelMessage.Send
- Chat.Read, Chat.ReadWrite, ChatMessage.Send
- Team.ReadBasic.All, Channel.ReadBasic.All
- User.Read
- Click Grant admin consent (for your own tenant; other tenants consent on first login)
3. Configure & Deploy
cp .env.example .env
# Set TEAMS_CLIENT_ID, TEAMS_CLIENT_SECRET
# Set BASE_URL and REDIRECT_URI to your production URL
# TEAMS_AUTHORITY=common (multi-tenant, default)Deploy to Railway, Render, Azure App Service, or any Node.js host:
# Railway
railway login && railway init && railway up
# Or Azure
az webapp up --name teams-mcp-server --runtime "NODE:20-lts"Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Microsoft Teams: common questions
- Is Microsoft Teams MCP server safe?
- Mostly: it is graded B (78/100). Read the Microsoft Teams safety report
- How do I install Microsoft Teams?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Microsoft Teams need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Microsoft Teams maintained?
- The last commit was 206 days ago (2026-04-12). The latest release is v1.0.0.
- What can I use instead of Microsoft Teams?
- Servers from other publishers that do the same job: ContextStream MCP Server, Kody MCP server and Papersgpt For Zotero MCP server.
- How does Microsoft Teams compare with other Web search MCP servers?
- safety score 78/100 (higher than 62% of 3,470 Web search servers); github stars 2 (more than 70% of 1,786 Web search servers); downloads a week 58 (more than 41% of 827 Web search servers with a package). Full comparison.
Alternatives to Microsoft Teams
Same job from other publishers: the closest match first, then the best rated.
- ContextStream MCP ServerThe context platform for AI agents: code search, team decisions, and grounded project context.not reviewedEstablishedA
KodyYour agents' cloud for individuals and teams. Search, execute, packages, jobs, and credentials.not reviewedEstablishedA- Papersgpt For ZoteroProfessional AI research tool for Zotero: chat with PDFs, whole-library search, Literature Radar, AutoPilot. 30+ LLMs or local models; built-in MCP server.not reviewedEstablishedB
- not reviewedEstablishedA