msteams-mcp 0.27.2 → 0.29.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.
- package/README.md +21 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,14 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
Give AI access to Microsoft Teams easily with your standard Teams login.
|
|
10
10
|
|
|
11
|
-
> [!NOTE]
|
|
12
11
|
> ### No Azure setup, app registration, Graph permissions or IT support required.
|
|
13
12
|
Search messages and email, catch up on unread chats, read threads, send replies, retrieve meeting transcripts and more.
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
## Why msteams-mcp?
|
|
17
16
|
|
|
18
|
-
- **Do real work** - search, unread chats, threads, replies, people, channels, meetings, transcripts, files, reactions and
|
|
17
|
+
- **Do real work** - search, unread chats, threads, replies, people, channels, meetings, transcripts, files, reactions, and assignments on education tenants.
|
|
19
18
|
- **Sign in once** - tokens refresh automatically and the browser stays out of routine operations.
|
|
20
19
|
- **Secure** - the assistant has only your existing Teams permissions, with encrypted session data stored locally.
|
|
21
20
|
- **Use it anywhere** - every capability works through both MCP clients and the included `msteams` CLI.
|
|
@@ -118,7 +117,7 @@ See [CLI Usage](#cli-usage) for commands.
|
|
|
118
117
|
| `teams_search_email` | Search emails in your mailbox (same auth as Teams - no extra login) |
|
|
119
118
|
| `teams_list_chats` | List recent conversations (1:1, group, meeting, channel) with a last-message preview |
|
|
120
119
|
| `teams_get_message` | Get a single message by ID with full content (any age); includes reactions |
|
|
121
|
-
| `teams_get_thread` | Get messages from a conversation/thread; includes reactions; `threadRootId` scopes to one channel thread; `fromUrl` accepts a Teams message deep link |
|
|
120
|
+
| `teams_get_thread` | Get messages from a conversation/thread; includes reactions; `threadRootId` scopes to one channel thread; `fromUrl` accepts a Teams message deep link; `cursor` pages back through older history |
|
|
122
121
|
| `teams_find_channel` | Find channels by name (your teams + org-wide discovery) |
|
|
123
122
|
| `teams_get_tags` | List a team's channel tags for tag @mentions |
|
|
124
123
|
| `teams_get_activity` | Get activity feed (mentions, reactions, replies, notifications) |
|
|
@@ -201,9 +200,26 @@ See [CLI Usage](#cli-usage) for commands.
|
|
|
201
200
|
| Tool | Description |
|
|
202
201
|
| ------------------------ | ------------------------------------------------------------------ |
|
|
203
202
|
| `teams_get_shared_files` | Get files and links shared in a conversation (supports pagination) |
|
|
203
|
+
| `teams_download_file` | Download a shared file or assignment attachment to a local path |
|
|
204
204
|
|
|
205
205
|
|
|
206
|
-
|
|
206
|
+
`teams_get_shared_files` returns both files (name, extension, URL, size) and links (URL, title), along with who shared each item. Works for channels, group chats, 1:1 chats, and meeting chats.
|
|
207
|
+
|
|
208
|
+
`teams_download_file` takes a file's `webUrl` from `teams_get_shared_files`, or an attachment's `fileUrl` from `teams_get_assignment`. It downloads through Microsoft Graph using the Teams client's own access, so no extra sign-in is needed. Files stream straight to disk, never overwrite an existing file, and are removed if the download fails part-way. Links and Microsoft Forms aren't files and can't be downloaded.
|
|
209
|
+
|
|
210
|
+
### Assignments (education tenants only)
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
| Tool | Description |
|
|
214
|
+
| ------------------------- | ---------------------------------------------------------------------------------------------- |
|
|
215
|
+
| `teams_list_assignments` | List your assignments across classes (`active`, `completed` or `all`), with due dates, grades and your submission state |
|
|
216
|
+
| `teams_get_assignment` | Get one assignment's full detail, including instructions, attachments and your submission (with your own copies of files) |
|
|
217
|
+
| `teams_submission_action` | Turn in, undo turn-in, or mark viewed on your own submission |
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
Assignments is optional. It only works on education tenants that use Teams Assignments, and its token is requested separately, on demand, so other accounts pay no extra cost. If Assignments isn't available, or its authorisation fails, only these tools return an error: the rest of Teams keeps working, and no browser or re-login is triggered.
|
|
221
|
+
|
|
222
|
+
Download attachments (Word, PowerPoint and other files) with `teams_download_file`. Microsoft Forms quizzes and links are returned as URLs instead.
|
|
207
223
|
|
|
208
224
|
### Session
|
|
209
225
|
|
|
@@ -313,6 +329,7 @@ npm run cli -- send "Hi" --to "conversation-id"
|
|
|
313
329
|
- **Token expiry** - Tokens expire after ~1 hour; headless refresh is attempted or run `teams_login` again when needed
|
|
314
330
|
- **Undocumented APIs** - Uses Microsoft's internal APIs which may change without notice
|
|
315
331
|
- **Search limitations** - Full-text search only; thread replies not matching search terms won't appear (but LLM will likely use `teams_get_thread` for full context)
|
|
332
|
+
- **Assignments** - Education tenants only. Turn-in and undo turn-in act on your real account; handing in again records a new hand-in date that your teacher sees
|
|
316
333
|
|
|
317
334
|
|
|
318
335
|
|