
Microsoft Teams
io.github.SurgeEnterpriseAI由 GitHub 帳號 SurgeEnterpriseAI 發布v1.0.0更新於 Oct 24, 2026
Connect Claude to Microsoft Teams — read/send messages, list channels, search chats.
發布方自己的服務:Microsoft Learn MCP
概覽
將 Claude 連接到 Microsoft Teams,讓助理列出團隊與頻道、讀取和傳送訊息、搜尋聊天並查看個人檔案。
- 可以做什麼
- 列出你所在的團隊及團隊中的頻道,讀取最近的頻道訊息與討論串回覆,並在討論串中回覆或發布新的頻道訊息。列出你的私訊與群組聊天,讀取聊天訊息,並傳送私訊或群組聊天訊息。在所有 Teams 中搜尋訊息,並取得你的 Microsoft 365 個人檔案。
- 適用情境
- 當你希望 Claude 直接在 Microsoft Teams 中工作時適用:追蹤頻道或聊天中的對話、搜尋歷史訊息,或在不切換應用的情況下起草並傳送回覆。
- 執行需求
- 以本機 Node.js 程序(npm 套件)透過 stdio 執行,或作為託管的 HTTP/SSE 伺服器執行。登入使用你自己的 Microsoft 365 公司帳戶,透過 OAuth 完成。自行架設需要註冊 Azure AD 應用程式,設定用戶端密碼與委派的 Microsoft Graph 權限,並透過 TEAMS_CLIENT_ID 和 TEAMS_CLIENT_SECRET 設定。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Microsoft Teams,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
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.
- What it does: gives Claude 11 Teams tools through Microsoft Graph, using your own Microsoft 365 sign-in. Claude sees only what you can already see in Teams. Messages pass through; nothing is stored except your sign-in token on your machine.
- Who it's for: people who live in Teams and use Claude — developers, team leads, support and ops people who want "summarise #standup since Monday" or "reply to Priya's question in #release" without switching windows. Also teams that want to host one shared Teams connector for everyone in their company.
- Cost: free and MIT-licensed. You need a Microsoft 365 work or school account and permission to register an app in Azure (or an admin who does it for you once).
[Teams MCP Server — 76-second walkthrough]
▶ Watch the 76-second walkthrough: Teams MCP Server — how it works (captions on; transcript)
Install in 3 steps (Claude Code, on your own computer)
- Register an app in Azure (5 minutes, once). Azure Portal → App registrations → New registration → any name, Accounts in any organizational directory, redirect URI type Web =
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. - Add the server to Claude:
- Sign in once. Start Claude and ask "List my Teams." A browser window opens; sign in with your Microsoft work account. Done — the token is cached, so you won't be asked again.
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.
Using it (plain English)
You don't call the tools yourself — you just ask Claude, and Claude picks the right one. Things you can say:
Good to know:
- Your access, nothing more. Claude uses your sign-in, so it can only see teams, channels and chats you're in. Each person who connects signs in with their own account.
- You approve what gets sent. Claude asks permission before each tool call unless you've allowed that tool. A good setup: allow the read and search tools, and keep the three send/reply tools on "ask" so you see every message before it posts.
- Sign-in lasts. The token is saved in
.data/tokens(local) and refreshed silently. Delete that folder to sign out. - Search needs a work account. Microsoft search across Teams doesn't work for personal Microsoft accounts.
- If something fails, ask Claude "what was the error?" — the server returns Microsoft's own message (for example, a missing permission or admin consent).
How It Works
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 for your company:
- 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
2. 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(hosted) and/orhttp://localhost:3333/callback(local STDIO sign-in) - Click Register
Configure:
- Certificates & secrets → New client secret → copy the Value
- API Permissions → Add Delegated (Microsoft Graph):
ChannelMessage.Read.All,ChannelMessage.SendChat.Read,Chat.ReadWrite,ChatMessage.SendTeam.ReadBasic.All,Channel.ReadBasic.AllUser.Read
- Click Grant admin consent (for your own tenant; other tenants consent on first login)
3. Configure & Deploy
Deploy to Railway, Render, Azure App Service, or any Node.js host:
4. Submit to MCP Registry
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.
For Claude Code Users: Local STDIO Mode
Quickest: claude mcp add as in Install in 3 steps. Or add to your .mcp.json from a clone:
First run will open your browser for Microsoft login. After that, tokens are cached.
Claude Desktop
In claude_desktop_config.json:
Available Tools
Architecture
Environment Variables
For AI assistants
A short, structured summary for LLMs and AI search lives in docs/llms.md.
License
MIT — LICENSE
Contributing
Issues and PRs welcome. Built by SurgeEnterpriseAI — Surge Software Solutions, Bengaluru.
來源:README.md,提交 a6475b5
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Microsoft 整合

Microsoft Learn MCP
com.microsoft官方發布者
一個免費的遠端 MCP 伺服器,讓 AI 助理搜尋微軟官方 Learn 文件、尋找程式碼範例,並把文件頁面抓取為 markdown。

Playwright Cloud Browsers
com.microsoft官方發布者
遠端 MCP 伺服器,為 AI 代理提供受管理的 Playwright 雲端瀏覽器,可建立工作階段、瀏覽並檢視頁面、與頁面元素互動。

Microsoft Sentinel Data Exploration
com.microsoft官方發布者
遠端 Microsoft Sentinel MCP 伺服器,讓助理以自然語言尋找相關資料表,並從 Sentinel 資料湖擷取安全性資料。
Visio
com.microsoft
讓助理透過桌面自動化,在使用者的 Windows 電腦上建立、更新與讀取 Microsoft Visio 圖表。

Microsoft Clarity MCP
由 GitHub 帳號 surendranb 發布
本機 MCP 伺服器,把 Microsoft Clarity 的行為 UX 資料(暴怒點擊、無效點擊、快速返回、JS 錯誤)提供給 AI 助理分析。