@softeria/ms-365-mcp-server 0.106.2 → 0.107.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.
@@ -106,6 +106,27 @@
106
106
  "toolName": "create-shared-mailbox-draft",
107
107
  "workScopes": ["Mail.ReadWrite.Shared"]
108
108
  },
109
+ {
110
+ "pathPattern": "/users/{user-id}/messages/{message-id}/reply",
111
+ "method": "post",
112
+ "toolName": "reply-shared-mailbox-mail",
113
+ "workScopes": ["Mail.Send.Shared"],
114
+ "llmTip": "Reply to a message from a shared mailbox preserving full HTML formatting and conversation thread. The 'user-id' is the shared mailbox email address (e.g. support@contoso.com). The 'comment' field is your reply text. Do NOT reconstruct the email manually. Requires Send As permission on the shared mailbox in Exchange."
115
+ },
116
+ {
117
+ "pathPattern": "/users/{user-id}/messages/{message-id}/replyAll",
118
+ "method": "post",
119
+ "toolName": "reply-all-shared-mailbox-mail",
120
+ "workScopes": ["Mail.Send.Shared"],
121
+ "llmTip": "Reply-all to a message from a shared mailbox preserving full HTML formatting and conversation thread. The 'user-id' is the shared mailbox email address. The 'comment' field is your reply text. Requires Send As permission on the shared mailbox in Exchange."
122
+ },
123
+ {
124
+ "pathPattern": "/users/{user-id}/messages/{message-id}/forward",
125
+ "method": "post",
126
+ "toolName": "forward-shared-mailbox-mail",
127
+ "workScopes": ["Mail.Send.Shared"],
128
+ "llmTip": "Forward a message from a shared mailbox preserving full HTML formatting and attachments. The 'user-id' is the shared mailbox email address. 'toRecipients' is required. The 'comment' field adds text above the forwarded content. Requires Send As permission on the shared mailbox in Exchange."
129
+ },
109
130
  {
110
131
  "pathPattern": "/users",
111
132
  "method": "get",
@@ -14465,6 +14465,66 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
14465
14465
  ],
14466
14466
  response: z.void()
14467
14467
  },
14468
+ {
14469
+ method: "post",
14470
+ path: "/users/:userId/messages/:messageId/forward",
14471
+ alias: "forward-shared-mailbox-mail",
14472
+ description: `Forward a message using either JSON or MIME format. When using JSON format, you can:
14473
+ - Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.
14474
+ - Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:
14475
+ - Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.
14476
+ - Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later.`,
14477
+ requestFormat: "json",
14478
+ parameters: [
14479
+ {
14480
+ name: "body",
14481
+ description: `Action parameters`,
14482
+ type: "Body",
14483
+ schema: create_forward_draft_Body
14484
+ }
14485
+ ],
14486
+ response: z.void()
14487
+ },
14488
+ {
14489
+ method: "post",
14490
+ path: "/users/:userId/messages/:messageId/reply",
14491
+ alias: "reply-shared-mailbox-mail",
14492
+ description: `Reply to the sender of a message using either JSON or MIME format. When using JSON format:
14493
+ * Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.
14494
+ * If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:
14495
+ - Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.
14496
+ - Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later.`,
14497
+ requestFormat: "json",
14498
+ parameters: [
14499
+ {
14500
+ name: "body",
14501
+ description: `Action parameters`,
14502
+ type: "Body",
14503
+ schema: create_reply_draft_Body
14504
+ }
14505
+ ],
14506
+ response: z.void()
14507
+ },
14508
+ {
14509
+ method: "post",
14510
+ path: "/users/:userId/messages/:messageId/replyAll",
14511
+ alias: "reply-all-shared-mailbox-mail",
14512
+ description: `Reply to all recipients of a message using either JSON or MIME format. When using JSON format:
14513
+ - Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.
14514
+ - If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:
14515
+ - Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.
14516
+ - Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later.`,
14517
+ requestFormat: "json",
14518
+ parameters: [
14519
+ {
14520
+ name: "body",
14521
+ description: `Action parameters`,
14522
+ type: "Body",
14523
+ schema: create_reply_draft_Body
14524
+ }
14525
+ ],
14526
+ response: z.void()
14527
+ },
14468
14528
  {
14469
14529
  method: "get",
14470
14530
  path: "/users/:userId/presence",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softeria/ms-365-mcp-server",
3
- "version": "0.106.2",
3
+ "version": "0.107.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",
@@ -106,6 +106,27 @@
106
106
  "toolName": "create-shared-mailbox-draft",
107
107
  "workScopes": ["Mail.ReadWrite.Shared"]
108
108
  },
109
+ {
110
+ "pathPattern": "/users/{user-id}/messages/{message-id}/reply",
111
+ "method": "post",
112
+ "toolName": "reply-shared-mailbox-mail",
113
+ "workScopes": ["Mail.Send.Shared"],
114
+ "llmTip": "Reply to a message from a shared mailbox preserving full HTML formatting and conversation thread. The 'user-id' is the shared mailbox email address (e.g. support@contoso.com). The 'comment' field is your reply text. Do NOT reconstruct the email manually. Requires Send As permission on the shared mailbox in Exchange."
115
+ },
116
+ {
117
+ "pathPattern": "/users/{user-id}/messages/{message-id}/replyAll",
118
+ "method": "post",
119
+ "toolName": "reply-all-shared-mailbox-mail",
120
+ "workScopes": ["Mail.Send.Shared"],
121
+ "llmTip": "Reply-all to a message from a shared mailbox preserving full HTML formatting and conversation thread. The 'user-id' is the shared mailbox email address. The 'comment' field is your reply text. Requires Send As permission on the shared mailbox in Exchange."
122
+ },
123
+ {
124
+ "pathPattern": "/users/{user-id}/messages/{message-id}/forward",
125
+ "method": "post",
126
+ "toolName": "forward-shared-mailbox-mail",
127
+ "workScopes": ["Mail.Send.Shared"],
128
+ "llmTip": "Forward a message from a shared mailbox preserving full HTML formatting and attachments. The 'user-id' is the shared mailbox email address. 'toRecipients' is required. The 'comment' field adds text above the forwarded content. Requires Send As permission on the shared mailbox in Exchange."
129
+ },
109
130
  {
110
131
  "pathPattern": "/users",
111
132
  "method": "get",