@softeria/ms-365-mcp-server 0.47.3 → 0.48.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 +8 -0
- package/dist/generated/client.js +56 -6
- package/logs/mcp-server.log +10 -10
- package/package.json +2 -2
- package/src/endpoints.json +8 -0
package/dist/endpoints.json
CHANGED
|
@@ -577,6 +577,14 @@
|
|
|
577
577
|
"toolName": "get-chat",
|
|
578
578
|
"workScopes": ["Chat.Read"]
|
|
579
579
|
},
|
|
580
|
+
{
|
|
581
|
+
"pathPattern": "/chats/{chat-id}/members",
|
|
582
|
+
"method": "get",
|
|
583
|
+
"toolName": "list-chat-members",
|
|
584
|
+
"scopes": ["ChatMember.Read"],
|
|
585
|
+
"workScopes": ["ChatMember.Read"],
|
|
586
|
+
"llmTip": "Lists members of a chat. Each member has displayName, email, roles (owner/guest), and visibleHistoryStartDateTime. For meeting chats, use the chatInfo.threadId from get-online-meeting as the chat-id to see who participated in the meeting chat."
|
|
587
|
+
},
|
|
580
588
|
{
|
|
581
589
|
"pathPattern": "/chats/{chat-id}/messages",
|
|
582
590
|
"method": "get",
|
package/dist/generated/client.js
CHANGED
|
@@ -407,6 +407,11 @@ const microsoft_graph_ODataErrors_MainError = z.object({
|
|
|
407
407
|
innerError: microsoft_graph_ODataErrors_InnerError.optional()
|
|
408
408
|
}).passthrough();
|
|
409
409
|
const microsoft_graph_ODataErrors_ODataError = z.object({ error: microsoft_graph_ODataErrors_MainError }).passthrough();
|
|
410
|
+
const microsoft_graph_conversationMemberCollectionResponse = z.object({
|
|
411
|
+
"@odata.count": z.number().int().nullable(),
|
|
412
|
+
"@odata.nextLink": z.string().nullable(),
|
|
413
|
+
value: z.array(microsoft_graph_conversationMember)
|
|
414
|
+
}).partial().passthrough();
|
|
410
415
|
const microsoft_graph_chatMessageCollectionResponse = z.object({
|
|
411
416
|
"@odata.count": z.number().int().nullable(),
|
|
412
417
|
"@odata.nextLink": z.string().nullable(),
|
|
@@ -3554,11 +3559,6 @@ const microsoft_graph_channelCollectionResponse = z.object({
|
|
|
3554
3559
|
"@odata.nextLink": z.string().nullable(),
|
|
3555
3560
|
value: z.array(microsoft_graph_channel)
|
|
3556
3561
|
}).partial().passthrough();
|
|
3557
|
-
const microsoft_graph_conversationMemberCollectionResponse = z.object({
|
|
3558
|
-
"@odata.count": z.number().int().nullable(),
|
|
3559
|
-
"@odata.nextLink": z.string().nullable(),
|
|
3560
|
-
value: z.array(microsoft_graph_conversationMember)
|
|
3561
|
-
}).partial().passthrough();
|
|
3562
3562
|
const microsoft_graph_userCollectionResponse = z.object({
|
|
3563
3563
|
"@odata.count": z.number().int().nullable(),
|
|
3564
3564
|
"@odata.nextLink": z.string().nullable(),
|
|
@@ -3616,6 +3616,7 @@ const schemas = {
|
|
|
3616
3616
|
microsoft_graph_ODataErrors_InnerError,
|
|
3617
3617
|
microsoft_graph_ODataErrors_MainError,
|
|
3618
3618
|
microsoft_graph_ODataErrors_ODataError,
|
|
3619
|
+
microsoft_graph_conversationMemberCollectionResponse,
|
|
3619
3620
|
microsoft_graph_chatMessageCollectionResponse,
|
|
3620
3621
|
microsoft_graph_geoCoordinates,
|
|
3621
3622
|
microsoft_graph_sharepointIds,
|
|
@@ -3918,7 +3919,6 @@ const schemas = {
|
|
|
3918
3919
|
microsoft_graph_listItemCollectionResponse,
|
|
3919
3920
|
BaseDeltaFunctionResponse,
|
|
3920
3921
|
microsoft_graph_channelCollectionResponse,
|
|
3921
|
-
microsoft_graph_conversationMemberCollectionResponse,
|
|
3922
3922
|
microsoft_graph_userCollectionResponse
|
|
3923
3923
|
};
|
|
3924
3924
|
const endpoints = makeApi([
|
|
@@ -3942,6 +3942,56 @@ const endpoints = makeApi([
|
|
|
3942
3942
|
],
|
|
3943
3943
|
response: z.void()
|
|
3944
3944
|
},
|
|
3945
|
+
{
|
|
3946
|
+
method: "get",
|
|
3947
|
+
path: "/chats/:chatId/members",
|
|
3948
|
+
alias: "list-chat-members",
|
|
3949
|
+
description: `List all conversation members in a chat or channel.`,
|
|
3950
|
+
requestFormat: "json",
|
|
3951
|
+
parameters: [
|
|
3952
|
+
{
|
|
3953
|
+
name: "$top",
|
|
3954
|
+
type: "Query",
|
|
3955
|
+
schema: z.number().int().gte(0).describe("Show only the first n items").optional()
|
|
3956
|
+
},
|
|
3957
|
+
{
|
|
3958
|
+
name: "$skip",
|
|
3959
|
+
type: "Query",
|
|
3960
|
+
schema: z.number().int().gte(0).describe("Skip the first n items").optional()
|
|
3961
|
+
},
|
|
3962
|
+
{
|
|
3963
|
+
name: "$search",
|
|
3964
|
+
type: "Query",
|
|
3965
|
+
schema: z.string().describe("Search items by search phrases").optional()
|
|
3966
|
+
},
|
|
3967
|
+
{
|
|
3968
|
+
name: "$filter",
|
|
3969
|
+
type: "Query",
|
|
3970
|
+
schema: z.string().describe("Filter items by property values").optional()
|
|
3971
|
+
},
|
|
3972
|
+
{
|
|
3973
|
+
name: "$count",
|
|
3974
|
+
type: "Query",
|
|
3975
|
+
schema: z.boolean().describe("Include count of items").optional()
|
|
3976
|
+
},
|
|
3977
|
+
{
|
|
3978
|
+
name: "$orderby",
|
|
3979
|
+
type: "Query",
|
|
3980
|
+
schema: z.array(z.string()).describe("Order items by property values").optional()
|
|
3981
|
+
},
|
|
3982
|
+
{
|
|
3983
|
+
name: "$select",
|
|
3984
|
+
type: "Query",
|
|
3985
|
+
schema: z.array(z.string()).describe("Select properties to be returned").optional()
|
|
3986
|
+
},
|
|
3987
|
+
{
|
|
3988
|
+
name: "$expand",
|
|
3989
|
+
type: "Query",
|
|
3990
|
+
schema: z.array(z.string()).describe("Expand related entities").optional()
|
|
3991
|
+
}
|
|
3992
|
+
],
|
|
3993
|
+
response: z.void()
|
|
3994
|
+
},
|
|
3945
3995
|
{
|
|
3946
3996
|
method: "get",
|
|
3947
3997
|
path: "/chats/:chatId/messages",
|
package/logs/mcp-server.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
2026-03-
|
|
2
|
-
2026-03-
|
|
3
|
-
2026-03-
|
|
4
|
-
2026-03-
|
|
5
|
-
2026-03-
|
|
6
|
-
2026-03-
|
|
7
|
-
2026-03-
|
|
8
|
-
2026-03-
|
|
9
|
-
2026-03-
|
|
10
|
-
2026-03-
|
|
1
|
+
2026-03-31 07:35:42 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me
|
|
2
|
+
2026-03-31 07:35:42 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me
|
|
3
|
+
2026-03-31 07:35:42 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me
|
|
4
|
+
2026-03-31 07:35:42 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me/messages
|
|
5
|
+
2026-03-31 07:35:42 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me/calendar
|
|
6
|
+
2026-03-31 07:35:44 INFO: Using environment variables for secrets
|
|
7
|
+
2026-03-31 07:35:44 INFO: Using environment variables for secrets
|
|
8
|
+
2026-03-31 07:35:44 INFO: Using environment variables for secrets
|
|
9
|
+
2026-03-31 07:35:44 INFO: Using environment variables for secrets
|
|
10
|
+
2026-03-31 07:35:44 INFO: Using environment variables for secrets
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softeria/ms-365-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.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",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@azure/msal-node": "^3.8.0",
|
|
37
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
37
|
+
"@modelcontextprotocol/sdk": "^1.28.0",
|
|
38
38
|
"@toon-format/toon": "^0.8.0",
|
|
39
39
|
"commander": "^11.1.0",
|
|
40
40
|
"dotenv": "^17.0.1",
|
package/src/endpoints.json
CHANGED
|
@@ -577,6 +577,14 @@
|
|
|
577
577
|
"toolName": "get-chat",
|
|
578
578
|
"workScopes": ["Chat.Read"]
|
|
579
579
|
},
|
|
580
|
+
{
|
|
581
|
+
"pathPattern": "/chats/{chat-id}/members",
|
|
582
|
+
"method": "get",
|
|
583
|
+
"toolName": "list-chat-members",
|
|
584
|
+
"scopes": ["ChatMember.Read"],
|
|
585
|
+
"workScopes": ["ChatMember.Read"],
|
|
586
|
+
"llmTip": "Lists members of a chat. Each member has displayName, email, roles (owner/guest), and visibleHistoryStartDateTime. For meeting chats, use the chatInfo.threadId from get-online-meeting as the chat-id to see who participated in the meeting chat."
|
|
587
|
+
},
|
|
580
588
|
{
|
|
581
589
|
"pathPattern": "/chats/{chat-id}/messages",
|
|
582
590
|
"method": "get",
|