@softeria/ms-365-mcp-server 0.98.0 → 0.99.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.
@@ -100,6 +100,12 @@
100
100
  "workScopes": ["Mail.Send.Shared"],
101
101
  "llmTip": "CRITICAL: Do not try to guess the email address of the recipients. Use the list-users tool to find the email address of the recipients."
102
102
  },
103
+ {
104
+ "pathPattern": "/users/{user-id}/messages",
105
+ "method": "post",
106
+ "toolName": "create-shared-mailbox-draft",
107
+ "workScopes": ["Mail.ReadWrite.Shared"]
108
+ },
103
109
  {
104
110
  "pathPattern": "/users",
105
111
  "method": "get",
@@ -13409,6 +13409,68 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
13409
13409
  ],
13410
13410
  response: z.void()
13411
13411
  },
13412
+ {
13413
+ method: "post",
13414
+ path: "/users/:userId/messages",
13415
+ alias: "create-shared-mailbox-draft",
13416
+ description: `Create new navigation property to messages for users`,
13417
+ requestFormat: "json",
13418
+ parameters: [
13419
+ {
13420
+ name: "body",
13421
+ description: `New navigation property`,
13422
+ type: "Body",
13423
+ schema: z.object({
13424
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
13425
+ createdDateTime: z.string().regex(
13426
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
13427
+ ).datetime({ offset: true }).describe(
13428
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
13429
+ ).nullish(),
13430
+ lastModifiedDateTime: z.string().regex(
13431
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
13432
+ ).datetime({ offset: true }).describe(
13433
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
13434
+ ).nullish(),
13435
+ body: microsoft_graph_itemBody.optional(),
13436
+ subject: z.string().describe("The subject of the message.").nullish(),
13437
+ attachments: z.array(microsoft_graph_attachment).describe("The fileAttachment and itemAttachment attachments for the message.").optional(),
13438
+ singleValueExtendedProperties: z.array(microsoft_graph_singleValueLegacyExtendedProperty).describe(
13439
+ "The collection of single-value extended properties defined for the message. Nullable."
13440
+ ).optional(),
13441
+ multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
13442
+ "The collection of multi-value extended properties defined for the message. Nullable."
13443
+ ).optional(),
13444
+ importance: microsoft_graph_importance.optional(),
13445
+ from: microsoft_graph_recipient.optional(),
13446
+ toRecipients: z.array(microsoft_graph_recipient).describe("The To: recipients for the message.").optional(),
13447
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
13448
+ changeKey: z.string().describe(
13449
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
13450
+ ).nullish(),
13451
+ bccRecipients: z.array(microsoft_graph_recipient).describe("The Bcc: recipients for the message.").optional(),
13452
+ bodyPreview: z.string().describe("The first 255 characters of the message body. It is in text format.").nullish(),
13453
+ ccRecipients: z.array(microsoft_graph_recipient).describe("The Cc: recipients for the message.").optional(),
13454
+ conversationId: z.string().describe("The ID of the conversation the email belongs to.").nullish(),
13455
+ conversationIndex: z.string().describe("Indicates the position of the message within the conversation.").nullish(),
13456
+ flag: microsoft_graph_followupFlag.optional(),
13457
+ hasAttachments: z.boolean().describe(
13458
+ "Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as <IMG src='cid:image001.jpg@01D26CD8.6C05F070'>."
13459
+ ).nullish(),
13460
+ inferenceClassification: microsoft_graph_inferenceClassificationType.optional(),
13461
+ internetMessageHeaders: z.array(microsoft_graph_internetMessageHeader).describe(
13462
+ "A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. Requires $select to retrieve. Read-only."
13463
+ ).optional(),
13464
+ internetMessageId: z.string().describe("The message ID in the format specified by RFC2822.").nullish(),
13465
+ isDeliveryReceiptRequested: z.boolean().describe("Indicates whether a read receipt is requested for the message.").nullish(),
13466
+ isDraft: z.boolean().describe(
13467
+ "Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet."
13468
+ ).nullish()
13469
+ }).passthrough().passthrough()
13470
+ }
13471
+ ],
13472
+ response: z.void()
13473
+ },
13412
13474
  {
13413
13475
  method: "get",
13414
13476
  path: "/users/:userId/messages/:messageId",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softeria/ms-365-mcp-server",
3
- "version": "0.98.0",
3
+ "version": "0.99.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",
@@ -100,6 +100,12 @@
100
100
  "workScopes": ["Mail.Send.Shared"],
101
101
  "llmTip": "CRITICAL: Do not try to guess the email address of the recipients. Use the list-users tool to find the email address of the recipients."
102
102
  },
103
+ {
104
+ "pathPattern": "/users/{user-id}/messages",
105
+ "method": "post",
106
+ "toolName": "create-shared-mailbox-draft",
107
+ "workScopes": ["Mail.ReadWrite.Shared"]
108
+ },
103
109
  {
104
110
  "pathPattern": "/users",
105
111
  "method": "get",