@softeria/ms-365-mcp-server 0.31.1 → 0.32.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 -2
- package/dist/generated/client.js +58 -0
- package/logs/mcp-server.log +5 -5
- package/package.json +1 -1
- package/src/endpoints.json +7 -2
package/dist/endpoints.json
CHANGED
|
@@ -84,6 +84,12 @@
|
|
|
84
84
|
"toolName": "move-mail-message",
|
|
85
85
|
"scopes": ["Mail.ReadWrite"]
|
|
86
86
|
},
|
|
87
|
+
{
|
|
88
|
+
"pathPattern": "/me/messages/{message-id}",
|
|
89
|
+
"method": "patch",
|
|
90
|
+
"toolName": "update-mail-message",
|
|
91
|
+
"scopes": ["Mail.ReadWrite"]
|
|
92
|
+
},
|
|
87
93
|
{
|
|
88
94
|
"pathPattern": "/me/messages/{message-id}/attachments",
|
|
89
95
|
"method": "post",
|
|
@@ -295,8 +301,7 @@
|
|
|
295
301
|
"pathPattern": "/me/onenote/pages/{onenotePage-id}/content",
|
|
296
302
|
"method": "get",
|
|
297
303
|
"toolName": "get-onenote-page-content",
|
|
298
|
-
"scopes": ["Notes.Read"]
|
|
299
|
-
"returnDownloadUrl": true
|
|
304
|
+
"scopes": ["Notes.Read"]
|
|
300
305
|
},
|
|
301
306
|
{
|
|
302
307
|
"pathPattern": "/me/onenote/pages",
|
package/dist/generated/client.js
CHANGED
|
@@ -5174,6 +5174,64 @@ Based on this value, you can better adjust the parameters and call findMeetingTi
|
|
|
5174
5174
|
],
|
|
5175
5175
|
response: z.void()
|
|
5176
5176
|
},
|
|
5177
|
+
{
|
|
5178
|
+
method: "patch",
|
|
5179
|
+
path: "/me/messages/:messageId",
|
|
5180
|
+
alias: "update-mail-message",
|
|
5181
|
+
description: `Update the properties of an eventMessage object.`,
|
|
5182
|
+
requestFormat: "json",
|
|
5183
|
+
parameters: [
|
|
5184
|
+
{
|
|
5185
|
+
name: "body",
|
|
5186
|
+
description: `New navigation property values`,
|
|
5187
|
+
type: "Body",
|
|
5188
|
+
schema: z.object({
|
|
5189
|
+
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
5190
|
+
createdDateTime: z.string().regex(
|
|
5191
|
+
/^[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])$/
|
|
5192
|
+
).datetime({ offset: true }).describe(
|
|
5193
|
+
"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"
|
|
5194
|
+
).nullish(),
|
|
5195
|
+
lastModifiedDateTime: z.string().regex(
|
|
5196
|
+
/^[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])$/
|
|
5197
|
+
).datetime({ offset: true }).describe(
|
|
5198
|
+
"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"
|
|
5199
|
+
).nullish(),
|
|
5200
|
+
body: microsoft_graph_itemBody.optional(),
|
|
5201
|
+
subject: z.string().describe("The subject of the message.").nullish(),
|
|
5202
|
+
attachments: z.array(microsoft_graph_attachment).describe("The fileAttachment and itemAttachment attachments for the message.").optional(),
|
|
5203
|
+
categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
|
|
5204
|
+
changeKey: z.string().describe(
|
|
5205
|
+
"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."
|
|
5206
|
+
).nullish(),
|
|
5207
|
+
bccRecipients: z.array(microsoft_graph_recipient).describe("The Bcc: recipients for the message.").optional(),
|
|
5208
|
+
bodyPreview: z.string().describe("The first 255 characters of the message body. It is in text format.").nullish(),
|
|
5209
|
+
ccRecipients: z.array(microsoft_graph_recipient).describe("The Cc: recipients for the message.").optional(),
|
|
5210
|
+
conversationId: z.string().describe("The ID of the conversation the email belongs to.").nullish(),
|
|
5211
|
+
conversationIndex: z.string().describe("Indicates the position of the message within the conversation.").nullish(),
|
|
5212
|
+
flag: microsoft_graph_followupFlag.optional(),
|
|
5213
|
+
from: microsoft_graph_recipient.optional(),
|
|
5214
|
+
hasAttachments: z.boolean().describe(
|
|
5215
|
+
"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'>."
|
|
5216
|
+
).nullish(),
|
|
5217
|
+
importance: microsoft_graph_importance.optional(),
|
|
5218
|
+
inferenceClassification: microsoft_graph_inferenceClassificationType.optional(),
|
|
5219
|
+
internetMessageHeaders: z.array(microsoft_graph_internetMessageHeader).describe(
|
|
5220
|
+
"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. Returned only on applying a $select query option. Read-only."
|
|
5221
|
+
).optional(),
|
|
5222
|
+
internetMessageId: z.string().describe("The message ID in the format specified by RFC2822.").nullish(),
|
|
5223
|
+
isDeliveryReceiptRequested: z.boolean().describe("Indicates whether a read receipt is requested for the message.").nullish(),
|
|
5224
|
+
isDraft: z.boolean().describe(
|
|
5225
|
+
"Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet."
|
|
5226
|
+
).nullish(),
|
|
5227
|
+
isRead: z.boolean().describe("Indicates whether the message has been read.").nullish(),
|
|
5228
|
+
isReadReceiptRequested: z.boolean().describe("Indicates whether a read receipt is requested for the message.").nullish(),
|
|
5229
|
+
parentFolderId: z.string().describe("The unique identifier for the message's parent mailFolder.").nullish()
|
|
5230
|
+
}).strict().passthrough()
|
|
5231
|
+
}
|
|
5232
|
+
],
|
|
5233
|
+
response: z.void()
|
|
5234
|
+
},
|
|
5177
5235
|
{
|
|
5178
5236
|
method: "delete",
|
|
5179
5237
|
path: "/me/messages/:messageId",
|
package/logs/mcp-server.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
2026-01-
|
|
2
|
-
2026-01-
|
|
3
|
-
2026-01-
|
|
4
|
-
2026-01-
|
|
5
|
-
2026-01-
|
|
1
|
+
2026-01-30 18:09:24 INFO: Using environment variables for secrets
|
|
2
|
+
2026-01-30 18:09:24 INFO: Using environment variables for secrets
|
|
3
|
+
2026-01-30 18:09:24 INFO: Using environment variables for secrets
|
|
4
|
+
2026-01-30 18:09:24 INFO: Using environment variables for secrets
|
|
5
|
+
2026-01-30 18:09:24 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.32.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
|
@@ -84,6 +84,12 @@
|
|
|
84
84
|
"toolName": "move-mail-message",
|
|
85
85
|
"scopes": ["Mail.ReadWrite"]
|
|
86
86
|
},
|
|
87
|
+
{
|
|
88
|
+
"pathPattern": "/me/messages/{message-id}",
|
|
89
|
+
"method": "patch",
|
|
90
|
+
"toolName": "update-mail-message",
|
|
91
|
+
"scopes": ["Mail.ReadWrite"]
|
|
92
|
+
},
|
|
87
93
|
{
|
|
88
94
|
"pathPattern": "/me/messages/{message-id}/attachments",
|
|
89
95
|
"method": "post",
|
|
@@ -295,8 +301,7 @@
|
|
|
295
301
|
"pathPattern": "/me/onenote/pages/{onenotePage-id}/content",
|
|
296
302
|
"method": "get",
|
|
297
303
|
"toolName": "get-onenote-page-content",
|
|
298
|
-
"scopes": ["Notes.Read"]
|
|
299
|
-
"returnDownloadUrl": true
|
|
304
|
+
"scopes": ["Notes.Read"]
|
|
300
305
|
},
|
|
301
306
|
{
|
|
302
307
|
"pathPattern": "/me/onenote/pages",
|