microsoft-teams-mcp
БесплатноБез исполняемых скриптовНе проверенRead Microsoft Teams data (every chat and channel, their messages, what is unread, inline images, and the Activity feed) from a shell with the fpx CLI…
от chrischall1 683 установки в других каталогахОб этом скилле
Microsoft Teams via fpx (no MCP)
Teams Web talks to its own chat service over REST
(https://teams.cloud.microsoft/api/chatsvc/<region>/v1, region amer for
most US tenants). Its requests carry Authorization: Bearer <JWT> (~23.5h
lifetime). fpx capture lifts that header off a request the signed-in tab
makes; from then on every call is a plain server-side curl — the browser
is needed only to mint the token, and any chat or channel can be read by id
without opening it. teams.microsoft.com (the old host) is not supported.
The Activity feed (the bell icon) is a chat-service conversation too —
48:notifications — so it is read the same way, with no view open.
No Calendar here. Teams Web's Calendar is an embedded
outlook.office.com iframe. Use the office-outlook-mcp repo's
outlook-fpx skill or MCP instead.
One-time setup
npm install -g @fetchproxy/cli # provides `fpx`
fpx profile add teams --domain teams.cloud.microsoft
fpx profile declare teams \
--capture-header '[email protected]/api/chatsvc/*'
That header capture is the only scope needed — widening it later forces the
user to re-approve. Requirements: the ContextMint Bridge browser
extension (from https://github.com/nullnet-app/contextmint-bridge/releases —
load the chrome zip unpacked in Chrome; Safari isn't available yet, so use
Chrome for now — it's the fetchproxy extension renamed, source at
https://github.com/nullnet-app/contextmint-bridge; verify a zip with its
.sha256), with an open teams.cloud.microsoft tab you're signed into. The
first fpx call prints a pair code — approve it in the ContextMint Bridge
popup; the grant persists until the declared scope changes.
Use
source references/teams-env.sh
teams_token_refresh # once per ~23h; click into any chat in the Teams tab while it waits
teams_get '/users/ME/conversations?view=msnp24Equivalent&pageSize=200' | jq '.conversations | length'
teams_token_refresh— captures the token. An idle tab issues no chat-service request, so click into any chat while it waits.teams_get <path> [curl args]— GET relative to the chat-service base; body on stdout. Exit 4 on non-2xx; a 401 printsrun: teams_token_refresh.teams_get_url <absolute-url>— the same for a_metadata.backwardLink(paging links are absolute).teams_token_expiry— time remaining, never the token.
Verified recipes — list chats/channels, read a conversation, find unread
messages, read the Activity feed, fetch an inline image — are in
references/chatsvc-recipes.md.
Rules that bite
- Send
behavioroverride: redirectAs404(the helpers do). Teams' own client sends it, and it is what the verified server-side calls carried — as the name says, it asks for a 404 instead of a sign-in redirect. - Paging is backwards. Both listings return newest first; follow
_metadata.backwardLink(an absolute URL) for older pages until it is absent or a page comes back empty. - Unread = a message whose
id(arrival time in epoch ms) is greater than the first;segment of the conversation'sproperties.consumptionhorizon, and that is not from you (your MRI is8:orgid:<oid>from the token'soidclaim). - Never PUT
consumptionhorizonfrom a shell. That is how Teams marks a chat read; reading messages through this API leaves the user's unread badges alone. To mark a chat read, use the MCP's confirm-gatedteams_mark_read(ormark_readon its read tools), which never moves the marker backwards. 48:*conversation ids are system threads, not chats — skip them when listing. Two are worth reading by id:48:notes(the self-chat) and48:notifications(the Activity feed;48:mentionsis its mentions subset). The conversation listing does not carry the feed — read its messages directly.- Inline images (
<img src="https://<region>-api.asm.skype.com/v1/objects/…/views/imgo">in a message body) download with the same bearer. Send it ONLY to https hosts ending in.asm.skype.com— the URL comes from message content. - Shared files cannot be downloaded with this token — they live in
SharePoint (Graph and SharePoint both refuse it).
properties.filesis a JSON string; parse it for each file's name andopenUrl.
In context groups
When the MCP is served through mcp-host, its tools join the work group
(_meta.mint.domain: "work"; the healthcheck joins none). The one canonical
read is teams_list_changed_conversations for what's new: no subject
(Teams serves one signed-in account) and no range (it takes a cursor; none
means the last 24 hours). With view: "brief" it answers one line per
changed chat or channel — title — <newest ISO time | no date> — <n> new, <m> from others — inside the untrusted-data envelope as data: string[]
(titles are set by other people), with -- none when nothing is new and
-- error: … when some conve
Установить microsoft-teams-mcp в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл microsoft-teams-mcp?
Read Microsoft Teams data (every chat and channel, their messages, what is unread, inline images, and the Activity feed) from a shell with the fpx CLI (@fetchproxy/cli) instead of running the microsoft-teams-mcp server. A bearer token is captured once from a signed-in teams.cloud.microsoft tab, then Teams' own chat-service REST API is called with plain curl — the Activity feed included, as conversation 48:notifications. Use when you want Teams data without the MCP, in a script, or on a machine where the MCP isn't installed.
Как установить скилл microsoft-teams-mcp?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл microsoft-teams-mcp запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic