@softeria/ms-365-mcp-server 0.174.2 → 0.176.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
@@ -6,28 +6,28 @@
6
6
 
7
7
  | Preset | Tools | Org mode | Description |
8
8
  | ----------------------------- | ----: | -------- | --------------------------------------------------------------------------------------------------------------------------------- |
9
- | [`all`](#all) | 361 | | All available tools |
9
+ | [`all`](#all) | 369 | | All available tools |
10
10
  | [`calendar`](#calendar) | 47 | | Calendar and event management |
11
11
  | [`contacts`](#contacts) | 15 | | Outlook contacts management |
12
12
  | [`excel`](#excel) | 25 | | Excel spreadsheet operations |
13
13
  | [`files`](#files) | 25 | | OneDrive file and folder operations |
14
14
  | [`mail`](#mail) | 49 | | Email operations (read, send, manage folders, attachments) |
15
15
  | [`onedrive`](#onedrive) | 23 | | OneDrive app only: drive and file operations, excluding Excel |
16
- | [`onenote`](#onenote) | 28 | | OneNote notebook operations |
16
+ | [`onenote`](#onenote) | 29 | | OneNote notebook operations |
17
17
  | [`outlook`](#outlook) | 96 | | Outlook app only: mail, calendar and contacts |
18
- | [`personal`](#personal) | 175 | | Personal productivity tools (mail, calendar, files, contacts, tasks, notes, search) |
18
+ | [`personal`](#personal) | 177 | | Personal productivity tools (mail, calendar, files, contacts, tasks, notes, search) |
19
19
  | [`search`](#search) | 7 | | Microsoft Search capabilities |
20
- | [`tasks`](#tasks) | 34 | | Task and planning tools (To Do, Planner) |
20
+ | [`tasks`](#tasks) | 35 | | Task and planning tools (To Do, Planner) |
21
21
  | [`teams`](#teams) | 73 | required | Teams app only: chats, channels, meetings and presence |
22
22
  | [`teams-write`](#teams-write) | 11 | required | Teams send-only: send/reply in chats and channels, list chats/teams/channels by name, activity notifications - no message reading |
23
23
  | [`users`](#users) | 11 | required | User directory access |
24
- | [`work`](#work) | 184 | required | Organization/work tools (Teams, SharePoint, shared mailboxes, search) |
24
+ | [`work`](#work) | 190 | required | Organization/work tools (Teams, SharePoint, shared mailboxes, search) |
25
25
 
26
26
  ## `all`
27
27
 
28
28
  All available tools
29
29
 
30
- Tools (361):
30
+ Tools (369):
31
31
 
32
32
  - `accept-calendar-event`
33
33
  - `add-calendar-event-attachment`
@@ -80,6 +80,7 @@ Tools (361):
80
80
  - `create-planner-task-message`
81
81
  - `create-reply-all-draft`
82
82
  - `create-reply-draft`
83
+ - `create-shared-calendar-event`
83
84
  - `create-shared-mailbox-child-folder`
84
85
  - `create-shared-mailbox-draft`
85
86
  - `create-shared-mailbox-folder`
@@ -121,6 +122,7 @@ Tools (361):
121
122
  - `delete-outlook-contact`
122
123
  - `delete-planner-bucket`
123
124
  - `delete-planner-task-message`
125
+ - `delete-shared-calendar-event`
124
126
  - `delete-shared-mailbox-attachment`
125
127
  - `delete-sharepoint-list-column`
126
128
  - `delete-sharepoint-list-item`
@@ -200,6 +202,7 @@ Tools (361):
200
202
  - `get-sharepoint-site-item`
201
203
  - `get-sharepoint-site-list`
202
204
  - `get-sharepoint-site-list-item`
205
+ - `get-sharepoint-site-list-item-version`
203
206
  - `get-sharepoint-site-onenote-page-content`
204
207
  - `get-sharepoint-sites-delta`
205
208
  - `get-specific-calendar-event`
@@ -292,7 +295,9 @@ Tools (361):
292
295
  - `list-sharepoint-list-columns`
293
296
  - `list-sharepoint-site-drives`
294
297
  - `list-sharepoint-site-items`
298
+ - `list-sharepoint-site-list-item-versions`
295
299
  - `list-sharepoint-site-list-items`
300
+ - `list-sharepoint-site-list-items-delta`
296
301
  - `list-sharepoint-site-lists`
297
302
  - `list-sharepoint-site-onenote-notebook-section-groups`
298
303
  - `list-sharepoint-site-onenote-notebook-sections`
@@ -309,6 +314,7 @@ Tools (361):
309
314
  - `list-todo-checklist-items`
310
315
  - `list-todo-linked-resources`
311
316
  - `list-todo-task-lists`
317
+ - `list-todo-task-lists-delta`
312
318
  - `list-todo-tasks`
313
319
  - `list-trending-insights`
314
320
  - `list-user-direct-reports`
@@ -370,6 +376,7 @@ Tools (361):
370
376
  - `update-mail-rule`
371
377
  - `update-mailbox-settings`
372
378
  - `update-my-calendar-permission`
379
+ - `update-onenote-page-content`
373
380
  - `update-online-meeting`
374
381
  - `update-outlook-contact`
375
382
  - `update-place`
@@ -377,6 +384,7 @@ Tools (361):
377
384
  - `update-planner-plan`
378
385
  - `update-planner-task`
379
386
  - `update-planner-task-details`
387
+ - `update-shared-calendar-event`
380
388
  - `update-shared-mailbox-message`
381
389
  - `update-sharepoint-list-column`
382
390
  - `update-sharepoint-list-item`
@@ -621,7 +629,7 @@ Tools (23):
621
629
 
622
630
  OneNote notebook operations
623
631
 
624
- Tools (28):
632
+ Tools (29):
625
633
 
626
634
  - `create-onenote-notebook`
627
635
  - `create-onenote-page`
@@ -650,6 +658,7 @@ Tools (28):
650
658
  - `list-sharepoint-site-onenote-section-group-section-groups`
651
659
  - `list-sharepoint-site-onenote-section-group-sections`
652
660
  - `list-sharepoint-site-onenote-section-pages`
661
+ - `update-onenote-page-content`
653
662
  - `update-sharepoint-site-onenote-page-content`
654
663
 
655
664
  ## `outlook`
@@ -759,7 +768,7 @@ Tools (96):
759
768
 
760
769
  Personal productivity tools (mail, calendar, files, contacts, tasks, notes, search)
761
770
 
762
- Tools (175):
771
+ Tools (177):
763
772
 
764
773
  - `accept-calendar-event`
765
774
  - `add-calendar-event-attachment`
@@ -900,6 +909,7 @@ Tools (175):
900
909
  - `list-todo-checklist-items`
901
910
  - `list-todo-linked-resources`
902
911
  - `list-todo-task-lists`
912
+ - `list-todo-task-lists-delta`
903
913
  - `list-todo-tasks`
904
914
  - `list-trending-insights`
905
915
  - `merge-excel-range`
@@ -928,6 +938,7 @@ Tools (175):
928
938
  - `update-mail-rule`
929
939
  - `update-mailbox-settings`
930
940
  - `update-my-calendar-permission`
941
+ - `update-onenote-page-content`
931
942
  - `update-outlook-contact`
932
943
  - `update-specific-calendar-event`
933
944
  - `update-todo-checklist-item`
@@ -955,7 +966,7 @@ Tools (7):
955
966
 
956
967
  Task and planning tools (To Do, Planner)
957
968
 
958
- Tools (34):
969
+ Tools (35):
959
970
 
960
971
  - `create-planner-bucket`
961
972
  - `create-planner-plan`
@@ -983,6 +994,7 @@ Tools (34):
983
994
  - `list-todo-checklist-items`
984
995
  - `list-todo-linked-resources`
985
996
  - `list-todo-task-lists`
997
+ - `list-todo-task-lists-delta`
986
998
  - `list-todo-tasks`
987
999
  - `update-planner-bucket`
988
1000
  - `update-planner-plan`
@@ -1120,7 +1132,7 @@ Organization/work tools (Teams, SharePoint, shared mailboxes, search)
1120
1132
 
1121
1133
  Requires `--org-mode`.
1122
1134
 
1123
- Tools (184):
1135
+ Tools (190):
1124
1136
 
1125
1137
  - `add-group-member`
1126
1138
  - `add-group-owner`
@@ -1137,6 +1149,7 @@ Tools (184):
1137
1149
  - `create-planner-bucket`
1138
1150
  - `create-planner-plan`
1139
1151
  - `create-planner-task`
1152
+ - `create-shared-calendar-event`
1140
1153
  - `create-shared-mailbox-child-folder`
1141
1154
  - `create-shared-mailbox-draft`
1142
1155
  - `create-shared-mailbox-folder`
@@ -1154,6 +1167,7 @@ Tools (184):
1154
1167
  - `delete-group`
1155
1168
  - `delete-online-meeting`
1156
1169
  - `delete-planner-bucket`
1170
+ - `delete-shared-calendar-event`
1157
1171
  - `delete-shared-mailbox-attachment`
1158
1172
  - `delete-sharepoint-list-column`
1159
1173
  - `delete-sharepoint-list-item`
@@ -1199,6 +1213,7 @@ Tools (184):
1199
1213
  - `get-sharepoint-site-item`
1200
1214
  - `get-sharepoint-site-list`
1201
1215
  - `get-sharepoint-site-list-item`
1216
+ - `get-sharepoint-site-list-item-version`
1202
1217
  - `get-sharepoint-site-onenote-page-content`
1203
1218
  - `get-sharepoint-sites-delta`
1204
1219
  - `get-team`
@@ -1250,7 +1265,9 @@ Tools (184):
1250
1265
  - `list-sharepoint-list-columns`
1251
1266
  - `list-sharepoint-site-drives`
1252
1267
  - `list-sharepoint-site-items`
1268
+ - `list-sharepoint-site-list-item-versions`
1253
1269
  - `list-sharepoint-site-list-items`
1270
+ - `list-sharepoint-site-list-items-delta`
1254
1271
  - `list-sharepoint-site-lists`
1255
1272
  - `list-sharepoint-site-onenote-notebook-section-groups`
1256
1273
  - `list-sharepoint-site-onenote-notebook-sections`
@@ -1300,6 +1317,7 @@ Tools (184):
1300
1317
  - `update-planner-plan`
1301
1318
  - `update-planner-task`
1302
1319
  - `update-planner-task-details`
1320
+ - `update-shared-calendar-event`
1303
1321
  - `update-shared-mailbox-message`
1304
1322
  - `update-sharepoint-list-column`
1305
1323
  - `update-sharepoint-list-item`
@@ -612,6 +612,33 @@
612
612
  "workScopes": ["Calendars.Read.Shared"],
613
613
  "supportsTimezone": true
614
614
  },
615
+ {
616
+ "pathPattern": "/users/{user-id}/calendar/events",
617
+ "method": "post",
618
+ "toolName": "create-shared-calendar-event",
619
+ "descriptionOverride": "Create an event in another user's default calendar. The user-id is the calendar owner's ID or email address, and delegated write access to that calendar is required. Times use nested objects, not flat fields: start: {dateTime, timeZone}, end: {dateTime, timeZone}. Do NOT use startDateTime/startTimeZone. For recurring events use the calendar owner's own time zone name rather than UTC, since Graph resolves DST against the zone in start.timeZone.",
620
+ "presets": ["work"],
621
+ "workScopes": ["Calendars.ReadWrite.Shared"],
622
+ "supportsTimezone": true
623
+ },
624
+ {
625
+ "pathPattern": "/users/{user-id}/events/{event-id}",
626
+ "method": "patch",
627
+ "toolName": "update-shared-calendar-event",
628
+ "descriptionOverride": "Update an event in another user's default calendar. Requires the calendar owner's user-id and the event's eventId from list-shared-calendar-events or get-shared-calendar-view. Times use nested {dateTime, timeZone} objects.",
629
+ "presets": ["work"],
630
+ "workScopes": ["Calendars.ReadWrite.Shared"],
631
+ "supportsTimezone": true
632
+ },
633
+ {
634
+ "pathPattern": "/users/{user-id}/events/{event-id}",
635
+ "method": "delete",
636
+ "toolName": "delete-shared-calendar-event",
637
+ "descriptionOverride": "Delete an event from another user's default calendar. Requires the calendar owner's user-id and the event's eventId from list-shared-calendar-events or get-shared-calendar-view.",
638
+ "llmTip": "Deleting a seriesMaster deletes ALL occurrences of the recurring event. If the owner organizes the meeting, deleting it sends a cancellation to the attendees.",
639
+ "presets": ["work"],
640
+ "workScopes": ["Calendars.ReadWrite.Shared"]
641
+ },
615
642
  {
616
643
  "pathPattern": "/me/calendars/{calendar-id}/events/{event-id}/instances",
617
644
  "method": "get",
@@ -1177,6 +1204,41 @@
1177
1204
  "presets": ["onenote", "personal"],
1178
1205
  "scopes": ["Notes.Read"]
1179
1206
  },
1207
+ {
1208
+ "pathPattern": "/me/onenote/pages/{onenotePage-id}/content",
1209
+ "method": "patch",
1210
+ "toolName": "update-onenote-page-content",
1211
+ "presets": ["onenote", "personal"],
1212
+ "scopes": ["Notes.ReadWrite"],
1213
+ "requestBodySchema": {
1214
+ "type": "array",
1215
+ "description": "Array of patchContentCommand objects applied in order to the page's HTML.",
1216
+ "items": {
1217
+ "type": "object",
1218
+ "required": ["target", "action"],
1219
+ "properties": {
1220
+ "target": {
1221
+ "type": "string",
1222
+ "description": "Element to change: a data-id, the generated id, or a known name like 'body' or 'title'."
1223
+ },
1224
+ "action": {
1225
+ "type": "string",
1226
+ "enum": ["append", "insert", "prepend", "replace", "delete"],
1227
+ "description": "What to do at the target. 'delete' takes no content."
1228
+ },
1229
+ "position": {
1230
+ "type": "string",
1231
+ "enum": ["after", "before"],
1232
+ "description": "For 'insert'/'append', whether content goes after (default) or before the target's content."
1233
+ },
1234
+ "content": {
1235
+ "type": "string",
1236
+ "description": "HTML to add. Required for all actions except 'delete'."
1237
+ }
1238
+ }
1239
+ }
1240
+ }
1241
+ },
1180
1242
  {
1181
1243
  "pathPattern": "/sites/{site-id}/onenote/notebooks",
1182
1244
  "method": "get",
@@ -1331,7 +1393,15 @@
1331
1393
  "presets": ["personal", "tasks"],
1332
1394
  "scopes": ["Tasks.Read"],
1333
1395
  "queryParams": ["top", "skip", "filter", "skiptoken"],
1334
- "llmTip": "Lists all To Do task lists. Returns todoTaskList-id needed for all task operations. The default list is typically called 'Tasks'."
1396
+ "llmTip": "If it returns only 'Flagged Emails', use list-todo-task-lists-delta instead."
1397
+ },
1398
+ {
1399
+ "pathPattern": "/me/todo/lists/delta()",
1400
+ "method": "get",
1401
+ "toolName": "list-todo-task-lists-delta",
1402
+ "presets": ["personal", "tasks"],
1403
+ "scopes": ["Tasks.ReadWrite"],
1404
+ "queryParams": ["select", "skiptoken"]
1335
1405
  },
1336
1406
  {
1337
1407
  "pathPattern": "/me/todo/lists/{todoTaskList-id}/tasks",
@@ -2145,6 +2215,28 @@
2145
2215
  "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2146
2216
  "llmTip": "Add $expand=fields to include actual column values. Without it, only metadata is returned."
2147
2217
  },
2218
+ {
2219
+ "pathPattern": "/sites/{site-id}/lists/{list-id}/items/delta()",
2220
+ "method": "get",
2221
+ "toolName": "list-sharepoint-site-list-items-delta",
2222
+ "presets": ["work"],
2223
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2224
+ "queryParams": ["select", "expand", "top"]
2225
+ },
2226
+ {
2227
+ "pathPattern": "/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions",
2228
+ "method": "get",
2229
+ "toolName": "list-sharepoint-site-list-item-versions",
2230
+ "presets": ["work"],
2231
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
2232
+ },
2233
+ {
2234
+ "pathPattern": "/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}",
2235
+ "method": "get",
2236
+ "toolName": "get-sharepoint-site-list-item-version",
2237
+ "presets": ["work"],
2238
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
2239
+ },
2148
2240
  {
2149
2241
  "pathPattern": "/sites/{site-id}/lists/{list-id}/items",
2150
2242
  "method": "post",
@@ -3710,6 +3710,18 @@ const microsoft_graph_onenotePageCollectionResponse = z.object({
3710
3710
  "@odata.nextLink": z.string().nullable(),
3711
3711
  value: z.array(microsoft_graph_onenotePage)
3712
3712
  }).partial().passthrough();
3713
+ const update_onenote_page_content_Body = z.array(
3714
+ z.object({
3715
+ target: z.string().describe(
3716
+ "Element to change: a data-id, the generated id, or a known name like 'body' or 'title'."
3717
+ ),
3718
+ action: z.enum(["append", "insert", "prepend", "replace", "delete"]).describe("What to do at the target. 'delete' takes no content."),
3719
+ position: z.enum(["after", "before"]).describe(
3720
+ "For 'insert'/'append', whether content goes after (default) or before the target's content."
3721
+ ).optional(),
3722
+ content: z.string().describe("HTML to add. Required for all actions except 'delete'.").optional()
3723
+ }).passthrough()
3724
+ );
3713
3725
  const microsoft_graph_sectionGroupCollectionResponse = z.object({
3714
3726
  "@odata.count": z.number().int().nullable(),
3715
3727
  "@odata.nextLink": z.string().nullable(),
@@ -4640,18 +4652,11 @@ const microsoft_graph_listItemCollectionResponse = z.object({
4640
4652
  "@odata.nextLink": z.string().nullable(),
4641
4653
  value: z.array(microsoft_graph_listItem)
4642
4654
  }).partial().passthrough();
4643
- const update_sharepoint_site_onenote_page_content_Body = z.array(
4644
- z.object({
4645
- target: z.string().describe(
4646
- "Element to change: a data-id, the generated id, or a known name like 'body' or 'title'."
4647
- ),
4648
- action: z.enum(["append", "insert", "prepend", "replace", "delete"]).describe("What to do at the target. 'delete' takes no content."),
4649
- position: z.enum(["after", "before"]).describe(
4650
- "For 'insert'/'append', whether content goes after (default) or before the target's content."
4651
- ).optional(),
4652
- content: z.string().describe("HTML to add. Required for all actions except 'delete'.").optional()
4653
- }).passthrough()
4654
- );
4655
+ const microsoft_graph_listItemVersionCollectionResponse = z.object({
4656
+ "@odata.count": z.number().int().nullable(),
4657
+ "@odata.nextLink": z.string().nullable(),
4658
+ value: z.array(microsoft_graph_listItemVersion)
4659
+ }).partial().passthrough();
4655
4660
  const microsoft_graph_endpointType = z.enum([
4656
4661
  "default",
4657
4662
  "voicemail",
@@ -5255,6 +5260,7 @@ const schemas = {
5255
5260
  microsoft_graph_onenoteSectionCollectionResponse,
5256
5261
  microsoft_graph_CopyNotebookModel,
5257
5262
  microsoft_graph_onenotePageCollectionResponse,
5263
+ update_onenote_page_content_Body,
5258
5264
  microsoft_graph_sectionGroupCollectionResponse,
5259
5265
  microsoft_graph_allowedLobbyAdmitterRoles,
5260
5266
  microsoft_graph_onlineMeetingPresenters,
@@ -5361,7 +5367,7 @@ const schemas = {
5361
5367
  microsoft_graph_listCollectionResponse,
5362
5368
  microsoft_graph_columnDefinitionCollectionResponse,
5363
5369
  microsoft_graph_listItemCollectionResponse,
5364
- update_sharepoint_site_onenote_page_content_Body,
5370
+ microsoft_graph_listItemVersionCollectionResponse,
5365
5371
  microsoft_graph_endpointType,
5366
5372
  microsoft_graph_communicationsIdentitySet,
5367
5373
  microsoft_graph_virtualEventSettings,
@@ -11105,6 +11111,27 @@ resource.`,
11105
11111
  requestFormat: "json",
11106
11112
  response: z.void()
11107
11113
  },
11114
+ {
11115
+ method: "patch",
11116
+ path: "/me/onenote/pages/:onenotePageId/content",
11117
+ alias: "update-onenote-page-content",
11118
+ description: `Update OneNote page content.`,
11119
+ requestFormat: "json",
11120
+ parameters: [
11121
+ {
11122
+ name: "body",
11123
+ description: `Operation payload`,
11124
+ type: "Body",
11125
+ schema: update_onenote_page_content_Body
11126
+ },
11127
+ {
11128
+ name: "onenotePageId",
11129
+ type: "Path",
11130
+ schema: z.string().describe("Path parameter: onenotePage-id")
11131
+ }
11132
+ ],
11133
+ response: z.void()
11134
+ },
11108
11135
  {
11109
11136
  method: "get",
11110
11137
  path: "/me/onenote/sectionGroups",
@@ -12607,6 +12634,57 @@ Currently, a user can be associated with a team in two different ways:`,
12607
12634
  ],
12608
12635
  response: z.void()
12609
12636
  },
12637
+ {
12638
+ method: "get",
12639
+ path: "/me/todo/lists/delta()",
12640
+ alias: "list-todo-task-lists-delta",
12641
+ description: `Get a set of todoTaskList resources that have been added, deleted, or removed in Microsoft To Do. A delta function call for todoTaskList is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls,
12642
+ you can query for incremental changes in the todoTaskList. This allows you to maintain and synchronize a local store of a user's todoTaskList without having to fetch all the todoTaskList from the server every time.`,
12643
+ requestFormat: "json",
12644
+ parameters: [
12645
+ {
12646
+ name: "$top",
12647
+ type: "Query",
12648
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
12649
+ },
12650
+ {
12651
+ name: "$skip",
12652
+ type: "Query",
12653
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
12654
+ },
12655
+ {
12656
+ name: "$search",
12657
+ type: "Query",
12658
+ schema: z.string().describe("Search items by search phrases").optional()
12659
+ },
12660
+ {
12661
+ name: "$filter",
12662
+ type: "Query",
12663
+ schema: z.string().describe("Filter items by property values").optional()
12664
+ },
12665
+ {
12666
+ name: "$count",
12667
+ type: "Query",
12668
+ schema: z.boolean().describe("Include count of items").optional()
12669
+ },
12670
+ {
12671
+ name: "$select",
12672
+ type: "Query",
12673
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
12674
+ },
12675
+ {
12676
+ name: "$orderby",
12677
+ type: "Query",
12678
+ schema: z.array(z.string()).describe("Order items by property values").optional()
12679
+ },
12680
+ {
12681
+ name: "$expand",
12682
+ type: "Query",
12683
+ schema: z.array(z.string()).describe("Expand related entities").optional()
12684
+ }
12685
+ ],
12686
+ response: z.void()
12687
+ },
12610
12688
  {
12611
12689
  method: "patch",
12612
12690
  path: "/places/:placeId",
@@ -13817,6 +13895,130 @@ To list them, include system in your $select statement.`,
13817
13895
  ],
13818
13896
  response: z.void()
13819
13897
  },
13898
+ {
13899
+ method: "get",
13900
+ path: "/sites/:siteId/lists/:listId/items/:listItemId/versions",
13901
+ alias: "list-sharepoint-site-list-item-versions",
13902
+ description: `SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location.`,
13903
+ requestFormat: "json",
13904
+ parameters: [
13905
+ {
13906
+ name: "$top",
13907
+ type: "Query",
13908
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
13909
+ },
13910
+ {
13911
+ name: "$skip",
13912
+ type: "Query",
13913
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
13914
+ },
13915
+ {
13916
+ name: "$search",
13917
+ type: "Query",
13918
+ schema: z.string().describe("Search items by search phrases").optional()
13919
+ },
13920
+ {
13921
+ name: "$filter",
13922
+ type: "Query",
13923
+ schema: z.string().describe("Filter items by property values").optional()
13924
+ },
13925
+ {
13926
+ name: "$count",
13927
+ type: "Query",
13928
+ schema: z.boolean().describe("Include count of items").optional()
13929
+ },
13930
+ {
13931
+ name: "$orderby",
13932
+ type: "Query",
13933
+ schema: z.array(z.string()).describe("Order items by property values").optional()
13934
+ },
13935
+ {
13936
+ name: "$select",
13937
+ type: "Query",
13938
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
13939
+ },
13940
+ {
13941
+ name: "$expand",
13942
+ type: "Query",
13943
+ schema: z.array(z.string()).describe("Expand related entities").optional()
13944
+ }
13945
+ ],
13946
+ response: z.void()
13947
+ },
13948
+ {
13949
+ method: "get",
13950
+ path: "/sites/:siteId/lists/:listId/items/:listItemId/versions/:listItemVersionId",
13951
+ alias: "get-sharepoint-site-list-item-version",
13952
+ description: `Retrieve the metadata for a specific version of a ListItem.`,
13953
+ requestFormat: "json",
13954
+ parameters: [
13955
+ {
13956
+ name: "$select",
13957
+ type: "Query",
13958
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
13959
+ },
13960
+ {
13961
+ name: "$expand",
13962
+ type: "Query",
13963
+ schema: z.array(z.string()).describe("Expand related entities").optional()
13964
+ }
13965
+ ],
13966
+ response: z.void()
13967
+ },
13968
+ {
13969
+ method: "get",
13970
+ path: "/sites/:siteId/lists/:listId/items/delta()",
13971
+ alias: "list-sharepoint-site-list-items-delta",
13972
+ description: `Get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.
13973
+ The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.
13974
+ Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the\xA0changes, you can apply them to your local state.
13975
+ To check for changes in the\xA0future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.
13976
+ The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Items with this property should be removed from your local state.`,
13977
+ requestFormat: "json",
13978
+ parameters: [
13979
+ {
13980
+ name: "$top",
13981
+ type: "Query",
13982
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
13983
+ },
13984
+ {
13985
+ name: "$skip",
13986
+ type: "Query",
13987
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
13988
+ },
13989
+ {
13990
+ name: "$search",
13991
+ type: "Query",
13992
+ schema: z.string().describe("Search items by search phrases").optional()
13993
+ },
13994
+ {
13995
+ name: "$filter",
13996
+ type: "Query",
13997
+ schema: z.string().describe("Filter items by property values").optional()
13998
+ },
13999
+ {
14000
+ name: "$count",
14001
+ type: "Query",
14002
+ schema: z.boolean().describe("Include count of items").optional()
14003
+ },
14004
+ {
14005
+ name: "$select",
14006
+ type: "Query",
14007
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
14008
+ },
14009
+ {
14010
+ name: "$orderby",
14011
+ type: "Query",
14012
+ schema: z.array(z.string()).describe("Order items by property values").optional()
14013
+ },
14014
+ {
14015
+ name: "$expand",
14016
+ type: "Query",
14017
+ schema: z.array(z.string()).describe("Expand related entities").optional()
14018
+ }
14019
+ ],
14020
+ response: z.void()
14021
+ },
13820
14022
  {
13821
14023
  method: "get",
13822
14024
  path: "/sites/:siteId/onenote/notebooks",
@@ -14033,7 +14235,7 @@ To list them, include system in your $select statement.`,
14033
14235
  name: "body",
14034
14236
  description: `Operation payload`,
14035
14237
  type: "Body",
14036
- schema: update_sharepoint_site_onenote_page_content_Body
14238
+ schema: update_onenote_page_content_Body
14037
14239
  },
14038
14240
  {
14039
14241
  name: "siteId",
@@ -15151,6 +15353,74 @@ Only the policyViolation property of a chatMessage can be updated in application
15151
15353
  ],
15152
15354
  response: z.void()
15153
15355
  },
15356
+ {
15357
+ method: "post",
15358
+ path: "/users/:userId/calendar/events",
15359
+ alias: "create-shared-calendar-event",
15360
+ description: `Create a shared calendar event.`,
15361
+ requestFormat: "json",
15362
+ parameters: [
15363
+ {
15364
+ name: "body",
15365
+ description: `New navigation property`,
15366
+ type: "Body",
15367
+ schema: z.object({
15368
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
15369
+ createdDateTime: z.string().regex(
15370
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
15371
+ ).datetime({ offset: true }).describe(
15372
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
15373
+ ).nullish(),
15374
+ lastModifiedDateTime: z.string().regex(
15375
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
15376
+ ).datetime({ offset: true }).describe(
15377
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
15378
+ ).nullish(),
15379
+ type: microsoft_graph_eventType.optional(),
15380
+ body: microsoft_graph_itemBody.optional(),
15381
+ subject: z.string().describe("The text of the event's subject line.").nullish(),
15382
+ attachments: z.array(microsoft_graph_attachment).describe(
15383
+ "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
15384
+ ).optional(),
15385
+ singleValueExtendedProperties: z.array(microsoft_graph_singleValueLegacyExtendedProperty).describe(
15386
+ "The collection of single-value extended properties defined for the event. Read-only. Nullable."
15387
+ ).optional(),
15388
+ multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
15389
+ "The collection of multi-value extended properties defined for the event. Read-only. Nullable."
15390
+ ).optional(),
15391
+ start: microsoft_graph_dateTimeTimeZone.optional(),
15392
+ end: microsoft_graph_dateTimeTimeZone.optional(),
15393
+ location: microsoft_graph_location.optional(),
15394
+ showAs: microsoft_graph_freeBusyStatus.optional(),
15395
+ sensitivity: microsoft_graph_sensitivity.optional(),
15396
+ isAllDay: z.boolean().describe(
15397
+ "Set to true if the event lasts all day. If true, regardless of whether it's a single-day or multi-day event, start, and endtime must be set to midnight and be in the same time zone."
15398
+ ).nullish(),
15399
+ importance: microsoft_graph_importance.optional(),
15400
+ isOnlineMeeting: z.boolean().describe(
15401
+ "True if this event has online meeting information (that is, onlineMeeting points to an onlineMeetingInfo resource), false otherwise. Default is false (onlineMeeting is null). Optional. After you set isOnlineMeeting to true, Microsoft Graph initializes onlineMeeting. Subsequently, Outlook ignores any further changes to isOnlineMeeting, and the meeting remains available online."
15402
+ ).nullish(),
15403
+ isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
15404
+ attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
15405
+ recurrence: microsoft_graph_patternedRecurrence.optional(),
15406
+ reminderMinutesBeforeStart: z.number().gte(-2147483648).lte(2147483647).describe(
15407
+ "The number of minutes before the event start time that the reminder alert occurs."
15408
+ ).nullish(),
15409
+ allowNewTimeProposals: z.boolean().describe(
15410
+ "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
15411
+ ).nullish(),
15412
+ responseRequested: z.boolean().describe(
15413
+ "Default is true, which represents the organizer would like an invitee to send a response to the event."
15414
+ ).nullish(),
15415
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
15416
+ changeKey: z.string().describe(
15417
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
15418
+ ).nullish()
15419
+ }).passthrough().passthrough()
15420
+ }
15421
+ ],
15422
+ response: z.void()
15423
+ },
15154
15424
  {
15155
15425
  method: "get",
15156
15426
  path: "/users/:userId/calendarView",
@@ -15272,6 +15542,89 @@ Only the policyViolation property of a chatMessage can be updated in application
15272
15542
  ],
15273
15543
  response: z.void()
15274
15544
  },
15545
+ {
15546
+ method: "patch",
15547
+ path: "/users/:userId/events/:eventId",
15548
+ alias: "update-shared-calendar-event",
15549
+ description: `Update a shared calendar event.`,
15550
+ requestFormat: "json",
15551
+ parameters: [
15552
+ {
15553
+ name: "body",
15554
+ description: `New navigation property values`,
15555
+ type: "Body",
15556
+ schema: z.object({
15557
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
15558
+ createdDateTime: z.string().regex(
15559
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
15560
+ ).datetime({ offset: true }).describe(
15561
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
15562
+ ).nullish(),
15563
+ lastModifiedDateTime: z.string().regex(
15564
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
15565
+ ).datetime({ offset: true }).describe(
15566
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
15567
+ ).nullish(),
15568
+ type: microsoft_graph_eventType.optional(),
15569
+ body: microsoft_graph_itemBody.optional(),
15570
+ subject: z.string().describe("The text of the event's subject line.").nullish(),
15571
+ attachments: z.array(microsoft_graph_attachment).describe(
15572
+ "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
15573
+ ).optional(),
15574
+ singleValueExtendedProperties: z.array(microsoft_graph_singleValueLegacyExtendedProperty).describe(
15575
+ "The collection of single-value extended properties defined for the event. Read-only. Nullable."
15576
+ ).optional(),
15577
+ multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
15578
+ "The collection of multi-value extended properties defined for the event. Read-only. Nullable."
15579
+ ).optional(),
15580
+ start: microsoft_graph_dateTimeTimeZone.optional(),
15581
+ end: microsoft_graph_dateTimeTimeZone.optional(),
15582
+ location: microsoft_graph_location.optional(),
15583
+ showAs: microsoft_graph_freeBusyStatus.optional(),
15584
+ sensitivity: microsoft_graph_sensitivity.optional(),
15585
+ isAllDay: z.boolean().describe(
15586
+ "Set to true if the event lasts all day. If true, regardless of whether it's a single-day or multi-day event, start, and endtime must be set to midnight and be in the same time zone."
15587
+ ).nullish(),
15588
+ importance: microsoft_graph_importance.optional(),
15589
+ isOnlineMeeting: z.boolean().describe(
15590
+ "True if this event has online meeting information (that is, onlineMeeting points to an onlineMeetingInfo resource), false otherwise. Default is false (onlineMeeting is null). Optional. After you set isOnlineMeeting to true, Microsoft Graph initializes onlineMeeting. Subsequently, Outlook ignores any further changes to isOnlineMeeting, and the meeting remains available online."
15591
+ ).nullish(),
15592
+ isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
15593
+ attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
15594
+ recurrence: microsoft_graph_patternedRecurrence.optional(),
15595
+ reminderMinutesBeforeStart: z.number().gte(-2147483648).lte(2147483647).describe(
15596
+ "The number of minutes before the event start time that the reminder alert occurs."
15597
+ ).nullish(),
15598
+ allowNewTimeProposals: z.boolean().describe(
15599
+ "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
15600
+ ).nullish(),
15601
+ responseRequested: z.boolean().describe(
15602
+ "Default is true, which represents the organizer would like an invitee to send a response to the event."
15603
+ ).nullish(),
15604
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
15605
+ changeKey: z.string().describe(
15606
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
15607
+ ).nullish()
15608
+ }).passthrough().passthrough()
15609
+ }
15610
+ ],
15611
+ response: z.void()
15612
+ },
15613
+ {
15614
+ method: "delete",
15615
+ path: "/users/:userId/events/:eventId",
15616
+ alias: "delete-shared-calendar-event",
15617
+ description: `Delete a shared calendar event.`,
15618
+ requestFormat: "json",
15619
+ parameters: [
15620
+ {
15621
+ name: "If-Match",
15622
+ type: "Header",
15623
+ schema: z.string().describe("ETag").optional()
15624
+ }
15625
+ ],
15626
+ response: z.void()
15627
+ },
15275
15628
  {
15276
15629
  method: "get",
15277
15630
  path: "/users/:userId/mailFolders",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@softeria/ms-365-mcp-server",
3
3
  "mcpName": "io.github.Softeria/ms-365-mcp-server",
4
- "version": "0.174.2",
4
+ "version": "0.176.0",
5
5
  "description": " A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
@@ -612,6 +612,33 @@
612
612
  "workScopes": ["Calendars.Read.Shared"],
613
613
  "supportsTimezone": true
614
614
  },
615
+ {
616
+ "pathPattern": "/users/{user-id}/calendar/events",
617
+ "method": "post",
618
+ "toolName": "create-shared-calendar-event",
619
+ "descriptionOverride": "Create an event in another user's default calendar. The user-id is the calendar owner's ID or email address, and delegated write access to that calendar is required. Times use nested objects, not flat fields: start: {dateTime, timeZone}, end: {dateTime, timeZone}. Do NOT use startDateTime/startTimeZone. For recurring events use the calendar owner's own time zone name rather than UTC, since Graph resolves DST against the zone in start.timeZone.",
620
+ "presets": ["work"],
621
+ "workScopes": ["Calendars.ReadWrite.Shared"],
622
+ "supportsTimezone": true
623
+ },
624
+ {
625
+ "pathPattern": "/users/{user-id}/events/{event-id}",
626
+ "method": "patch",
627
+ "toolName": "update-shared-calendar-event",
628
+ "descriptionOverride": "Update an event in another user's default calendar. Requires the calendar owner's user-id and the event's eventId from list-shared-calendar-events or get-shared-calendar-view. Times use nested {dateTime, timeZone} objects.",
629
+ "presets": ["work"],
630
+ "workScopes": ["Calendars.ReadWrite.Shared"],
631
+ "supportsTimezone": true
632
+ },
633
+ {
634
+ "pathPattern": "/users/{user-id}/events/{event-id}",
635
+ "method": "delete",
636
+ "toolName": "delete-shared-calendar-event",
637
+ "descriptionOverride": "Delete an event from another user's default calendar. Requires the calendar owner's user-id and the event's eventId from list-shared-calendar-events or get-shared-calendar-view.",
638
+ "llmTip": "Deleting a seriesMaster deletes ALL occurrences of the recurring event. If the owner organizes the meeting, deleting it sends a cancellation to the attendees.",
639
+ "presets": ["work"],
640
+ "workScopes": ["Calendars.ReadWrite.Shared"]
641
+ },
615
642
  {
616
643
  "pathPattern": "/me/calendars/{calendar-id}/events/{event-id}/instances",
617
644
  "method": "get",
@@ -1177,6 +1204,41 @@
1177
1204
  "presets": ["onenote", "personal"],
1178
1205
  "scopes": ["Notes.Read"]
1179
1206
  },
1207
+ {
1208
+ "pathPattern": "/me/onenote/pages/{onenotePage-id}/content",
1209
+ "method": "patch",
1210
+ "toolName": "update-onenote-page-content",
1211
+ "presets": ["onenote", "personal"],
1212
+ "scopes": ["Notes.ReadWrite"],
1213
+ "requestBodySchema": {
1214
+ "type": "array",
1215
+ "description": "Array of patchContentCommand objects applied in order to the page's HTML.",
1216
+ "items": {
1217
+ "type": "object",
1218
+ "required": ["target", "action"],
1219
+ "properties": {
1220
+ "target": {
1221
+ "type": "string",
1222
+ "description": "Element to change: a data-id, the generated id, or a known name like 'body' or 'title'."
1223
+ },
1224
+ "action": {
1225
+ "type": "string",
1226
+ "enum": ["append", "insert", "prepend", "replace", "delete"],
1227
+ "description": "What to do at the target. 'delete' takes no content."
1228
+ },
1229
+ "position": {
1230
+ "type": "string",
1231
+ "enum": ["after", "before"],
1232
+ "description": "For 'insert'/'append', whether content goes after (default) or before the target's content."
1233
+ },
1234
+ "content": {
1235
+ "type": "string",
1236
+ "description": "HTML to add. Required for all actions except 'delete'."
1237
+ }
1238
+ }
1239
+ }
1240
+ }
1241
+ },
1180
1242
  {
1181
1243
  "pathPattern": "/sites/{site-id}/onenote/notebooks",
1182
1244
  "method": "get",
@@ -1331,7 +1393,15 @@
1331
1393
  "presets": ["personal", "tasks"],
1332
1394
  "scopes": ["Tasks.Read"],
1333
1395
  "queryParams": ["top", "skip", "filter", "skiptoken"],
1334
- "llmTip": "Lists all To Do task lists. Returns todoTaskList-id needed for all task operations. The default list is typically called 'Tasks'."
1396
+ "llmTip": "If it returns only 'Flagged Emails', use list-todo-task-lists-delta instead."
1397
+ },
1398
+ {
1399
+ "pathPattern": "/me/todo/lists/delta()",
1400
+ "method": "get",
1401
+ "toolName": "list-todo-task-lists-delta",
1402
+ "presets": ["personal", "tasks"],
1403
+ "scopes": ["Tasks.ReadWrite"],
1404
+ "queryParams": ["select", "skiptoken"]
1335
1405
  },
1336
1406
  {
1337
1407
  "pathPattern": "/me/todo/lists/{todoTaskList-id}/tasks",
@@ -2145,6 +2215,28 @@
2145
2215
  "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2146
2216
  "llmTip": "Add $expand=fields to include actual column values. Without it, only metadata is returned."
2147
2217
  },
2218
+ {
2219
+ "pathPattern": "/sites/{site-id}/lists/{list-id}/items/delta()",
2220
+ "method": "get",
2221
+ "toolName": "list-sharepoint-site-list-items-delta",
2222
+ "presets": ["work"],
2223
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]],
2224
+ "queryParams": ["select", "expand", "top"]
2225
+ },
2226
+ {
2227
+ "pathPattern": "/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions",
2228
+ "method": "get",
2229
+ "toolName": "list-sharepoint-site-list-item-versions",
2230
+ "presets": ["work"],
2231
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
2232
+ },
2233
+ {
2234
+ "pathPattern": "/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}",
2235
+ "method": "get",
2236
+ "toolName": "get-sharepoint-site-list-item-version",
2237
+ "presets": ["work"],
2238
+ "workScopes": [["Sites.Read.All"], ["Sites.Selected"]]
2239
+ },
2148
2240
  {
2149
2241
  "pathPattern": "/sites/{site-id}/lists/{list-id}/items",
2150
2242
  "method": "post",