@chrischall/microsoft-teams-mcp 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/.claude-plugin/marketplace.json +4 -4
  2. package/.claude-plugin/plugin.json +2 -2
  3. package/README.md +577 -93
  4. package/dist/auth-fetchproxy.js +138 -0
  5. package/dist/bundle.js +44324 -37483
  6. package/dist/capture-window.js +41 -0
  7. package/dist/chatsvc.js +580 -0
  8. package/dist/compose.js +241 -0
  9. package/dist/deps.js +1 -0
  10. package/dist/index.js +35 -6
  11. package/dist/model.js +603 -0
  12. package/dist/sharepoint-auth.js +162 -0
  13. package/dist/sharepoint-token-cache.js +105 -0
  14. package/dist/sharepoint.js +289 -0
  15. package/dist/substrate-auth.js +104 -0
  16. package/dist/substrate-token-cache.js +64 -0
  17. package/dist/substrate.js +319 -0
  18. package/dist/token-cache.js +67 -0
  19. package/dist/tools/activity.js +155 -19
  20. package/dist/tools/attachment.js +174 -0
  21. package/dist/tools/changes.js +241 -0
  22. package/dist/tools/channels.js +62 -44
  23. package/dist/tools/chat-search.js +65 -0
  24. package/dist/tools/chat.js +121 -41
  25. package/dist/tools/confirm.js +188 -0
  26. package/dist/tools/conversation.js +394 -30
  27. package/dist/tools/cursor.js +43 -0
  28. package/dist/tools/errors.js +18 -17
  29. package/dist/tools/format.js +135 -0
  30. package/dist/tools/healthcheck.js +91 -27
  31. package/dist/tools/limit.js +43 -12
  32. package/dist/tools/listing.js +180 -0
  33. package/dist/tools/markread.js +246 -0
  34. package/dist/tools/react.js +217 -0
  35. package/dist/tools/roots.js +73 -0
  36. package/dist/tools/search.js +426 -0
  37. package/dist/tools/send.js +309 -0
  38. package/dist/tools/timezone.js +38 -0
  39. package/dist/tools/titles.js +180 -0
  40. package/dist/tools/unread.js +263 -0
  41. package/dist/tools/untrusted.js +16 -1
  42. package/dist/version.js +1 -1
  43. package/mint.yaml +75 -20
  44. package/package.json +1 -2
  45. package/server.json +87 -3
  46. package/skills/teams-fpx/SKILL.md +111 -92
  47. package/skills/teams-fpx/references/chatsvc-recipes.md +151 -0
  48. package/skills/teams-fpx/references/teams-env.sh +146 -0
  49. package/dist/client.js +0 -290
  50. package/skills/teams-fpx/references/dom-list-recipes.md +0 -81
package/README.md CHANGED
@@ -1,34 +1,112 @@
1
1
  # microsoft-teams-mcp
2
2
 
3
- MCP server for **Microsoft Teams** — list your chats, teams and channels, and
4
- read whichever chat or channel is currently open, routed through your
5
- signed-in browser tab.
3
+ MCP server for **Microsoft Teams** — list every chat and channel you are in,
4
+ read any of them by id or name, pull everything you have not read yet,
5
+ read your Activity feed, fetch inline images, and — each one confirmed by you first — post messages
6
+ and reactions, using your signed-in browser session.
6
7
 
7
8
  > This project was developed and is maintained by AI (Claude Code). Use at your
8
9
  > own discretion.
9
10
 
