Listed from the MCP registry; nobody on Odel publishes it.
Connect Claude to Microsoft Teams — read/send messages, list channels, search chats.
Runs on your machine from its package; the steps are below.

At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y microsoft-teams-mcp-server
MCP client config
{
"mcpServers": {
"microsoft-teams": {
"command": "npx",
"args": [
"-y",
"microsoft-teams-mcp-server"
]
}
}
}Let Claude read and send your Microsoft Teams messages. An open-source MCP server that connects Claude Code, Claude Desktop and Claude Cowork to Microsoft Teams: list your teams and channels, read channel and chat messages, search across Teams, and post or reply — all by asking Claude in plain English.
▶ Watch the 76-second walkthrough: Teams MCP Server — how it works (captions on; transcript)
http://localhost:3333/callback. Then add a client secret and the delegated Microsoft Graph permissions listed in Azure AD App Registration below. Copy the client ID and secret.claude mcp add teams -e TEAMS_CLIENT_ID=<your-client-id> -e TEAMS_CLIENT_SECRET=<your-secret> -- npx -y microsoft-teams-mcp-server
Using Claude Desktop instead? Put the same command and env in claude_desktop_config.json (see Claude Desktop). Want one server for your whole company? See Self-host.
You don't call the tools yourself — you just ask Claude, and Claude picks the right one. Things you can say:
| You say | What happens |
|---|---|
| "Which Teams am I in?" | Lists your teams. |
| "What channels does the Platform team have?" | Lists that team's channels. |
| "Summarise what happened in #standup today." | Reads recent channel messages and summarises them. |
| "Show me the replies to Ravi's deploy message." | Reads a thread's replies. |
| "Find every message that mentions the invoice bug." | Searches across all your Teams. |
| "What did Anita say in our chat yesterday?" | Lists your chats and reads the one with Anita. |
| "Post 'Release 4.2 is live' in #announcements." | Sends a channel message. |
| "Reply in that thread: 'Fixed in PR 812.'" | Replies in a channel thread. |
| "Send Anita a chat: 'Running 10 minutes late.'" | Sends a chat message. |
Good to know:
.data/tokens (local) and refreshed silently. Delete that folder to sign out.┌─────────────┐ Click "Connect" ┌──────────────────────┐
│ Claude User │ ──────────────────────► │ Teams MCP Server │
│ (Cowork/ │ │ (hosted by you or │
│ Desktop/ │ SSE/MCP Protocol │ your company) │
│ 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.
/connect, sign in with Microsoft, doneIf someone is already hosting this server for your company:
No API keys, no Azure portal, no setup.
git clone https://github.com/SurgeEnterpriseAI/teams-mcp-server.git
cd teams-mcp-server
npm install
npm run build
Teams MCP Serverhttps://your-server.com/auth/callback (hosted) and/or http://localhost:3333/callback (local STDIO sign-in)Configure:
ChannelMessage.Read.All, ChannelMessage.SendChat.Read, Chat.ReadWrite, ChatMessage.SendTeam.ReadBasic.All, Channel.ReadBasic.AllUser.Readcp .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"
# Or just run directly
TRANSPORT_MODE=http node dist/index.js
Once deployed and tested, submit your server URL to Anthropic's MCP connector registry. Users will then see "Microsoft Teams" as a connect option in Claude Cowork — just like Slack and Gmail.
Quickest: claude mcp add as in Install in 3 steps. Or add to your .mcp.json from a clone:
{
"mcpServers": {
"teams": {
"command": "node",
"args": ["/path/to/teams-mcp-server/dist/index.js"],
"cwd": "/path/to/teams-mcp-server"
}
}
}
First run will open your browser for Microsoft login. After that, tokens are cached.
In claude_desktop_config.json:
{
"mcpServers": {
"teams": {
"command": "npx",
"args": ["-y", "microsoft-teams-mcp-server"],
"env": {
"TEAMS_CLIENT_ID": "<your-client-id>",
"TEAMS_CLIENT_SECRET": "<your-secret>",
"TRANSPORT_MODE": "stdio"
}
}
}
}
| Tool | What it does |
|---|---|
teams_list_teams | List all your Teams |
teams_list_channels | List channels in a team |
teams_read_channel_messages | Read recent channel messages |
teams_send_channel_message | Send a message to a channel |
teams_reply_to_message | Reply in a channel thread |
teams_read_message_replies | Read thread replies |
teams_list_chats | List your DMs and group chats |
teams_read_chat_messages | Read messages from a chat |
teams_send_chat_message | Send a direct/group chat message |
teams_search_messages | Search messages across all Teams |
teams_get_profile | Get your Microsoft 365 profile |
src/
├── index.ts Main entry (auto-detects transport)
├── config.ts Central configuration
├── logger.ts Structured logging
├── types.ts TypeScript interfaces
├── sessions.ts Multi-user session manager
├── auth/
│ ├── oauth.ts MSAL OAuth (multi-tenant, per-user)
│ └── token-store.ts Persistent token cache
├── graph/
│ ├── client.ts Graph HTTP client with retries
│ ├── teams.ts Teams & channels API
│ ├── messages.ts Channel messages API
│ ├── chats.ts DM & group chat API
│ └── search.ts Search & profile API
├── mcp/
│ ├── server.ts MCP server factory
│ └── tools/ 11 tool definitions
├── transport/
│ ├── stdio.ts STDIO (Claude Code)
│ └── http.ts Express + SSE (Cowork / remote)
| Variable | Required | Default | Description |
|---|---|---|---|
TEAMS_CLIENT_ID | Yes | — | Azure AD app client ID |
TEAMS_CLIENT_SECRET | Yes | — | Azure AD client secret |
TEAMS_AUTHORITY | No | common | common for multi-tenant, or a specific tenant ID |
TRANSPORT_MODE | No | auto | auto, stdio, or http |
PORT | No | 3000 | HTTP server port |
BASE_URL | No | http://localhost:3000 | Public URL |
REDIRECT_URI | No | {BASE_URL}/auth/callback | OAuth callback URL |
TOKEN_STORE_PATH | No | ./.data/tokens | Token cache directory |
LOG_LEVEL | No | info | Logging level |
A short, structured summary for LLMs and AI search lives in docs/llms.md.
MIT — LICENSE
Issues and PRs welcome. Built by SurgeEnterpriseAI — Surge Software Solutions, Bengaluru.