@softeria/ms-365-mcp-server 0.182.0 → 0.182.2
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 +6 -6
- package/bin/modules/simplified-openapi.mjs +2 -1
- package/dist/endpoints.json +55 -2
- package/dist/generated/client.js +25 -2
- package/package.json +1 -1
- package/src/endpoints.json +55 -2
package/PRESETS.md
CHANGED
|
@@ -304,10 +304,10 @@ Tools (370):
|
|
|
304
304
|
- `list-sharepoint-site-list-items`
|
|
305
305
|
- `list-sharepoint-site-list-items-delta`
|
|
306
306
|
- `list-sharepoint-site-lists`
|
|
307
|
+
- `list-sharepoint-site-onenote-child-section-groups`
|
|
307
308
|
- `list-sharepoint-site-onenote-notebook-section-groups`
|
|
308
309
|
- `list-sharepoint-site-onenote-notebook-sections`
|
|
309
310
|
- `list-sharepoint-site-onenote-notebooks`
|
|
310
|
-
- `list-sharepoint-site-onenote-section-group-section-groups`
|
|
311
311
|
- `list-sharepoint-site-onenote-section-group-sections`
|
|
312
312
|
- `list-sharepoint-site-onenote-section-pages`
|
|
313
313
|
- `list-specific-calendar-events`
|
|
@@ -632,10 +632,10 @@ Tools (180):
|
|
|
632
632
|
- `list-sharepoint-site-list-items`
|
|
633
633
|
- `list-sharepoint-site-list-items-delta`
|
|
634
634
|
- `list-sharepoint-site-lists`
|
|
635
|
+
- `list-sharepoint-site-onenote-child-section-groups`
|
|
635
636
|
- `list-sharepoint-site-onenote-notebook-section-groups`
|
|
636
637
|
- `list-sharepoint-site-onenote-notebook-sections`
|
|
637
638
|
- `list-sharepoint-site-onenote-notebooks`
|
|
638
|
-
- `list-sharepoint-site-onenote-section-group-section-groups`
|
|
639
639
|
- `list-sharepoint-site-onenote-section-group-sections`
|
|
640
640
|
- `list-sharepoint-site-onenote-section-pages`
|
|
641
641
|
- `list-specific-calendar-events`
|
|
@@ -1149,10 +1149,10 @@ Tools (29):
|
|
|
1149
1149
|
- `list-onenote-pages`
|
|
1150
1150
|
- `list-onenote-section-groups`
|
|
1151
1151
|
- `list-onenote-section-pages`
|
|
1152
|
+
- `list-sharepoint-site-onenote-child-section-groups`
|
|
1152
1153
|
- `list-sharepoint-site-onenote-notebook-section-groups`
|
|
1153
1154
|
- `list-sharepoint-site-onenote-notebook-sections`
|
|
1154
1155
|
- `list-sharepoint-site-onenote-notebooks`
|
|
1155
|
-
- `list-sharepoint-site-onenote-section-group-section-groups`
|
|
1156
1156
|
- `list-sharepoint-site-onenote-section-group-sections`
|
|
1157
1157
|
- `list-sharepoint-site-onenote-section-pages`
|
|
1158
1158
|
- `update-onenote-page-content`
|
|
@@ -1183,10 +1183,10 @@ Tools (17):
|
|
|
1183
1183
|
- `list-onenote-pages`
|
|
1184
1184
|
- `list-onenote-section-groups`
|
|
1185
1185
|
- `list-onenote-section-pages`
|
|
1186
|
+
- `list-sharepoint-site-onenote-child-section-groups`
|
|
1186
1187
|
- `list-sharepoint-site-onenote-notebook-section-groups`
|
|
1187
1188
|
- `list-sharepoint-site-onenote-notebook-sections`
|
|
1188
1189
|
- `list-sharepoint-site-onenote-notebooks`
|
|
1189
|
-
- `list-sharepoint-site-onenote-section-group-section-groups`
|
|
1190
1190
|
- `list-sharepoint-site-onenote-section-group-sections`
|
|
1191
1191
|
- `list-sharepoint-site-onenote-section-pages`
|
|
1192
1192
|
|
|
@@ -2230,10 +2230,10 @@ Tools (190):
|
|
|
2230
2230
|
- `list-sharepoint-site-list-items`
|
|
2231
2231
|
- `list-sharepoint-site-list-items-delta`
|
|
2232
2232
|
- `list-sharepoint-site-lists`
|
|
2233
|
+
- `list-sharepoint-site-onenote-child-section-groups`
|
|
2233
2234
|
- `list-sharepoint-site-onenote-notebook-section-groups`
|
|
2234
2235
|
- `list-sharepoint-site-onenote-notebook-sections`
|
|
2235
2236
|
- `list-sharepoint-site-onenote-notebooks`
|
|
2236
|
-
- `list-sharepoint-site-onenote-section-group-section-groups`
|
|
2237
2237
|
- `list-sharepoint-site-onenote-section-group-sections`
|
|
2238
2238
|
- `list-sharepoint-site-onenote-section-pages`
|
|
2239
2239
|
- `list-team-channels`
|
|
@@ -2447,10 +2447,10 @@ Tools (110):
|
|
|
2447
2447
|
- `list-sharepoint-site-list-items`
|
|
2448
2448
|
- `list-sharepoint-site-list-items-delta`
|
|
2449
2449
|
- `list-sharepoint-site-lists`
|
|
2450
|
+
- `list-sharepoint-site-onenote-child-section-groups`
|
|
2450
2451
|
- `list-sharepoint-site-onenote-notebook-section-groups`
|
|
2451
2452
|
- `list-sharepoint-site-onenote-notebook-sections`
|
|
2452
2453
|
- `list-sharepoint-site-onenote-notebooks`
|
|
2453
|
-
- `list-sharepoint-site-onenote-section-group-section-groups`
|
|
2454
2454
|
- `list-sharepoint-site-onenote-section-group-sections`
|
|
2455
2455
|
- `list-sharepoint-site-onenote-section-pages`
|
|
2456
2456
|
- `list-team-channels`
|
|
@@ -34,7 +34,8 @@ export function createAndSaveSimplifiedOpenAPI(
|
|
|
34
34
|
// synthesize the whole operation from endpoints.json.
|
|
35
35
|
// 2. The method exists but the endpoint declares its own requestBodySchema
|
|
36
36
|
// (Microsoft published a deprecated/malformed/private-preview body our generator
|
|
37
|
-
// can't consume
|
|
37
|
+
// can't consume, or a body far bigger than what the operation accepts, #757):
|
|
38
|
+
// override ONLY the request body and keep Microsoft's published
|
|
38
39
|
// responses/parameters intact, so we don't silently drop upstream fields or mask
|
|
39
40
|
// a future upstream fix. requestBodySchema is explicit opt-in per endpoint.
|
|
40
41
|
for (const endpoint of endpoints) {
|
package/dist/endpoints.json
CHANGED
|
@@ -1334,7 +1334,7 @@
|
|
|
1334
1334
|
{
|
|
1335
1335
|
"pathPattern": "/sites/{site-id}/onenote/sectionGroups/{sectionGroup-id}/sectionGroups",
|
|
1336
1336
|
"method": "get",
|
|
1337
|
-
"toolName": "list-sharepoint-site-onenote-
|
|
1337
|
+
"toolName": "list-sharepoint-site-onenote-child-section-groups",
|
|
1338
1338
|
"presets": ["onenote", "work"],
|
|
1339
1339
|
"workScopes": ["Notes.Read.All"]
|
|
1340
1340
|
},
|
|
@@ -2982,7 +2982,60 @@
|
|
|
2982
2982
|
"presets": ["teams", "work"],
|
|
2983
2983
|
"workScopes": ["Chat.Create", "Chat.ReadWrite"],
|
|
2984
2984
|
"appScopes": ["Chat.Create"],
|
|
2985
|
-
"
|
|
2985
|
+
"requestBodySchema": {
|
|
2986
|
+
"type": "object",
|
|
2987
|
+
"required": ["chatType", "members"],
|
|
2988
|
+
"properties": {
|
|
2989
|
+
"chatType": {
|
|
2990
|
+
"type": "string",
|
|
2991
|
+
"enum": ["oneOnOne", "group"]
|
|
2992
|
+
},
|
|
2993
|
+
"topic": {
|
|
2994
|
+
"type": "string",
|
|
2995
|
+
"description": "Chat title. Group chats only."
|
|
2996
|
+
},
|
|
2997
|
+
"members": {
|
|
2998
|
+
"type": "array",
|
|
2999
|
+
"description": "Everyone in the chat, including the signed-in user. Each member also needs '@odata.type': '#microsoft.graph.aadUserConversationMember'.",
|
|
3000
|
+
"items": {
|
|
3001
|
+
"type": "object",
|
|
3002
|
+
"required": ["roles", "user@odata.bind"],
|
|
3003
|
+
"properties": {
|
|
3004
|
+
"roles": {
|
|
3005
|
+
"type": "array",
|
|
3006
|
+
"items": { "type": "string", "enum": ["owner", "guest"] }
|
|
3007
|
+
},
|
|
3008
|
+
"user@odata.bind": {
|
|
3009
|
+
"type": "string",
|
|
3010
|
+
"description": "e.g. https://graph.microsoft.com/v1.0/users('{user-id or userPrincipalName}')"
|
|
3011
|
+
},
|
|
3012
|
+
"tenantId": {
|
|
3013
|
+
"type": "string",
|
|
3014
|
+
"description": "Home tenant of a federated user from another organization. Such users keep the 'owner' role."
|
|
3015
|
+
}
|
|
3016
|
+
},
|
|
3017
|
+
"additionalProperties": true
|
|
3018
|
+
}
|
|
3019
|
+
},
|
|
3020
|
+
"installedApps": {
|
|
3021
|
+
"type": "array",
|
|
3022
|
+
"description": "Teams apps to install in the new chat.",
|
|
3023
|
+
"items": {
|
|
3024
|
+
"type": "object",
|
|
3025
|
+
"required": ["teamsApp@odata.bind"],
|
|
3026
|
+
"properties": {
|
|
3027
|
+
"teamsApp@odata.bind": {
|
|
3028
|
+
"type": "string",
|
|
3029
|
+
"description": "e.g. https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/{teams-app-id}"
|
|
3030
|
+
}
|
|
3031
|
+
},
|
|
3032
|
+
"additionalProperties": true
|
|
3033
|
+
}
|
|
3034
|
+
}
|
|
3035
|
+
},
|
|
3036
|
+
"additionalProperties": true
|
|
3037
|
+
},
|
|
3038
|
+
"llmTip": "A oneOnOne chat takes exactly 2 members. The signed-in user must be a member. In-tenant guests take the 'guest' role. Use the returned id with send-chat-message."
|
|
2986
3039
|
},
|
|
2987
3040
|
{
|
|
2988
3041
|
"pathPattern": "/subscriptions",
|
package/dist/generated/client.js
CHANGED
|
@@ -5486,7 +5486,30 @@ const endpoints = makeApi([
|
|
|
5486
5486
|
name: "body",
|
|
5487
5487
|
description: `New entity`,
|
|
5488
5488
|
type: "Body",
|
|
5489
|
-
schema:
|
|
5489
|
+
schema: z.object({
|
|
5490
|
+
chatType: z.enum(["oneOnOne", "group"]),
|
|
5491
|
+
topic: z.string().describe("Chat title. Group chats only.").optional(),
|
|
5492
|
+
members: z.array(
|
|
5493
|
+
z.object({
|
|
5494
|
+
roles: z.array(z.enum(["owner", "guest"])),
|
|
5495
|
+
"user@odata.bind": z.string().describe(
|
|
5496
|
+
"e.g. https://graph.microsoft.com/v1.0/users('{user-id or userPrincipalName}')"
|
|
5497
|
+
),
|
|
5498
|
+
tenantId: z.string().describe(
|
|
5499
|
+
"Home tenant of a federated user from another organization. Such users keep the 'owner' role."
|
|
5500
|
+
).optional()
|
|
5501
|
+
}).loose().loose()
|
|
5502
|
+
).describe(
|
|
5503
|
+
"Everyone in the chat, including the signed-in user. Each member also needs '@odata.type': '#microsoft.graph.aadUserConversationMember'."
|
|
5504
|
+
),
|
|
5505
|
+
installedApps: z.array(
|
|
5506
|
+
z.object({
|
|
5507
|
+
"teamsApp@odata.bind": z.string().describe(
|
|
5508
|
+
"e.g. https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/{teams-app-id}"
|
|
5509
|
+
)
|
|
5510
|
+
}).loose().loose()
|
|
5511
|
+
).describe("Teams apps to install in the new chat.").optional()
|
|
5512
|
+
}).loose().loose()
|
|
5490
5513
|
}
|
|
5491
5514
|
],
|
|
5492
5515
|
response: z.void()
|
|
@@ -14320,7 +14343,7 @@ The same item might appear more than once in a delta feed, for various reasons.
|
|
|
14320
14343
|
{
|
|
14321
14344
|
method: "get",
|
|
14322
14345
|
path: "/sites/:siteId/onenote/sectionGroups/:sectionGroupId/sectionGroups",
|
|
14323
|
-
alias: "list-sharepoint-site-onenote-
|
|
14346
|
+
alias: "list-sharepoint-site-onenote-child-section-groups",
|
|
14324
14347
|
description: `The section groups in the section. Read-only. Nullable.`,
|
|
14325
14348
|
requestFormat: "json",
|
|
14326
14349
|
parameters: [
|
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.182.
|
|
4
|
+
"version": "0.182.2",
|
|
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",
|
package/src/endpoints.json
CHANGED
|
@@ -1334,7 +1334,7 @@
|
|
|
1334
1334
|
{
|
|
1335
1335
|
"pathPattern": "/sites/{site-id}/onenote/sectionGroups/{sectionGroup-id}/sectionGroups",
|
|
1336
1336
|
"method": "get",
|
|
1337
|
-
"toolName": "list-sharepoint-site-onenote-
|
|
1337
|
+
"toolName": "list-sharepoint-site-onenote-child-section-groups",
|
|
1338
1338
|
"presets": ["onenote", "work"],
|
|
1339
1339
|
"workScopes": ["Notes.Read.All"]
|
|
1340
1340
|
},
|
|
@@ -2982,7 +2982,60 @@
|
|
|
2982
2982
|
"presets": ["teams", "work"],
|
|
2983
2983
|
"workScopes": ["Chat.Create", "Chat.ReadWrite"],
|
|
2984
2984
|
"appScopes": ["Chat.Create"],
|
|
2985
|
-
"
|
|
2985
|
+
"requestBodySchema": {
|
|
2986
|
+
"type": "object",
|
|
2987
|
+
"required": ["chatType", "members"],
|
|
2988
|
+
"properties": {
|
|
2989
|
+
"chatType": {
|
|
2990
|
+
"type": "string",
|
|
2991
|
+
"enum": ["oneOnOne", "group"]
|
|
2992
|
+
},
|
|
2993
|
+
"topic": {
|
|
2994
|
+
"type": "string",
|
|
2995
|
+
"description": "Chat title. Group chats only."
|
|
2996
|
+
},
|
|
2997
|
+
"members": {
|
|
2998
|
+
"type": "array",
|
|
2999
|
+
"description": "Everyone in the chat, including the signed-in user. Each member also needs '@odata.type': '#microsoft.graph.aadUserConversationMember'.",
|
|
3000
|
+
"items": {
|
|
3001
|
+
"type": "object",
|
|
3002
|
+
"required": ["roles", "user@odata.bind"],
|
|
3003
|
+
"properties": {
|
|
3004
|
+
"roles": {
|
|
3005
|
+
"type": "array",
|
|
3006
|
+
"items": { "type": "string", "enum": ["owner", "guest"] }
|
|
3007
|
+
},
|
|
3008
|
+
"user@odata.bind": {
|
|
3009
|
+
"type": "string",
|
|
3010
|
+
"description": "e.g. https://graph.microsoft.com/v1.0/users('{user-id or userPrincipalName}')"
|
|
3011
|
+
},
|
|
3012
|
+
"tenantId": {
|
|
3013
|
+
"type": "string",
|
|
3014
|
+
"description": "Home tenant of a federated user from another organization. Such users keep the 'owner' role."
|
|
3015
|
+
}
|
|
3016
|
+
},
|
|
3017
|
+
"additionalProperties": true
|
|
3018
|
+
}
|
|
3019
|
+
},
|
|
3020
|
+
"installedApps": {
|
|
3021
|
+
"type": "array",
|
|
3022
|
+
"description": "Teams apps to install in the new chat.",
|
|
3023
|
+
"items": {
|
|
3024
|
+
"type": "object",
|
|
3025
|
+
"required": ["teamsApp@odata.bind"],
|
|
3026
|
+
"properties": {
|
|
3027
|
+
"teamsApp@odata.bind": {
|
|
3028
|
+
"type": "string",
|
|
3029
|
+
"description": "e.g. https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/{teams-app-id}"
|
|
3030
|
+
}
|
|
3031
|
+
},
|
|
3032
|
+
"additionalProperties": true
|
|
3033
|
+
}
|
|
3034
|
+
}
|
|
3035
|
+
},
|
|
3036
|
+
"additionalProperties": true
|
|
3037
|
+
},
|
|
3038
|
+
"llmTip": "A oneOnOne chat takes exactly 2 members. The signed-in user must be a member. In-tenant guests take the 'guest' role. Use the returned id with send-chat-message."
|
|
2986
3039
|
},
|
|
2987
3040
|
{
|
|
2988
3041
|
"pathPattern": "/subscriptions",
|