10
- ## How it works — and its one real limitation
11
-
12
- Teams Web's chat and message data lives only in a client-side cache fed by a
13
- WebSocket/registrar sync channel — there is no REST or GraphQL endpoint that
14
- returns it. So this server does not capture a token and make plain server-side
15
- requests the way an API-backed MCP would; instead every call routes through
16
- the [fetchproxy](https://github.com/chrischall/fetchproxy) browser bridge and
17
- reads the DOM your signed-in `teams.cloud.microsoft` tab has already
18
- rendered. `teams.microsoft.com` (the old host) is not supported.
19
-
20
- **That has one real consequence: this server can only read whichever chat or
21
- channel is currently displayed in your browser tab.** The bridge can fetch
22
- and read — it cannot navigate a tab to a different conversation.
23
- `teams_list_chats` and `teams_list_teams_and_channels` always work (their
24
- sidebars are always rendered once that nav section is open);
25
- `teams_get_open_chat_messages` and `teams_get_open_channel_posts` read
26
- whatever conversation you have open. To read a different chat or channel,
27
- open it in the browser first.
28
-
29
- The bridge is on the request path for **every** call here, not just once to
30
- mint a token — unlike an API-backed MCP, there is nothing to cache between
31
- calls.
11
+ ## How it works
12
+
13
+ Chats and channels are read through Teams' own **chat-service REST API**
14
+ (`https://teams.cloud.microsoft/api/chatsvc/<region>/v1`). The server needs a
15
+ bearer token for it, and the only place one exists is your signed-in
16
+ `teams.cloud.microsoft` tab: through the
17
+ [fetchproxy](https://github.com/chrischall/fetchproxy) browser bridge it
18
+ captures the `Authorization` header off a request the Teams web app makes to
19
+ its chat service — **once**. From then on every call is a plain server-side
20
+ request; the token is cached in `~/.microsoft-teams-mcp/token.json` for its
21
+ ~23h lifetime (so a restart needs no browser), and a 401 re-captures once and
22
+ replays. `teams.microsoft.com` (the old host) is not supported.
23
+
24
+ So **chats and channels no longer need to be open in the browser** — any of
25
+ them can be read by id or name, and listing covers every chat, not just the
26
+ ones the sidebar shows. To capture a token, an idle tab is not enough: click
27
+ into any chat so Teams calls its chat service.
28
+
29
+ **The Activity feed comes from the same API.** It is a chat-service
30
+ conversation of its own (`48:notifications`), so `teams_get_activity` reads
31
+ it like any chat — no Activity view (or any view) needs to be open, and
32
+ nothing reads the page. The bridge is used for one thing only: capturing the
33
+ token.
34
+
35
+ By default nothing here marks anything read. Reading a chat through this
36
+ server leaves your Teams unread badges exactly as they were — unless you ask
37
+ for it: `teams_mark_read`, or `mark_read: true` on `teams_read_conversation`
38
+ / `teams_get_unread`, moves your read marker forward. The writes —
39
+ `teams_send_message`, `teams_react` and marking read — go through the same
40
+ chat-service API and change nothing until you confirm (see
41
+ [Writes](#writes)).
42
+
43
+ ## SharePoint file download
44
+
45
+ A **shared file** in a chat or channel is not in Teams' own object store
46
+ (where inline images live) — it is in **SharePoint**, which does not accept the
47
+ chat-service token. So `teams_get_attachment` captures a **separate SharePoint
48
+ token** and fetches the file through SharePoint's `v2.1` shares API, then
49
+ downloads the pre-signed link it returns (with no token attached).
50
+
51
+ Two things follow from that, both one-time and additive — they do **not** change
52
+ how the chat-service token is captured:
53
+
54
+ - **A one-time re-pair.** The SharePoint path declares a second trust scope,
55
+ `sharepoint.com`, so the ContextMint Bridge grant has to cover it. If you
56
+ paired `microsoft-teams-mcp` before this feature, revoke and re-pair it in the
57
+ bridge popup once to add the SharePoint scope (a `not in declared set` error
58
+ on a file download is this, nothing more). The chat-service capture is
59
+ untouched — it still trusts only `teams.cloud.microsoft`.
60
+ - **Open the file once per SharePoint host.** The SharePoint token is captured
61
+ from the browser's own request to the file's SharePoint host, is short-lived
62
+ (~53 minutes), and is scoped to one host family. So the first file from a
63
+ given host in a session may need you to open it once in a signed-in Teams tab
64
+ (that browser request is what the token is read from); after that the token is
65
+ cached and refreshed until it expires. A file your account cannot open, or on
66
+ a SharePoint host your token does not cover, comes back as metadata and its
67
+ open link rather than failing.
68
+
69
+ ## Substrate search
70
+
71
+ `teams_search_messages` searches the way the Teams search box does: through
72
+ **Microsoft Substrate** (`POST https://substrate.office.com/searchservice/api/v2/query`).
73
+ Substrate does not accept the chat-service token either, so search captures a
74
+ **third token** — off the request the Teams tab makes to
75
+ `substrate.office.com/searchservice/*` when you run a search there — and caches it
76
+ in `~/.microsoft-teams-mcp/substrate-token.json`. As with the other two, it is
77
+ read only from the request header, never from page storage.
78
+
79
+ - **A one-time re-pair.** The search path declares its own trust scope,
80
+ `substrate.office.com`, which the ContextMint Bridge grant has to cover. If you
81
+ paired `microsoft-teams-mcp` before this feature, revoke and re-pair it in the
82
+ bridge popup once. The chat-service and SharePoint captures are untouched.
83
+ - **Run a search in Teams once.** The token is read off the Teams tab's own
84
+ search request, so the first search may need you to type anything into the
85
+ Teams search box and press Enter while the capture waits
86
+ (`TEAMS_CAPTURE_TIMEOUT`, default 30s).
87
+ - **It falls back to scanning.** In the default `mode: "auto"`, when no Substrate
88
+ token can be captured or the search fails, the tool scans recent conversations
89
+ instead (`source: "scan"`, with a `fallback_reason`), and does not wait on
90
+ another capture for 10 minutes. `mode: "substrate"` fails instead;
91
+ `mode: "scan"` never touches Substrate.
92
+
93
+ - **It does not re-capture in a loop.** If a freshly captured token is still
94
+ refused (401), the same 10-minute cooldown applies, so `auto` goes straight
95
+ to the scan instead of waiting on the bridge every call.
96
+
97
+ > **Verified live 2026-10-12.** A token captured off the Teams tab's own
98
+ > search request (it lives about 1.4 hours) was replayed from Node against
99
+ > read-only queries such as `deploy`. Confirmed: the request body (`cvid`, `logicalId`
100
+ > and a `scenario` are required; the sort is `{ Field: "Time", SortDirection:
101
+ > "Desc" }`), that no header beyond the bearer is needed, the response fields
102
+ > (conversation in `ClientThreadId`, a channel root in `ClientConversationId`'s
103
+ > `;messageid=`, the message id in `InternetMessageId`, sender name and SMTP
104
+ > address but no MRI, a plain-text `Preview` of at most ~255 characters, an
105
+ > approximate `Total`), paging by `from`/`size` (up to 200), and that
106
+ > `conversation` and `since` can be sent server-side as `ClientThreadId:"…"`
107
+ > and an unquoted `sent>=…`. `from` stays client-side: Substrate's own `from:`
108
+ > matches word prefixes, not "display name contains". A redacted response is
109
+ > in `tests/fixtures/substrate-query-response.json`.
32
110
 
33
111
  ## Install
34
112
 
@@ -78,89 +156,500 @@ opencode reads MCP servers from `opencode.json` (project) or
78
156
 
79
157
  ### Configuration
80
158
 
81
- Everything is optional — this server needs no credentials of its own.
159
+ Everything is optional — by default the token is captured from your browser.
82
160
 
83
161
  | variable | purpose |
84
162
  | --- | --- |
163
+ | `TEAMS_ACCESS_TOKEN` | A chat-service bearer token (the JWT itself) to use instead of capturing one. Never re-captured from the browser: when Teams rejects it, replace it. |
164
+ | `TEAMS_DISABLE_FETCHPROXY` | `true` to never capture from the browser (then `TEAMS_ACCESS_TOKEN` is required). |
165
+ | `TEAMS_CHATSVC_REGION` | Chat-service region in the API path. Defaults to `amer`. |
166
+ | `TEAMS_CHATSVC_BASE` | Full override for the API base (default `https://teams.cloud.microsoft/api/chatsvc/<region>/v1`). |
167
+ | `TEAMS_CAPTURE_TIMEOUT` | Seconds to wait for the Teams tab to issue a chat-service request. Defaults to `30`. The bridge deadline is derived from it (window + 15s). |
168
+ | `TEAMS_TOKEN_CACHE` | `false` to keep the captured token in memory only. Defaults to on. |
169
+ | `TEAMS_TOKEN_FILE` | Where the captured token is cached. Defaults to `~/.microsoft-teams-mcp/token.json`. |
170
+ | `TEAMS_SUBSTRATE_TOKEN_FILE` | Where the captured Substrate search token is cached. Defaults to `~/.microsoft-teams-mcp/substrate-token.json`. `TEAMS_TOKEN_CACHE=false` keeps it in memory too. |
171
+ | `TEAMS_TIME_ZONE` | Default IANA time zone (e.g. `America/New_York`) for the `tz` argument of `teams_read_conversation` and `teams_get_unread`: each message then carries `time_local` (ISO 8601 with offset) next to its UTC `time`. Unset means no `time_local` unless `tz` is passed; a name `Intl` does not know is reported as an error. |
85
172
  | `TEAMS_WS_PORT` | fetchproxy concentrator port. Defaults to `37149`, the fleet-wide shared port. |
86
173
  | `FETCHPROXY_WS_HOST` | Bind interface for the bridge (default `127.0.0.1`; a literal IP only, anything else is ignored). Keep on loopback — it exists for ONE topology: a hosted child in its own network namespace. |
87
174
  | `FETCHPROXY_IDENTITY_DIR` | Where to store the long-term fetchproxy identity keypair (default `~/.fetchproxy/identity/`; an absolute path only, anything else is ignored). Exists for a host that runs a separate child per caller, so they can share one identity. |
88
175
 
89
176
  ## Tools
90
177
 
91
- - `teams_list_chats` — the Chat sidebar: title, last-message preview,
92
- last-activity time, and Teams' own conversation id for each chat.
93
- - `teams_get_open_chat_messages` — the message thread of whichever chat is
94
- currently open: sender, ISO-8601 time, message id, and text, plus a
95
- `conversation` field naming WHICH chat that is (the selected sidebar row's
96
- title and thread key) so the model can confirm it read the chat you meant.
97
- - `teams_list_teams_and_channels` — the Teams-and-Channels sidebar (a
98
- DIFFERENT view from Chat): every team and channel the user belongs to,
99
- with each channel's parent team name.
100
- - `teams_get_open_channel_posts` — the top-level posts of whichever channel
101
- is currently open: sender, subject (when present), prose time (not
102
- ISO-8601 — Teams doesn't expose one for these), message id, and text.
103
- Threaded replies under a post are not included. Like the chat tool, it
104
- names the open channel in a `conversation` field.
105
- - `teams_get_activity` — the Activity feed (the bell icon in the left nav):
106
- mentions, replies, reactions, and the like across every chat and channel,
107
- each with its title, message preview, prose time, and location (the
108
- team/channel or chat it happened in). Requires the Activity view open.
109
- - `teams_healthcheck` — verifies the bridge can reach a signed-in tab.
110
-
111
- All five data tools are read-only. Each takes an optional `limit` (default
112
- 50; max 200, or 300 for `teams_list_teams_and_channels`) and keeps the newest
113
- rows, adding a `truncated` field with the total when it left some out.
114
- `teams_get_open_chat_messages` also takes `since` (an ISO 8601 date-time) to
115
- drop older messages. When a list tool reads nothing, its result carries an
116
- `empty_hint` naming the Teams view to open, and `teams_healthcheck` reports
117
- `chat_view_not_open` rather than a healthy bridge if the Chat view isn't open.
118
-
119
- **No Calendar tool here.** Teams Web's Calendar renders inside an embedded
120
- `outlook.office.com` iframe, which the ContextMint Bridge (DOM reads only
121
- against the top-level tab, no iframe crossing) cannot reach — and isn't the
122
- right place for it anyway. Use
178
+ - `teams_list_chats` — every chat you are in (1:1, group and meeting chats,
179
+ not just the visible sidebar, plus your `48:notes` self-chat as kind
180
+ `self` when Teams lists it), favorites and pinned chats first, then most
181
+ recent activity first: id, kind,
182
+ title, unread hint, ISO-8601 last-activity time, last-message preview and
183
+ sender. `unread_only` (exact — see below), `since_days` (with
184
+ `unread_only`; default 14), `older_unread` (with `unread_only`; lists what
185
+ `since_days` left out — see below), `query` (title, a participant's name, or the
186
+ last-message preview), `search_messages`,
187
+ `since` / `until` (ISO 8601 date-times: keep chats whose last activity is
188
+ at or after / at or before them; a chat with no last activity is left out
189
+ when either is given), `sort` and `limit` (default 50, max 500; keeps the
190
+ head of the sort order). `sort` is `activity` (default — favorites, pinned,
191
+ then most recent; with `unread_only`, most recent), `activity_only` (most
192
+ recent first, ignoring favorites and pinned) or `title` (alphabetical,
193
+ case-insensitive — this titles every untitled chat in the listing before
194
+ `limit` applies, so it reads more than the other orders). A group chat with no topic is titled after
195
+ who is in it — `Group chat: <up to three recent senders other than you,
196
+ most recent first>` plus `+N` for more, with every recent sender in
197
+ `participants` — rather than after whoever posted last, so chats that
198
+ share a last sender stay distinguishable. The chat service has no member
199
+ list, so this reads up to 30 recent messages (one small page) of each such
200
+ chat returned (four at a time, cached until a new message arrives); if that
201
+ read fails, the chat keeps its last-sender title. A 1:1 is titled by the
202
+ other person (its id names them) and carries them as its one
203
+ `participants` entry — read from their recent messages when you sent the
204
+ last one, `(1:1 chat)` if they wrote nothing recently. `query` matches such
205
+ chats by their participants, never by the made-up `Group chat:` or
206
+ `(1:1 chat)` titles, so `group` or `chat` does not hit every untitled chat.
207
+ With a `query`, every row carries `match_reason` — the first of `id` (an
208
+ exact id), `title`, `team`, `participant` (an untitled chat's participant,
209
+ including a 1:1's other person) or `message` that applies. `message` means
210
+ the query was found in what was said, not in what the chat is called: by
211
+ default only the last-message preview the listing already carries is
212
+ checked (no extra reads). `search_messages: true` (needs `query`) also
213
+ reads the last 50 messages of every chat no name or preview matched, four
214
+ at a time, and returns the ones where a message a person wrote contains
215
+ the query, with the newest such message as `matched_message` (`id`,
216
+ `time`, `sender`, `text` cut to a window around the match). It is one read
217
+ per chat, so narrow a large listing with `since` / `until` or
218
+ `unread_only`; chats whose read failed are counted in
219
+ `messages_not_searched`.
220
+ Conversations the chat service marks favorite or pinned carry
221
+ `favorite: true` / `pinned: true` and lead the plain listing (favorites,
222
+ then pinned); `unread_only` keeps most-recent-first order but carries the
223
+ flags. Note the new Teams **Favorites section for chats** is kept by a
224
+ different Teams service this MCP does not read, so a chat you put there is
225
+ not flagged (verified live 2026-10-10) — the flags mostly reflect favorited
226
+ channels and pinned conversations. A chat you muted in Teams carries
227
+ `muted: true`.
228
+ - `teams_list_teams_and_channels` — every channel you are in, by team then
229
+ title, with the same fields — favorite and pinned channels first, flagged
230
+ as in `teams_list_chats`. Channels you have hidden in Teams are listed
231
+ after the rest with `hidden: true`, and left out of `unread_only` unless
232
+ `include_hidden` is set. `unread_only`, `include_hidden`, `since_days`
233
+ (with `unread_only`; default 14), `query` (channel or team name, or the
234
+ last-message preview; each match carries `match_reason`, as in
235
+ `teams_list_chats`) and
236
+ `limit` (default 50, max 500).
237
+ - `teams_read_conversation` — read any chat or channel by id or name,
238
+ oldest first: sender, time (UTC, ISO 8601), text, subject, edited/deleted
239
+ flags and attachments. A channel comes back as threads (root post + replies).
240
+ A thread whose root post is older than the window (a reply came in after
241
+ `since`, `limit` or `after_message_id` cut the read) still shows its root:
242
+ it is fetched by id and marked `outside_window: true` — context only, not
243
+ counted in `unread_count` or `message_count` and never the `next_cursor`.
244
+ Up to 25 roots are fetched per call (shared by every conversation it
245
+ reads, newest threads first); one past that, or one that cannot be
246
+ fetched, is `{ id, missing: true }`.
247
+ `unread_only`, `since` (ISO 8601), `limit` (default 50, max 500, newest
248
+ kept) and `tz` (an IANA time zone such as `America/New_York`, default
249
+ `TEAMS_TIME_ZONE`), which adds `time_local` — the same instant in that zone,
250
+ ISO 8601 with its offset — next to each message's `time`. Message text is
251
+ never truncated, and a table's cells are separated by ` | `, one row per
252
+ line. The resolved `conversation` carries `match_reason` (`id`, `title`,
253
+ `team` or `participant`); a name never resolves by what was said in a
254
+ chat, since `teams_send_message` and `teams_react` name their target the
255
+ same way. An ambiguous name is not an error here: the result is
256
+ `{ambiguous: true, query, match_count, candidates, hint}` — up to 10
257
+ candidates, each with `id`, `title`, `kind`, `team` (channels),
258
+ `lastActivity` and `match_reason` — and no messages, so you can read again
259
+ by one candidate's id (`teams_send_message` and `teams_react` still refuse
260
+ an ambiguous name outright, since a write never guesses); an
261
+ untitled group chat can be named by one of its participants, and a 1:1 by
262
+ the other person (this, and the same naming in `teams_send_message` /
263
+ `teams_react`, titles every untitled chat first).
264
+ `48:notes` — or the name `notes` / `self` — is your notes self-chat.
265
+ `after_message_id` returns only messages newer than that id (the read
266
+ stops at the first message at or before it, alongside `unread_only`,
267
+ `since` and `limit`); every result carries `next_cursor` — the newest
268
+ returned message's id, or the `after_message_id` you passed when nothing
269
+ is new — so passing it back as `after_message_id` reads only what arrived
270
+ since. `after_message_id` takes message ids only: to read what
271
+ `teams_get_changes` counted, pass that row's `after_message_id`, not its
272
+ `next_cursor`. See [Cursors](#cursors-only-what-is-new).
273
+ `format` sets how much comes back: `full` (default, everything above),
274
+ `compact` (each message only `id`, `time`, `time_local`, `sender`, `text`,
275
+ plus `subject` when set — no reactions, attachments or edited/deleted
276
+ flags — and the conversation only `id`, `kind`, `title`, `team`) or
277
+ `summary` (no messages: `message_count`, `newest_time` and, for a channel,
278
+ one `{ root_id, subject, reply_count, newest_time }` per thread, with
279
+ `root_outside_window: true` or `root_missing: true` for a root from
280
+ outside the window).
281
+ `conversation` may also be an array of up to 20 ids or names: the result
282
+ is then `{ conversations: [...], errors, fetched_at }`, one single-read
283
+ result per conversation (the other arguments apply to each), read four at
284
+ a time; an ambiguous name takes its place in `conversations` as the same
285
+ `{ambiguous: true, query, match_count, candidates, hint}` object a single
286
+ read returns, one that cannot be resolved or read is listed in `errors`
287
+ with its reason, and the rest still come back. A single string returns
288
+ exactly the shape above.
289
+ By default it does not mark anything read; `mark_read: true` also moves
290
+ your read marker up to the newest message returned (never backwards;
291
+ `outside_window` roots do not count) and reports `marked_read` — a write,
292
+ so it asks you to confirm first. With an array, each conversation read is
293
+ marked up to its own newest message, and one confirmation covers them all.
294
+ It never marks a message you were not given: `mark_read` with
295
+ `format: "summary"` is refused (`compact` is fine), and when `limit` or
296
+ `since` cut off unread messages older than those returned, that
297
+ conversation's marker stays put and it reports
298
+ `marked_read: { skipped: "truncated" | "since", hint }` (a `limit` that cut
299
+ only messages you had already read still marks). An empty read, or an
300
+ `after_message_id` with nothing new, marks nothing (`marked_read: false`).
301
+ - `teams_get_unread` — every unread message across your chats and channels,
302
+ grouped by conversation, most recent first. Filter by `kinds` (`chat`,
303
+ `channel`, `meeting`, `oneOnOne`) or `query` (title, channel or team
304
+ name, an untitled chat's participant name, or the last-message preview —
305
+ each conversation then carries `match_reason`, as in `teams_list_chats`);
306
+ `per_conversation_limit`
307
+ (default 50) and `max_conversations` (default 20 returned with their
308
+ messages — the rest are named, with their `unread_count`, in
309
+ `more_unread_conversations`). Hidden channels are left out unless
310
+ `include_hidden`; chats you muted in Teams (`muted: true`) are left out
311
+ unread and counted in `muted_skipped` unless `include_muted`. Only
312
+ conversations with unread messages from the last `since_days` (default 14,
313
+ max 3650) are returned; older ones are counted in `older_unread_skipped`,
314
+ and `older_unread: true` also lists them (see below). An untitled group chat or 1:1 is titled after
315
+ its participants, as in `teams_list_chats` — in `conversations`, in
316
+ `more_unread_conversations` and in `errors`. By default it does not mark
317
+ anything read; `mark_read: true` also moves the read marker of each
318
+ conversation returned with its messages (not `more_unread_conversations`)
319
+ up to its newest unread message returned, and reports `marked_read` per
320
+ conversation (with `mark_read_warning` when that move failed). One
321
+ confirmation covers every move. It never marks a message you were not
322
+ given: `mark_read` with `format: "summary"` is refused (`compact` is
323
+ fine), a conversation `per_conversation_limit` cut keeps its marker and
324
+ reports `marked_read: { skipped: "truncated", hint }`, and `outside_window`
325
+ roots never count. `tz` (default
326
+ `TEAMS_TIME_ZONE`) adds each message's `time_local`, as in
327
+ `teams_read_conversation`. A channel's unread replies come grouped under
328
+ their root post; a root you had already read is fetched and marked
329
+ `outside_window: true` (not unread, not counted), up to 25 per call as in
330
+ `teams_read_conversation`, else `{ id, missing: true }`. `cursors` — `{ "<conversation id>": "<message id>" }`
331
+ — returns, per conversation, only unread messages newer than its cursor
332
+ (each read stops at the later of the read marker and the cursor; a
333
+ conversation with nothing past its cursor is left out). Each returned
334
+ conversation carries `next_cursor`, and the result carries `next_cursors`:
335
+ the cursors you passed, updated with every returned conversation's
336
+ `next_cursor` — pass it back as `cursors` next time.
337
+ `format` (`full`, `compact` or `summary`) trims each conversation as in
338
+ `teams_read_conversation`; every format keeps the conversation `id`,
339
+ `unread_count` and `next_cursor`.
340
+ - `teams_get_changes` — which chats and channels got new messages since a
341
+ cursor: counts, not messages. Each changed conversation comes back with its
342
+ summary, `new_message_count` (real messages only — call recordings and other
343
+ system events, and deleted messages, are not counted),
344
+ `new_from_others_count`, `newest_time` and, for a channel, `threads`: one
345
+ `{ root_id, new_root, new_reply_count }` per thread the new messages landed
346
+ in, including a thread whose root post is older than the cursor, and
347
+ `after_message_id` — the value to pass to `teams_read_conversation` as
348
+ `after_message_id` to read exactly the messages counted (a message id is
349
+ its arrival ms, so this is the cursor time written as an id). Without
350
+ `cursor` it looks back 24 hours. `next_cursor` is an opaque token (base64url
351
+ of `{"t": <epoch ms>}`; `cursor` also takes a plain ISO 8601 time) — pass it
352
+ back to see only what arrived since. It is at-least-once: a conversation can
353
+ come back twice, but none is skipped, and it stays put when a read failed
354
+ (`errors`). `kinds` and `include_hidden` filter as in `teams_get_unread` —
355
+ use the same ones with a cursor as the call that returned it; `limit`
356
+ (default 50, max 200) caps the conversations returned, the rest are named in
357
+ `more_conversations` (each with its `after_message_id` too). Then read what
358
+ changed with `teams_read_conversation`, handing on the row's
359
+ `after_message_id` — **not** `next_cursor`, which is a time token that only
360
+ `teams_get_changes` accepts (`teams_read_conversation` rejects it, and
361
+ `teams_get_changes` rejects a message id):
362
+
363
+ ```jsonc
364
+ // first call: the last 24 hours
365
+ teams_get_changes({})
366
+ // → { since, total_new_messages: 5, conversations: [
367
+ // { conversation: { id: "19:…@thread.tacv2", kind: "channel", title: "Design", … },
368
+ // new_message_count: 3, new_from_others_count: 3, newest_time: "…",
369
+ // after_message_id: "1791728801361",
370
+ // threads: [{ root_id: "1791803726629", new_root: false, new_reply_count: 2 }, …] }, … ],
371
+ // next_cursor: "eyJ0IjoxNzkxODE1MjAxMzYxfQ", next_cursor_time: "…", fetched_at }
372
+ // read the messages it counted in one conversation: hand on the row's after_message_id
373
+ teams_read_conversation({ conversation: "19:…@thread.tacv2", after_message_id: "1791728801361" })
374
+ // later: only what arrived since — next_cursor goes back to teams_get_changes only
375
+ teams_get_changes({ cursor: "eyJ0IjoxNzkxODE1MjAxMzYxfQ" })
376
+ ```
377
+
378
+ A channel reply moves only the listing's `lastUpdatedMessageId` (its
379
+ `lastMessage` stays on the newest root post), so that is what nominates a
380
+ channel; each conversation is then read newest *change* first down to the
381
+ cursor, since an old message edited after it is served ahead of new ones.
382
+ A hidden channel's listing entry stops moving altogether, so with
383
+ `include_hidden` every hidden channel is read.
384
+ - `teams_search_messages` — find messages by text across your chats and
385
+ channels, newest first: each hit names its conversation (id, title, kind,
386
+ team) and carries the message's id, ISO-8601 time, sender, `fromMe` (scan
387
+ only), plain text, subject and `replyTo` (a channel reply's root) — read it in context
388
+ with `teams_read_conversation`. `conversation` narrows to one chat or
389
+ channel (id or name, as in `teams_read_conversation`), `from` to senders
390
+ whose display name contains it, `since` (ISO 8601; default the last 30 days)
391
+ sets how far back to look, `limit` caps the hits (default 25, max 200;
392
+ `total_hits` and `truncated` say when there were more). `source` says which
393
+ path answered:
394
+ - `"substrate"` (the default, `mode: "auto"`) — Teams' own search through
395
+ [Microsoft Substrate](#substrate-search): matched the way the Teams search
396
+ box matches (words ANDed with stemming, so `deploy` also finds
397
+ "deployed"; `"quoted phrases"`; `OR`), across all of your conversations
398
+ rather than the most recent ones. `conversation` and `since` are sent to
399
+ Substrate itself; `from` is applied to what it returns, 50 results a page,
400
+ up to 10 pages. Its text is Substrate's plain-text preview of the message
401
+ (at most ~255 characters), so every hit is marked `excerpt: true`, and its
402
+ hits carry no `fromMe` (Substrate does not say who you are on a hit).
403
+ `substrate` reports the pages read and how many results the filters
404
+ dropped. A conversation missing from your listing is named by its id.
405
+ - `"scan"` — when Substrate is unavailable or fails (`fallback_reason` says
406
+ why), or with `mode: "scan"`. Every word of `query` must appear (any
407
+ order, ignoring case; `"quoted words"` match as a phrase); the
408
+ `max_conversations` (default 100, max 500) most recently active
409
+ conversations with activity since the cutoff are read back to it, four at
410
+ a time, and `scan` reports how many were read, how many the window or the
411
+ cap left out, and any read only partly (1,000 messages each). Live, 100
412
+ conversations took about 15 seconds — narrow with `conversation` or
413
+ `since` when you can. Channels hidden in Teams are skipped unless named;
414
+ deleted messages and system events never match.
415
+
416
+ `mode: "substrate"` uses only Substrate and fails rather than falling back.
417
+ - `teams_get_attachment` — one attachment of a message: an inline image is
418
+ returned as the image itself; a shared file is downloaded from SharePoint and
419
+ returned as its contents — an image as the image, anything else as an embedded
420
+ resource carrying the bytes. Shared-file download uses a separate, short-lived
421
+ SharePoint token captured per SharePoint host, so the first file from a given
422
+ host may need [opening once in Teams](#sharepoint-file-download) to mint it; a
423
+ file your account cannot open, or one that could not be fetched, comes back as
424
+ metadata and its open link instead of failing.
425
+ - `teams_get_activity` — the Activity feed (the bell icon), newest first:
426
+ mentions (including @team / @everyone), reactions, replies, meeting
427
+ notices and missed calls across every chat and channel. Each row has its
428
+ time (ISO 8601), `kind` (`mention`, `reaction`, `reply`, `meeting`, `call`
429
+ or `other`) with Teams' raw type/subtype, whether you have seen it, who
430
+ did it, where (`conversation_id`, title, type), the `message_id` and a
431
+ plain-text preview — pass `where.conversation_id` to
432
+ `teams_read_conversation` to read it in context. Filter with
433
+ `unread_only`, `kinds` and `since_days` (default 14, max 3650); `limit`
434
+ (default 50, max 200). Read from the chat service, so the Activity view
435
+ does not need to be open; it never marks anything read (`teams_mark_read`
436
+ marks chats and channels read, not the Activity feed).
437
+ - `teams_healthcheck` — resolves the token the way every tool does
438
+ (capturing one on a cold start) and probes the chat service with one
439
+ conversations listing. Reports where the token came from and when it
440
+ expires (both `null` when no token is held, e.g. after a failed capture)
441
+ and how many conversations the listing returned — never the token.
442
+
443
+ **Write** (each asks you to confirm first — see [Writes](#writes)):
444
+
445
+ - `teams_send_message` — post as you to any chat or channel, by id or name.
446
+ `text` is plain text: it is escaped, newlines are kept, and `:key:`
447
+ shortcodes (`:smile:`, `:1f389_partypopper:`) become Teams emoji.
448
+ `reply_to` posts into a channel post's thread — it must be a root post in
449
+ that channel, not a reply (in a chat it quote-replies that message); `quote` quote-replies a message anywhere; `mentions`
450
+ @-mentions people by MRI or by a display name matched among the
451
+ conversation's recent senders (an ambiguous name is refused with the
452
+ candidates). The result says whether the post was found again by reading
453
+ the conversation back (`verified`).
454
+ - `teams_react` — add or (with `remove: true`) withdraw your reaction on a
455
+ message: an emoji or name (`thumbsup`/👍, `heart`/❤️, `laugh`/😆,
456
+ `surprised`/😮, `sad`/😢, `angry`/😡, `checkmark`/✅) or any raw Teams
457
+ reaction key (`fire`, `1f389_partypopper`). The message is read back to
458
+ verify the change (`verified: null` when it is not found again). It writes only that message's reaction — never your
459
+ recent-reactions list or any other preference.
460
+ - `teams_mark_read` — mark a chat or channel read in Teams, clearing its
461
+ unread badge: moves your read marker (the conversation's
462
+ `consumptionhorizon`) up to `up_to_message_id`, or by default up to the
463
+ newest message in the conversation. Returns the conversation,
464
+ `previous_horizon_message_id` (`null` if you never opened it) and
465
+ `new_horizon_message_id`. The marker never moves backwards: when it is
466
+ already at or past the target, nothing is written (no confirmation is
467
+ asked) and `status` is `already_read`. Only you see your read marker.
468
+
469
+ `teams_read_conversation` and `teams_get_unread` also write when — and only
470
+ when — you pass `mark_read: true` (see above). Every other tool is
471
+ read-only, and nothing marks anything read unless you ask it to.
472
+
473
+ ## Writes
474
+
475
+ A post and a reaction are visible to everyone in the conversation, and
476
+ marking read clears your unread badges, so each write asks you first. A
477
+ client that can show a confirmation prompt (Claude Code) shows one. On a
478
+ client that cannot, the first call changes nothing and returns a
479
+ `confirmation-required` preview — the conversation, the exact text, any
480
+ mentions, the quoted message, the reaction, or the message your read marker
481
+ moves to and where it was, with everything other people wrote (titles,
482
+ names, quoted text) fenced as untrusted — plus a `confirmToken`; only a
483
+ repeat call with that token writes. With `mark_read` on
484
+ `teams_read_conversation` / `teams_get_unread`, that first call returns just
485
+ the preview (no messages); the repeat call reads and marks. The token is single-use, expires, and is
486
+ bound to the exact arguments: change anything between the two calls and it
487
+ is refused with a fresh preview.
488
+
489
+ | variable | default | |
490
+ | --- | --- | --- |
491
+ | `MCP_CONFIRM_MODE` | `ask-user` | What a write does on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop). `ask-user`: two steps, and the model must get your approval in chat before calling again with the token. `auto`: the same two steps, but the model may use the token after reviewing the preview itself. `refuse`: writes are refused on such clients. An unrecognised value is treated as `refuse`. |
492
+ | `MCP_CONFIRM_ELICITATION` | `on` | `off` never shows a confirmation prompt, so every client gets the `MCP_CONFIRM_MODE` behaviour. Set it for a client that says it can show prompts but never does. |
493
+ | `MCP_CONFIRM_TTL_SECONDS` | `600` | How long a token stays valid. |
494
+ | `MCP_CONFIRM_SECRET` | random per process | Signing key; set it only if tokens must survive a server restart. |
495
+
496
+ On a client without prompts the token is something the model passes back
497
+ itself, so keep `MCP_CONFIRM_MODE=ask-user` and approve each preview in chat
498
+ as the real guard on what gets posted.
499
+
500
+ **Try it in your own notes first.** The conversation `48:notes` (also by the
501
+ name `notes` or `self`) is your Teams self-chat ("notes to self"): every write
502
+ accepts it, `teams_read_conversation` reads it, nobody else sees it, and
503
+ it is the safe place to see what a message or reaction will look like. Every
504
+ other `48:` system conversation (calendar and the like) is refused.
505
+
506
+ **A send that times out is not retried.** If Teams does not confirm a post (a
507
+ timeout, a dropped connection or a 5xx after the request went out), the
508
+ result is `status: "unknown"` — the message may already be there, so read the
509
+ conversation before sending again. A 4xx is a refusal and stays an error. A
510
+ reaction Teams does not confirm is settled by reading the message back, and
511
+ is `status: "unknown"` only when that does not show the change. A read-marker
512
+ move Teams does not confirm is `status: "unknown"` (`marked_read: false` with a
513
+ `mark_read_warning` from the read tools); moving it again to the same message
514
+ is harmless. Marking read (`PUT …/properties?name=consumptionhorizon`) was
515
+ verified live on `48:notes` on 2026-10-12. Threaded channel replies, @mentions,
516
+ removing a reaction and the ✅ reaction's key follow Teams' documented or
517
+ inferred shapes but have not been verified against a live tenant yet.
518
+
519
+ **No Calendar tool here.** Teams Web's Calendar is Outlook's data, rendered
520
+ inside an embedded `outlook.office.com` iframe — not the chat service's. Use
123
521
  [`office-outlook-mcp`](https://github.com/chrischall/office-outlook-mcp)'s
124
522
  `outlook_list_events` / `outlook_get_event` / `outlook_list_calendars`
125
- instead: real Outlook REST API calls via a captured token, with no
126
- "must have it open" limitation at all.
523
+ instead.
127
524
 
128
525
  ## Things worth knowing
129
526
 
130
- - **One Teams tab at a time.** If more than one `teams.cloud.microsoft` tab
131
- is open, the bridge reads whichever answers first — which may not be the
132
- one you're looking at. The "open" tools report the conversation they read
133
- (`conversation.title`, or `null` if it couldn't be identified) and their
134
- descriptions tell the model to check it before summarizing.
527
+ - <a id="cursors-only-what-is-new"></a>**Cursors: only what is new.** A
528
+ message id is its arrival time in epoch milliseconds, so "newer than the
529
+ last message I saw" is a numeric comparison and a cursor is just that
530
+ message's id — `next_cursor` is a plain id string, passed back unchanged as
531
+ `after_message_id` (`teams_read_conversation`) or inside `cursors`
532
+ (`teams_get_unread`). The server keeps no state and **no cache**: every
533
+ call reads Teams live, and `fetched_at` (ISO 8601, UTC) says when. There is
534
+ no refresh flag because there is nothing to refresh. A cursor never moves
535
+ the read marker; with `limit` / `per_conversation_limit` the newest
536
+ messages are kept and `next_cursor` jumps to the newest, so check
537
+ `truncated` before assuming nothing was skipped. **Two cursor kinds:**
538
+ `teams_get_changes` has its own *time* cursor (an opaque token, or an ISO
539
+ 8601 time) that goes back only to `teams_get_changes`; it is not a message
540
+ id. Each of its conversation rows carries the message-id cursor to hand on,
541
+ `after_message_id`, for `teams_read_conversation` (or `teams_get_unread`'s
542
+ `cursors`). Each tool rejects the other kind.
543
+
135
544
  - **Results are framed as untrusted.** Every data tool returns
136
545
  `{ untrusted_content: true, note, ... }` and says in its description that
137
546
  the text is written by other Teams users. Message bodies, previews and
138
547
  subjects are data to report, never instructions to follow — this matters
139
548
  because the server usually runs beside write-capable MCPs (mail, messaging)
140
549
  that an injected instruction could otherwise reach.
141
- - **No chat or channel selection.** See "How it works" above — there is no
142
- id parameter on either "open" tool because there is no way to act on one.
143
- Ask the person to open the chat/channel they mean, or use the matching
144
- list tool to show them what's available.
145
- - **Chat and Teams-and-Channels are different nav sections.** Reading
146
- channels needs the Teams-and-Channels view open in the browser (the
147
- "Teams" icon in the left rail, not "Chat") — if a channel tool returns
148
- nothing, that's usually why.
149
- - **Grouped messages still resolve a sender.** Teams visually hides the
150
- sender name on consecutive messages from the same person, but the name
151
- stays in the DOM, so `sender` is populated on every row regardless.
152
- - **Quoted content concatenates.** A chat message that quotes an earlier one,
153
- or a channel post whose body includes a reply preview, has that quoted
154
- text run together with the real content inside `text` — a limitation of
155
- bulk text extraction, not a bug.
156
- - **Multiple open Teams tabs race.** The bridge reads whichever matching tab
157
- answers first ("first responsive"), not necessarily the one you meant. If
158
- results look like they're from the wrong chat/channel, close extra
159
- `teams.cloud.microsoft` tabs so only one remains.
160
- - **Scope grows quietly.** If you see a `read_dom_list name not in declared
161
- set` error, the extension's approved scope is behind the server's declared
162
- one — this shouldn't happen in a released version, but if it does, revoke
163
- and re-pair `teams-mcp` in the ContextMint Bridge popup.
550
+ - **Unread means what Teams means, and is confirmed by reading.** A message
551
+ is unread when it arrived after the conversation's read marker
552
+ (`consumptionhorizon`), was not sent by you, is a real message (`Text` or
553
+ `RichText/Html`) and is not deleted. System messages — call recordings and
554
+ transcripts (`RichText/Media_*`), `Event/*`, `ThreadActivity/*`,
555
+ `Control/*` — never make anything unread. The conversation listing cannot
556
+ tell on its own: `lastimreceivedtime` moves for a call recording too,
557
+ `lastMessage` can be stale, and a chat you never opened has no marker at
558
+ all. So the listing only nominates candidates (anything past the marker,
559
+ or no marker), and `unread_only` and `teams_get_unread` read each
560
+ candidate's messages past its marker (four at a time) and keep only those
561
+ holding a real unread message, with its `unread_count`. Without
562
+ `unread_only` the list tools' `unread` is just that cheap hint, marked
563
+ `unread_confirmed: false`. A candidate that answers 404 or 403 (a channel
564
+ that is gone or no longer readable) is not unread: it is skipped and
565
+ counted in `skipped_unreachable`. Channels you have hidden in Teams
566
+ (`hidden: true`) are not counted as unread unless you pass
567
+ `include_hidden`. Unread answers are also limited to recent activity:
568
+ a conversation counts only when its newest unread message arrived in the
569
+ last `since_days` days (default 14, max 3650) — in practice most
570
+ "unread" channels are dormant ones, untouched for months or years in teams
571
+ you never open. A candidate with no activity at all inside the window is
572
+ not even read. Whatever the window leaves out is counted in
573
+ `older_unread_skipped` (with a hint to widen `since_days`), never dropped
574
+ silently. `older_unread: true` (on `teams_get_unread`, and on
575
+ `teams_list_chats` with `unread_only`) also lists them in
576
+ `older_unread_conversations` — `id`, `kind`, `title`, `team` (a channel's),
577
+ `lastActivity`, most recent first — with an `unread_count` for each one
578
+ whose messages were already read to place it outside the window; one with
579
+ no activity at all inside the window is not read just to count it, and
580
+ carries `unread_count_known: false` instead (its news past the marker may
581
+ be only system events). Muted chats: the conversation listing marks a chat
582
+ you muted with `properties.alerts: "false"` (verified live 2026-10-12: 8 of
583
+ 1,435 conversations, every other one `"true"` or absent), surfaced as
584
+ `muted: true`. `teams_get_unread` leaves them out without reading them and
585
+ counts them in `muted_skipped`; `include_muted` adds them back. The list
586
+ tools' `unread_only` still includes them. `teams_read_conversation` is not windowed: it takes an explicit
587
+ `since` and `limit`. This server only reads the marker; it never moves it.
588
+ - **The token only goes to Teams.** The chat-service token is sent to the
589
+ chat-service base and, for inline images, only to https hosts under
590
+ `.asm.skype.com` (Teams' own image store) — an image link pointing anywhere
591
+ else is refused. Shared-file download uses a **separate** SharePoint token
592
+ (below), sent only to the file's own `*.sharepoint.com` host; the pre-signed
593
+ download link it returns is fetched with **no** token at all. Search uses a
594
+ third, Substrate token, sent only to
595
+ `https://substrate.office.com/searchservice/api/v2/query`.
596
+ - **Shared files download from SharePoint.** They live in SharePoint, which
597
+ does not accept the chat-service token, so `teams_get_attachment` captures a
598
+ separate SharePoint token and fetches the file through SharePoint's v2.1
599
+ shares API — see below.
600
+ - **Scope grows quietly.** If you see a `not in declared set` error, the
601
+ extension's approved scope is behind the server's declared one — revoke
602
+ and re-pair `microsoft-teams-mcp` in the ContextMint Bridge popup.
603
+
604
+ ## Upgrading from 0.4
605
+
606
+ 0.5 only adds arguments and fields, except for these changes in behaviour:
607
+
608
+ - **Ambiguous names in `teams_read_conversation`:** a name that matches
609
+ several conversations used to fail with an error listing the candidates. It
610
+ now succeeds with `{ ambiguous: true, query, match_count, candidates, hint }`
611
+ and no messages. Check for `ambiguous` before reading `messages` or
612
+ `threads`. Send, react and attachment still fail on an ambiguous name.
613
+ - **Muted chats in `teams_get_unread`:** chats you muted in Teams are left out
614
+ and counted in `muted_skipped`. Pass `include_muted: true` for the old
615
+ behaviour.
616
+ - **Read tools are no longer annotated read-only:** `teams_read_conversation`
617
+ and `teams_get_unread` take an opt-in `mark_read` flag, so they are published
618
+ with `readOnly: false`. A client that auto-approves only read-only tools may
619
+ now ask before each read. Without `mark_read` they still never write.
620
+
621
+ ## Upgrading from 0.3
622
+
623
+ 0.4 moves every tool onto the Teams chat-service API, and several outputs
624
+ changed shape. If you script against them:
625
+
626
+ - **Removed tools:** `teams_get_open_chat_messages` and
627
+ `teams_get_open_channel_posts` — use `teams_read_conversation`, which reads
628
+ any chat or channel by id or name without it being open.
629
+ - **`teams_get_activity`:** rows now come from the Activity feed itself.
630
+ `title` and `location` are replaced by `type`/`subtype`/`kind`, `from`,
631
+ `where: { conversation_id, title, type }`, `message_id`, `reply_chain_id`
632
+ and `preview`; `time` is ISO 8601 (it was prose like "1:19 PM"); `read` is
633
+ new; `empty_hint` is gone (the feed no longer depends on the Activity view).
634
+ - **`teams_get_attachment`:** a shared file now returns its **contents** (an
635
+ image as image content, anything else as an MCP embedded resource carrying the
636
+ bytes), not just metadata and a link — see
637
+ [SharePoint file download](#sharepoint-file-download). A file that cannot be
638
+ fetched still returns the old metadata-and-link shape, so a script that only
639
+ reads the metadata keeps working.
640
+ - **`teams_healthcheck`:** the top-level `bridge` section is gone — the bridge
641
+ is only used to capture the token now. Token health is under `credential`
642
+ and `chat_service`; a new `sharepoint` note describes the on-demand,
643
+ short-lived SharePoint token (the healthcheck does not require one).
644
+ - **Chat titles:** untitled chats are titled `(1:1 chat)` (or the other
645
+ person's name), `Group chat: A; B; C +N` (with a `participants` array), or
646
+ `(untitled group chat)` — no longer the last sender's name or
647
+ `(untitled chat)`. Plain `teams_list_chats` / `teams_list_teams_and_channels`
648
+ listings put `favorite` and then `pinned` conversations first.
649
+ - **Unread:** confirmed by reading messages after your read point (call
650
+ recordings and other system events never count), hidden channels are left
651
+ out unless `include_hidden`, and `since_days` defaults to 14 with
652
+ `older_unread_skipped` reporting the rest.
164
653
 
165
654
  ## Development
166
655
 
@@ -171,11 +660,6 @@ npm test # typecheck + suite
171
660
  npm run test:coverage # CI's gate
172
661
  ```
173
662
 
174
- This server depends on `read_dom_list`, a fetchproxy capability added
175
- alongside this repo — it needs `@fetchproxy/protocol`/`@fetchproxy/server`
176
- `>= 3.1.0`, the first published versions that include it
177
- ([chrischall/fetchproxy#381](https://github.com/chrischall/fetchproxy/pull/381)).
178
-
179
663
  ## License
180
664
 
181
665
  MIT