@softeria/ms-365-mcp-server 0.129.1 → 0.130.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/dist/endpoints.json +21 -0
- package/dist/generated/client.js +53 -3
- package/package.json +1 -1
- package/src/endpoints.json +21 -0
package/dist/endpoints.json
CHANGED
|
@@ -1393,6 +1393,13 @@
|
|
|
1393
1393
|
"presets": ["teams", "work"],
|
|
1394
1394
|
"workScopes": ["ChatMessage.Read"]
|
|
1395
1395
|
},
|
|
1396
|
+
{
|
|
1397
|
+
"pathPattern": "/chats/{chat-id}/messages/{chatMessage-id}",
|
|
1398
|
+
"method": "patch",
|
|
1399
|
+
"toolName": "update-chat-message",
|
|
1400
|
+
"presets": ["teams", "work"],
|
|
1401
|
+
"workScopes": ["Chat.ReadWrite"]
|
|
1402
|
+
},
|
|
1396
1403
|
{
|
|
1397
1404
|
"pathPattern": "/chats/{chat-id}/messages/{chatMessage-id}/hostedContents",
|
|
1398
1405
|
"method": "get",
|
|
@@ -1472,6 +1479,13 @@
|
|
|
1472
1479
|
"presets": ["teams", "work"],
|
|
1473
1480
|
"workScopes": ["ChannelMessage.Read.All"]
|
|
1474
1481
|
},
|
|
1482
|
+
{
|
|
1483
|
+
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}",
|
|
1484
|
+
"method": "patch",
|
|
1485
|
+
"toolName": "update-channel-message",
|
|
1486
|
+
"presets": ["teams", "work"],
|
|
1487
|
+
"workScopes": ["ChannelMessage.ReadWrite"]
|
|
1488
|
+
},
|
|
1475
1489
|
{
|
|
1476
1490
|
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents",
|
|
1477
1491
|
"method": "get",
|
|
@@ -1503,6 +1517,13 @@
|
|
|
1503
1517
|
"presets": ["teams", "work"],
|
|
1504
1518
|
"workScopes": ["ChannelMessage.Read.All"]
|
|
1505
1519
|
},
|
|
1520
|
+
{
|
|
1521
|
+
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}",
|
|
1522
|
+
"method": "patch",
|
|
1523
|
+
"toolName": "update-channel-message-reply",
|
|
1524
|
+
"presets": ["teams", "work"],
|
|
1525
|
+
"workScopes": ["ChannelMessage.ReadWrite"]
|
|
1526
|
+
},
|
|
1506
1527
|
{
|
|
1507
1528
|
"pathPattern": "/teams/{team-id}/members",
|
|
1508
1529
|
"method": "post",
|
package/dist/generated/client.js
CHANGED
|
@@ -1613,7 +1613,7 @@ const microsoft_graph_group = z.object({
|
|
|
1613
1613
|
"Indicates if people external to the organization can send messages to the group. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID})."
|
|
1614
1614
|
).nullish(),
|
|
1615
1615
|
assignedLabels: z.array(microsoft_graph_assignedLabel).describe(
|
|
1616
|
-
"The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group. Requires $select to retrieve. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role."
|
|
1616
|
+
"The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it's immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups."
|
|
1617
1617
|
).optional(),
|
|
1618
1618
|
assignedLicenses: z.array(microsoft_graph_assignedLicense).describe(
|
|
1619
1619
|
"The licenses that are assigned to the group. Requires $select to retrieve. Supports $filter (eq). Read-only."
|
|
@@ -5497,6 +5497,22 @@ const endpoints = makeApi([
|
|
|
5497
5497
|
],
|
|
5498
5498
|
response: z.void()
|
|
5499
5499
|
},
|
|
5500
|
+
{
|
|
5501
|
+
method: "patch",
|
|
5502
|
+
path: "/chats/:chatId/messages/:chatMessageId",
|
|
5503
|
+
alias: "update-chat-message",
|
|
5504
|
+
description: `Update the navigation property messages in chats`,
|
|
5505
|
+
requestFormat: "json",
|
|
5506
|
+
parameters: [
|
|
5507
|
+
{
|
|
5508
|
+
name: "body",
|
|
5509
|
+
description: `New navigation property values`,
|
|
5510
|
+
type: "Body",
|
|
5511
|
+
schema: microsoft_graph_chatMessage
|
|
5512
|
+
}
|
|
5513
|
+
],
|
|
5514
|
+
response: z.void()
|
|
5515
|
+
},
|
|
5500
5516
|
{
|
|
5501
5517
|
method: "get",
|
|
5502
5518
|
path: "/chats/:chatId/messages/:chatMessageId/hostedContents",
|
|
@@ -6871,7 +6887,7 @@ You can search within a folder hierarchy, a whole drive, or files shared with th
|
|
|
6871
6887
|
"Indicates if people external to the organization can send messages to the group. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID})."
|
|
6872
6888
|
).nullish(),
|
|
6873
6889
|
assignedLabels: z.array(microsoft_graph_assignedLabel).describe(
|
|
6874
|
-
"The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group. Requires $select to retrieve. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role."
|
|
6890
|
+
"The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it's immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups."
|
|
6875
6891
|
).optional(),
|
|
6876
6892
|
assignedLicenses: z.array(microsoft_graph_assignedLicense).describe(
|
|
6877
6893
|
"The licenses that are assigned to the group. Requires $select to retrieve. Supports $filter (eq). Read-only."
|
|
@@ -6982,7 +6998,7 @@ You can create or update the following types of group: By default, this operatio
|
|
|
6982
6998
|
"Indicates if people external to the organization can send messages to the group. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID})."
|
|
6983
6999
|
).nullish(),
|
|
6984
7000
|
assignedLabels: z.array(microsoft_graph_assignedLabel).describe(
|
|
6985
|
-
"The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group. Requires $select to retrieve. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role."
|
|
7001
|
+
"The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it's immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups."
|
|
6986
7002
|
).optional(),
|
|
6987
7003
|
assignedLicenses: z.array(microsoft_graph_assignedLicense).describe(
|
|
6988
7004
|
"The licenses that are assigned to the group. Requires $select to retrieve. Supports $filter (eq). Read-only."
|
|
@@ -14109,6 +14125,24 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
|
|
|
14109
14125
|
],
|
|
14110
14126
|
response: z.void()
|
|
14111
14127
|
},
|
|
14128
|
+
{
|
|
14129
|
+
method: "patch",
|
|
14130
|
+
path: "/teams/:teamId/channels/:channelId/messages/:chatMessageId",
|
|
14131
|
+
alias: "update-channel-message",
|
|
14132
|
+
description: `Update a chatMessage object.
|
|
14133
|
+
Except for the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.
|
|
14134
|
+
Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message.`,
|
|
14135
|
+
requestFormat: "json",
|
|
14136
|
+
parameters: [
|
|
14137
|
+
{
|
|
14138
|
+
name: "body",
|
|
14139
|
+
description: `New navigation property values`,
|
|
14140
|
+
type: "Body",
|
|
14141
|
+
schema: microsoft_graph_chatMessage
|
|
14142
|
+
}
|
|
14143
|
+
],
|
|
14144
|
+
response: z.void()
|
|
14145
|
+
},
|
|
14112
14146
|
{
|
|
14113
14147
|
method: "get",
|
|
14114
14148
|
path: "/teams/:teamId/channels/:channelId/messages/:chatMessageId/hostedContents",
|
|
@@ -14225,6 +14259,22 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
|
|
|
14225
14259
|
],
|
|
14226
14260
|
response: z.void()
|
|
14227
14261
|
},
|
|
14262
|
+
{
|
|
14263
|
+
method: "patch",
|
|
14264
|
+
path: "/teams/:teamId/channels/:channelId/messages/:chatMessageId/replies/:chatMessageId1",
|
|
14265
|
+
alias: "update-channel-message-reply",
|
|
14266
|
+
description: `Update the navigation property replies in teams`,
|
|
14267
|
+
requestFormat: "json",
|
|
14268
|
+
parameters: [
|
|
14269
|
+
{
|
|
14270
|
+
name: "body",
|
|
14271
|
+
description: `New navigation property values`,
|
|
14272
|
+
type: "Body",
|
|
14273
|
+
schema: microsoft_graph_chatMessage
|
|
14274
|
+
}
|
|
14275
|
+
],
|
|
14276
|
+
response: z.void()
|
|
14277
|
+
},
|
|
14228
14278
|
{
|
|
14229
14279
|
method: "post",
|
|
14230
14280
|
path: "/teams/:teamId/channels/:channelId/messages/:chatMessageId/setReaction",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softeria/ms-365-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.130.0",
|
|
4
4
|
"description": " A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
package/src/endpoints.json
CHANGED
|
@@ -1393,6 +1393,13 @@
|
|
|
1393
1393
|
"presets": ["teams", "work"],
|
|
1394
1394
|
"workScopes": ["ChatMessage.Read"]
|
|
1395
1395
|
},
|
|
1396
|
+
{
|
|
1397
|
+
"pathPattern": "/chats/{chat-id}/messages/{chatMessage-id}",
|
|
1398
|
+
"method": "patch",
|
|
1399
|
+
"toolName": "update-chat-message",
|
|
1400
|
+
"presets": ["teams", "work"],
|
|
1401
|
+
"workScopes": ["Chat.ReadWrite"]
|
|
1402
|
+
},
|
|
1396
1403
|
{
|
|
1397
1404
|
"pathPattern": "/chats/{chat-id}/messages/{chatMessage-id}/hostedContents",
|
|
1398
1405
|
"method": "get",
|
|
@@ -1472,6 +1479,13 @@
|
|
|
1472
1479
|
"presets": ["teams", "work"],
|
|
1473
1480
|
"workScopes": ["ChannelMessage.Read.All"]
|
|
1474
1481
|
},
|
|
1482
|
+
{
|
|
1483
|
+
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}",
|
|
1484
|
+
"method": "patch",
|
|
1485
|
+
"toolName": "update-channel-message",
|
|
1486
|
+
"presets": ["teams", "work"],
|
|
1487
|
+
"workScopes": ["ChannelMessage.ReadWrite"]
|
|
1488
|
+
},
|
|
1475
1489
|
{
|
|
1476
1490
|
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents",
|
|
1477
1491
|
"method": "get",
|
|
@@ -1503,6 +1517,13 @@
|
|
|
1503
1517
|
"presets": ["teams", "work"],
|
|
1504
1518
|
"workScopes": ["ChannelMessage.Read.All"]
|
|
1505
1519
|
},
|
|
1520
|
+
{
|
|
1521
|
+
"pathPattern": "/teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}",
|
|
1522
|
+
"method": "patch",
|
|
1523
|
+
"toolName": "update-channel-message-reply",
|
|
1524
|
+
"presets": ["teams", "work"],
|
|
1525
|
+
"workScopes": ["ChannelMessage.ReadWrite"]
|
|
1526
|
+
},
|
|
1506
1527
|
{
|
|
1507
1528
|
"pathPattern": "/teams/{team-id}/members",
|
|
1508
1529
|
"method": "post",
|