@softeria/ms-365-mcp-server 0.191.2 → 0.193.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/PRESETS.md CHANGED
@@ -10,7 +10,7 @@ Every preset also includes the account tools (`login`, `logout`, `verify-login`,
10
10
 
11
11
  | Preset | Mode | Tools | Scopes | Org mode | Description |
12
12
  | ------------- | ---------------------------------------------------------------- | ---------: | -------: | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
13
- | `all` | [full](#all-full)<br>[read only](#all-read-only) | 370<br>181 | 65<br>38 | -<br>- | All available tools |
13
+ | `all` | [full](#all-full)<br>[read only](#all-read-only) | 377<br>188 | 65<br>38 | -<br>- | All available tools |
14
14
  | `calendar` | [full](#calendar-full)<br>[read only](#calendar-read-only) | 48<br>23 | 7<br>5 | -<br>- | Calendar and event management |
15
15
  | `contacts` | [full](#contacts-full)<br>[read only](#contacts-read-only) | 15<br>7 | 1<br>1 | -<br>- | Outlook contacts management |
16
16
  | `excel` | [full](#excel-full)<br>[read only](#excel-read-only) | 25<br>9 | 1<br>1 | -<br>- | Excel spreadsheet operations |
@@ -25,13 +25,13 @@ Every preset also includes the account tools (`login`, `logout`, `verify-login`,
25
25
  | `teams` | [full](#teams-full)<br>[read only](#teams-read-only) | 71<br>42 | 31<br>18 | required<br>required | Teams app only: chats, channels, meetings and presence |
26
26
  | `teams-write` | [full](#teams-write-full)<br>[read only](#teams-write-read-only) | 11<br>7 | 6<br>3 | required<br>required | Teams send-only: send in chats, send/reply in channels, list chats/teams/channels by name, activity notifications - no message reading |
27
27
  | `users` | [full](#users-full)<br>[read only](#users-read-only) | 11<br>11 | 4<br>4 | required<br>required | User directory access |
28
- | `work` | [full](#work-full)<br>[read only](#work-read-only) | 190<br>111 | 55<br>33 | required<br>required | Organization/work tools (Teams, SharePoint, shared mailboxes, search) |
28
+ | `work` | [full](#work-full)<br>[read only](#work-read-only) | 197<br>118 | 55<br>33 | required<br>required | Organization/work tools (Teams, SharePoint, shared mailboxes, search) |
29
29
 
30
30
  ## `all` full
31
31
 
32
32
  All available tools
33
33
 
34
- Tools (370):
34
+ Tools (377):
35
35
 
36
36
  - `accept-calendar-event`
37
37
  - `add-calendar-event-attachment`
@@ -162,6 +162,8 @@ Tools (370):
162
162
  - `get-download-url`
163
163
  - `get-drive-delta`
164
164
  - `get-drive-item`
165
+ - `get-drive-item-list-item`
166
+ - `get-drive-list`
165
167
  - `get-drive-root-item`
166
168
  - `get-excel-range`
167
169
  - `get-excel-range-format`
@@ -244,6 +246,8 @@ Tools (370):
244
246
  - `list-drive-item-permissions`
245
247
  - `list-drive-item-thumbnails`
246
248
  - `list-drive-item-versions`
249
+ - `list-drive-list-columns`
250
+ - `list-drive-list-items`
247
251
  - `list-drives`
248
252
  - `list-excel-table-rows`
249
253
  - `list-excel-tables`
@@ -298,6 +302,9 @@ Tools (370):
298
302
  - `list-shared-mailbox-folders`
299
303
  - `list-shared-mailbox-messages`
300
304
  - `list-sharepoint-list-columns`
305
+ - `list-sharepoint-list-content-types`
306
+ - `list-sharepoint-site-columns`
307
+ - `list-sharepoint-site-content-types`
301
308
  - `list-sharepoint-site-drives`
302
309
  - `list-sharepoint-site-items`
303
310
  - `list-sharepoint-site-list-item-versions`
@@ -476,7 +483,7 @@ Scopes (65):
476
483
 
477
484
  All available tools
478
485
 
479
- Tools (181):
486
+ Tools (188):
480
487
 
481
488
  - `copilot-retrieve`
482
489
  - `download-bytes`
@@ -493,6 +500,8 @@ Tools (181):
493
500
  - `get-download-url`
494
501
  - `get-drive-delta`
495
502
  - `get-drive-item`
503
+ - `get-drive-item-list-item`
504
+ - `get-drive-list`
496
505
  - `get-drive-root-item`
497
506
  - `get-excel-range`
498
507
  - `get-excel-range-format`
@@ -572,6 +581,8 @@ Tools (181):
572
581
  - `list-drive-item-permissions`
573
582
  - `list-drive-item-thumbnails`
574
583
  - `list-drive-item-versions`
584
+ - `list-drive-list-columns`
585
+ - `list-drive-list-items`
575
586
  - `list-drives`
576
587
  - `list-excel-table-rows`
577
588
  - `list-excel-tables`
@@ -626,6 +637,9 @@ Tools (181):
626
637
  - `list-shared-mailbox-folders`
627
638
  - `list-shared-mailbox-messages`
628
639
  - `list-sharepoint-list-columns`
640
+ - `list-sharepoint-list-content-types`
641
+ - `list-sharepoint-site-columns`
642
+ - `list-sharepoint-site-content-types`
629
643
  - `list-sharepoint-site-drives`
630
644
  - `list-sharepoint-site-items`
631
645
  - `list-sharepoint-site-list-item-versions`
@@ -2095,7 +2109,7 @@ Organization/work tools (Teams, SharePoint, shared mailboxes, search)
2095
2109
 
2096
2110
  Requires `--org-mode`.
2097
2111
 
2098
- Tools (190):
2112
+ Tools (197):
2099
2113
 
2100
2114
  - `add-group-member`
2101
2115
  - `add-group-owner`
@@ -2146,6 +2160,8 @@ Tools (190):
2146
2160
  - `get-chat-message`
2147
2161
  - `get-current-user`
2148
2162
  - `get-download-url`
2163
+ - `get-drive-item-list-item`
2164
+ - `get-drive-list`
2149
2165
  - `get-group`
2150
2166
  - `get-group-calendar-view`
2151
2167
  - `get-meeting-attendance-report`
@@ -2195,6 +2211,8 @@ Tools (190):
2195
2211
  - `list-chat-messages`
2196
2212
  - `list-chats`
2197
2213
  - `list-custom-emojis`
2214
+ - `list-drive-list-columns`
2215
+ - `list-drive-list-items`
2198
2216
  - `list-group-conversations`
2199
2217
  - `list-group-events`
2200
2218
  - `list-group-members`
@@ -2226,6 +2244,9 @@ Tools (190):
2226
2244
  - `list-shared-mailbox-folders`
2227
2245
  - `list-shared-mailbox-messages`
2228
2246
  - `list-sharepoint-list-columns`
2247
+ - `list-sharepoint-list-content-types`
2248
+ - `list-sharepoint-site-columns`
2249
+ - `list-sharepoint-site-content-types`
2229
2250
  - `list-sharepoint-site-drives`
2230
2251
  - `list-sharepoint-site-items`
2231
2252
  - `list-sharepoint-site-list-item-versions`
@@ -2352,7 +2373,7 @@ Organization/work tools (Teams, SharePoint, shared mailboxes, search)
2352
2373
 
2353
2374
  Requires `--org-mode`.
2354
2375
 
2355
- Tools (111):
2376
+ Tools (118):
2356
2377
 
2357
2378
  - `copilot-retrieve`
2358
2379
  - `download-bytes`
@@ -2364,6 +2385,8 @@ Tools (111):
2364
2385
  - `get-chat-message`
2365
2386
  - `get-current-user`
2366
2387
  - `get-download-url`
2388
+ - `get-drive-item-list-item`
2389
+ - `get-drive-list`
2367
2390
  - `get-group`
2368
2391
  - `get-group-calendar-view`
2369
2392
  - `get-meeting-attendance-report`
@@ -2412,6 +2435,8 @@ Tools (111):
2412
2435
  - `list-chat-messages`
2413
2436
  - `list-chats`
2414
2437
  - `list-custom-emojis`
2438
+ - `list-drive-list-columns`
2439
+ - `list-drive-list-items`
2415
2440
  - `list-group-conversations`
2416
2441
  - `list-group-events`
2417
2442
  - `list-group-members`
@@ -2443,6 +2468,9 @@ Tools (111):
2443
2468
  - `list-shared-mailbox-folders`
2444
2469
  - `list-shared-mailbox-messages`
2445
2470
  - `list-sharepoint-list-columns`
2471
+ - `list-sharepoint-list-content-types`
2472
+ - `list-sharepoint-site-columns`
2473
+ - `list-sharepoint-site-content-types`
2446
2474
  - `list-sharepoint-site-drives`
2447
2475
  - `list-sharepoint-site-items`
2448
2476
  - `list-sharepoint-site-list-item-versions`
@@ -806,7 +806,8 @@
806
806
  "presets": ["files", "onedrive", "personal"],
807
807
  "scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
808
808
  "appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
809
- "llmTip": "Body is a base64-encoded string of the file bytes; the server decodes it before PUT. Graph accepts up to 250MB here, but the whole string travels as a tool argument and a truncated one decodes to a truncated file with no error, so use create-upload-session rather than emitting a large base64 string. For new files use path format: /items/root:/path/to/file.txt:/content. Overwrites existing files without warning."
809
+ "supportsIfMatch": true,
810
+ "llmTip": "Body is a base64-encoded string of the file bytes; the server decodes it before PUT. Graph accepts up to 250MB here, but the whole string travels as a tool argument and a truncated one decodes to a truncated file with no error, so use create-upload-session rather than emitting a large base64 string. For new files use path format: /items/root:/path/to/file.txt:/content. Overwrites existing files without warning. To avoid overwriting someone else's newer changes, read the file's eTag with get-drive-item before you download or edit it, then pass that value as If-Match when you upload; a stale ETag returns 412 and the file is left unchanged."
810
811
  },
811
812
  {
812
813
  "pathPattern": "/drives/{drive-id}/items/{driveItem-id}/createUploadSession",
@@ -815,7 +816,8 @@
815
816
  "presets": ["files", "onedrive", "personal"],
816
817
  "scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
817
818
  "appScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
818
- "llmTip": "For large file uploads (up to 250 GB; no minimum, unlike the Outlook attachment session). Returns a pre-authenticated uploadUrl; the caller PUTs the bytes there itself, without an Authorization header, in ranges under 60 MiB that are multiples of 320 KiB (except the last). This server does not perform the PUT. For new files use path: /items/{parentId}:/{fileName}:/createUploadSession. Body (optional): { item: { '@microsoft.graph.conflictBehavior': 'rename' } }."
819
+ "supportsIfMatch": true,
820
+ "llmTip": "For large file uploads (up to 250 GB; no minimum, unlike the Outlook attachment session). Returns a pre-authenticated uploadUrl; the caller PUTs the bytes there itself, without an Authorization header, in ranges under 60 MiB that are multiples of 320 KiB (except the last). This server does not perform the PUT. For new files use path: /items/{parentId}:/{fileName}:/createUploadSession. Body (optional): { item: { '@microsoft.graph.conflictBehavior': 'rename' } }. To avoid overwriting someone else's newer changes when replacing an existing file, pass the file's eTag (from get-drive-item) as If-Match when creating the session; a stale ETag returns 412 and no upload session is created."
819
821
  },
820
822
  {
821
823
  "pathPattern": "/drives/{drive-id}/items/{driveItem-id}",
@@ -833,7 +835,8 @@
833
835
  "presets": ["files", "onedrive", "personal"],
834
836
  "scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
835
837
  "appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
836
- "llmTip": "Move and/or rename a file or folder. To move, provide parentReference with the target folder's id. To rename, provide a new name. Both can be done in a single request."
838
+ "supportsIfMatch": true,
839
+ "llmTip": "Move and/or rename a file or folder. To move, provide parentReference with the target folder's id. To rename, provide a new name. Both can be done in a single request. To avoid acting on an item someone else changed since you read it, pass its eTag (from get-drive-item) as If-Match; a stale ETag returns 412 and the item is left unchanged."
837
840
  },
838
841
  {
839
842
  "pathPattern": "/drives/{drive-id}/items/{driveItem-id}/children",
@@ -2396,7 +2399,9 @@
2396
2399
  "presets": ["work"],
2397
2400
  "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2398
2401
  "appScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2399
- "llmTip": "Add $expand=fields to include actual column values. Without it, only metadata is returned."
2402
+ "queryParams": ["select", "expand", "filter", "orderby", "top", "skiptoken"],
2403
+ "honorNonIndexedQueries": true,
2404
+ "llmTip": "Add $expand=fields to include actual column values. Without it, only metadata is returned. Filter on a column as fields/Status eq 'Approved'."
2400
2405
  },
2401
2406
  {
2402
2407
  "pathPattern": "/sites/{site-id}/lists/{list-id}/items/{listItem-id}",
@@ -2525,6 +2530,95 @@
2525
2530
  "appScopes": [["Sites.Manage.All"], ["Sites.FullControl.All"], ["Sites.Selected"]],
2526
2531
  "llmTip": "Deletes a column from a SharePoint list. This is irreversible — all data stored in this column across every list item is lost. Confirm with the user before calling. Cannot delete built-in columns (Title, Created, Modified, etc.)."
2527
2532
  },
2533
+ {
2534
+ "pathPattern": "/sites/{site-id}/lists/{list-id}/contentTypes",
2535
+ "method": "get",
2536
+ "toolName": "list-sharepoint-list-content-types",
2537
+ "presets": ["work"],
2538
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2539
+ "appScopes": [
2540
+ ["Sites.Read.All"],
2541
+ ["Sites.Manage.All"],
2542
+ ["Sites.FullControl.All"],
2543
+ ["Sites.Selected"]
2544
+ ],
2545
+ "queryParams": ["select", "expand", "filter", "orderby", "top", "skiptoken"]
2546
+ },
2547
+ {
2548
+ "pathPattern": "/sites/{site-id}/contentTypes",
2549
+ "method": "get",
2550
+ "toolName": "list-sharepoint-site-content-types",
2551
+ "presets": ["work"],
2552
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2553
+ "appScopes": [
2554
+ ["Sites.Read.All"],
2555
+ ["Sites.Manage.All"],
2556
+ ["Sites.FullControl.All"],
2557
+ ["Sites.Selected"]
2558
+ ],
2559
+ "queryParams": ["select", "expand", "filter", "orderby", "top", "skiptoken"]
2560
+ },
2561
+ {
2562
+ "pathPattern": "/sites/{site-id}/columns",
2563
+ "method": "get",
2564
+ "toolName": "list-sharepoint-site-columns",
2565
+ "presets": ["work"],
2566
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2567
+ "appScopes": [
2568
+ ["Sites.Read.All"],
2569
+ ["Sites.Manage.All"],
2570
+ ["Sites.FullControl.All"],
2571
+ ["Sites.Selected"]
2572
+ ],
2573
+ "queryParams": ["select", "expand"],
2574
+ "llmTip": "Returns every site column in one response, hundreds with the built-in ones: pass $select, e.g. name,displayName,columnGroup."
2575
+ },
2576
+ {
2577
+ "pathPattern": "/drives/{drive-id}/list",
2578
+ "method": "get",
2579
+ "toolName": "get-drive-list",
2580
+ "presets": ["work"],
2581
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2582
+ "appScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2583
+ "queryParams": ["select", "expand"],
2584
+ "descriptionOverride": "Get the SharePoint list behind a document library drive. Its id and parentReference.siteId are the listId and siteId the SharePoint list tools take."
2585
+ },
2586
+ {
2587
+ "pathPattern": "/drives/{drive-id}/list/columns",
2588
+ "method": "get",
2589
+ "toolName": "list-drive-list-columns",
2590
+ "presets": ["work"],
2591
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2592
+ "appScopes": [
2593
+ ["Sites.Read.All"],
2594
+ ["Sites.Manage.All"],
2595
+ ["Sites.FullControl.All"],
2596
+ ["Sites.Selected"]
2597
+ ],
2598
+ "queryParams": ["select", "expand"],
2599
+ "descriptionOverride": "List the column definitions of the SharePoint document library behind a drive."
2600
+ },
2601
+ {
2602
+ "pathPattern": "/drives/{drive-id}/list/items",
2603
+ "method": "get",
2604
+ "toolName": "list-drive-list-items",
2605
+ "presets": ["work"],
2606
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2607
+ "appScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2608
+ "queryParams": ["select", "expand", "filter", "orderby", "top", "skiptoken"],
2609
+ "honorNonIndexedQueries": true,
2610
+ "descriptionOverride": "List the files and folders of a document library as SharePoint list items. Add $expand=fields for the column values; filter on a column as fields/Status eq 'Approved'."
2611
+ },
2612
+ {
2613
+ "pathPattern": "/drives/{drive-id}/items/{driveItem-id}/listItem",
2614
+ "method": "get",
2615
+ "toolName": "get-drive-item-list-item",
2616
+ "presets": ["work"],
2617
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2618
+ "appScopes": [["Sites.Read.All"], ["Sites.Manage.All"], ["Sites.Selected"]],
2619
+ "queryParams": ["select", "expand"],
2620
+ "descriptionOverride": "Get the SharePoint list item behind a file or folder in a document library, with its column values in fields."
2621
+ },
2528
2622
  {
2529
2623
  "pathPattern": "/sites/{site-id}:/{path}",
2530
2624
  "method": "get",