@softeria/ms-365-mcp-server 0.84.0 → 0.85.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 +7 -0
- package/dist/generated/client.js +16 -0
- package/package.json +1 -1
- package/src/endpoints.json +7 -0
package/dist/endpoints.json
CHANGED
|
@@ -1540,5 +1540,12 @@
|
|
|
1540
1540
|
"toolName": "remove-group-owner",
|
|
1541
1541
|
"workScopes": ["Group.ReadWrite.All"],
|
|
1542
1542
|
"llmTip": "Removes an owner from a group. A group must have at least one owner — this call fails if you try to remove the last owner. Use list-group-owners to find the owner's ID."
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"pathPattern": "/chats",
|
|
1546
|
+
"method": "post",
|
|
1547
|
+
"toolName": "create-chat",
|
|
1548
|
+
"workScopes": ["Chat.Create", "Chat.ReadWrite"],
|
|
1549
|
+
"llmTip": "Creates a new 1:1 or group Teams chat. Body: { chatType ('oneOnOne' or 'group'), topic (optional, group only), members: [{ '@odata.type': '#microsoft.graph.aadUserConversationMember', roles: ['owner' | 'guest'], 'user@odata.bind': 'https://graph.microsoft.com/v1.0/users({id})' }] }. A oneOnOne chat requires exactly 2 members (self + other), both with role 'owner'. For group chats, include all participants. The signed-in user must be one of the members. Returns the created chat with its id — use that id with send-chat-message, list-chat-members, etc."
|
|
1543
1550
|
}
|
|
1544
1551
|
]
|
package/dist/generated/client.js
CHANGED
|
@@ -4744,6 +4744,22 @@ const schemas = {
|
|
|
4744
4744
|
microsoft_graph_userCollectionResponse
|
|
4745
4745
|
};
|
|
4746
4746
|
const endpoints = makeApi([
|
|
4747
|
+
{
|
|
4748
|
+
method: "post",
|
|
4749
|
+
path: "/chats",
|
|
4750
|
+
alias: "create-chat",
|
|
4751
|
+
description: `Create a new chat object.`,
|
|
4752
|
+
requestFormat: "json",
|
|
4753
|
+
parameters: [
|
|
4754
|
+
{
|
|
4755
|
+
name: "body",
|
|
4756
|
+
description: `New entity`,
|
|
4757
|
+
type: "Body",
|
|
4758
|
+
schema: microsoft_graph_chat
|
|
4759
|
+
}
|
|
4760
|
+
],
|
|
4761
|
+
response: z.void()
|
|
4762
|
+
},
|
|
4747
4763
|
{
|
|
4748
4764
|
method: "get",
|
|
4749
4765
|
path: "/chats/:chatId",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softeria/ms-365-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.85.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
|
@@ -1540,5 +1540,12 @@
|
|
|
1540
1540
|
"toolName": "remove-group-owner",
|
|
1541
1541
|
"workScopes": ["Group.ReadWrite.All"],
|
|
1542
1542
|
"llmTip": "Removes an owner from a group. A group must have at least one owner — this call fails if you try to remove the last owner. Use list-group-owners to find the owner's ID."
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"pathPattern": "/chats",
|
|
1546
|
+
"method": "post",
|
|
1547
|
+
"toolName": "create-chat",
|
|
1548
|
+
"workScopes": ["Chat.Create", "Chat.ReadWrite"],
|
|
1549
|
+
"llmTip": "Creates a new 1:1 or group Teams chat. Body: { chatType ('oneOnOne' or 'group'), topic (optional, group only), members: [{ '@odata.type': '#microsoft.graph.aadUserConversationMember', roles: ['owner' | 'guest'], 'user@odata.bind': 'https://graph.microsoft.com/v1.0/users({id})' }] }. A oneOnOne chat requires exactly 2 members (self + other), both with role 'owner'. For group chats, include all participants. The signed-in user must be one of the members. Returns the created chat with its id — use that id with send-chat-message, list-chat-members, etc."
|
|
1543
1550
|
}
|
|
1544
1551
|
]
|