@softeria/ms-365-mcp-server 0.48.1 → 0.49.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 +14 -0
- package/dist/generated/client.js +103 -0
- package/logs/mcp-server.log +10 -10
- package/package.json +1 -1
- package/src/endpoints.json +14 -0
package/dist/endpoints.json
CHANGED
|
@@ -565,6 +565,20 @@
|
|
|
565
565
|
"toolName": "get-current-user",
|
|
566
566
|
"scopes": ["User.Read"]
|
|
567
567
|
},
|
|
568
|
+
{
|
|
569
|
+
"pathPattern": "/me/mailboxSettings",
|
|
570
|
+
"method": "get",
|
|
571
|
+
"toolName": "get-mailbox-settings",
|
|
572
|
+
"scopes": ["MailboxSettings.Read"],
|
|
573
|
+
"llmTip": "Gets the current user's mailbox settings including automaticRepliesSetting (out-of-office status, message, scheduledStartDateTime/EndDateTime, externalAudience), language, timeZone, dateFormat, timeFormat, delegateMeetingMessageDeliveryOptions, and userPurpose."
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"pathPattern": "/me/mailboxSettings",
|
|
577
|
+
"method": "patch",
|
|
578
|
+
"toolName": "update-mailbox-settings",
|
|
579
|
+
"scopes": ["MailboxSettings.ReadWrite"],
|
|
580
|
+
"llmTip": "Updates mailbox settings. Common use: configure Out-of-Office (automatic replies). Body example: { automaticRepliesSetting: { status: 'scheduled', scheduledStartDateTime: { dateTime: '2026-03-28T17:00:00', timeZone: 'Eastern Standard Time' }, scheduledEndDateTime: { dateTime: '2026-04-01T08:00:00', timeZone: 'Eastern Standard Time' }, internalReplyMessage: 'I am OOO.', externalReplyMessage: 'I am out of office.' } }. Status values: disabled, alwaysEnabled, scheduled."
|
|
581
|
+
},
|
|
568
582
|
{
|
|
569
583
|
"pathPattern": "/me/chats",
|
|
570
584
|
"method": "get",
|
package/dist/generated/client.js
CHANGED
|
@@ -2378,6 +2378,64 @@ const microsoft_graph_teamCollectionResponse = z.object({
|
|
|
2378
2378
|
"@odata.nextLink": z.string().nullable(),
|
|
2379
2379
|
value: z.array(microsoft_graph_team)
|
|
2380
2380
|
}).partial().passthrough();
|
|
2381
|
+
const microsoft_graph_externalAudienceScope = z.enum(["none", "contactsOnly", "all"]);
|
|
2382
|
+
const microsoft_graph_automaticRepliesStatus = z.enum(["disabled", "alwaysEnabled", "scheduled"]);
|
|
2383
|
+
const microsoft_graph_automaticRepliesSetting = z.object({
|
|
2384
|
+
externalAudience: microsoft_graph_externalAudienceScope.optional(),
|
|
2385
|
+
externalReplyMessage: z.string().describe(
|
|
2386
|
+
"The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled."
|
|
2387
|
+
).nullish(),
|
|
2388
|
+
internalReplyMessage: z.string().describe(
|
|
2389
|
+
"The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled."
|
|
2390
|
+
).nullish(),
|
|
2391
|
+
scheduledEndDateTime: microsoft_graph_dateTimeTimeZone.optional(),
|
|
2392
|
+
scheduledStartDateTime: microsoft_graph_dateTimeTimeZone.optional(),
|
|
2393
|
+
status: microsoft_graph_automaticRepliesStatus.optional()
|
|
2394
|
+
}).passthrough();
|
|
2395
|
+
const microsoft_graph_delegateMeetingMessageDeliveryOptions = z.enum([
|
|
2396
|
+
"sendToDelegateAndInformationToPrincipal",
|
|
2397
|
+
"sendToDelegateAndPrincipal",
|
|
2398
|
+
"sendToDelegateOnly"
|
|
2399
|
+
]);
|
|
2400
|
+
const microsoft_graph_localeInfo = z.object({
|
|
2401
|
+
displayName: z.string().describe(
|
|
2402
|
+
"A name representing the user's locale in natural language, for example, 'English (United States)'."
|
|
2403
|
+
).nullish(),
|
|
2404
|
+
locale: z.string().describe(
|
|
2405
|
+
"A locale representation for the user, which includes the user's preferred language and country/region. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2."
|
|
2406
|
+
).nullish()
|
|
2407
|
+
}).passthrough();
|
|
2408
|
+
const microsoft_graph_userPurpose = z.enum([
|
|
2409
|
+
"user",
|
|
2410
|
+
"linked",
|
|
2411
|
+
"shared",
|
|
2412
|
+
"room",
|
|
2413
|
+
"equipment",
|
|
2414
|
+
"others",
|
|
2415
|
+
"unknownFutureValue"
|
|
2416
|
+
]);
|
|
2417
|
+
const microsoft_graph_timeZoneBase = z.object({
|
|
2418
|
+
name: z.string().describe(
|
|
2419
|
+
"The name of a time zone. It can be a standard time zone name such as 'Hawaii-Aleutian Standard Time', or 'Customized Time Zone' for a custom time zone."
|
|
2420
|
+
).nullish()
|
|
2421
|
+
}).passthrough();
|
|
2422
|
+
const microsoft_graph_workingHours = z.object({
|
|
2423
|
+
daysOfWeek: z.array(z.union([microsoft_graph_dayOfWeek, z.object({}).partial().passthrough()])).describe("The days of the week on which the user works.").optional(),
|
|
2424
|
+
endTime: z.string().regex(/^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?$/).describe("The time of the day that the user stops working.").nullish(),
|
|
2425
|
+
startTime: z.string().regex(/^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?$/).describe("The time of the day that the user starts working.").nullish(),
|
|
2426
|
+
timeZone: microsoft_graph_timeZoneBase.optional()
|
|
2427
|
+
}).passthrough();
|
|
2428
|
+
const microsoft_graph_mailboxSettings = z.object({
|
|
2429
|
+
archiveFolder: z.string().describe("Folder ID of an archive folder for the user.").nullish(),
|
|
2430
|
+
automaticRepliesSetting: microsoft_graph_automaticRepliesSetting.optional(),
|
|
2431
|
+
dateFormat: z.string().describe("The date format for the user's mailbox.").nullish(),
|
|
2432
|
+
delegateMeetingMessageDeliveryOptions: microsoft_graph_delegateMeetingMessageDeliveryOptions.optional(),
|
|
2433
|
+
language: microsoft_graph_localeInfo.optional(),
|
|
2434
|
+
timeFormat: z.string().describe("The time format for the user's mailbox.").nullish(),
|
|
2435
|
+
timeZone: z.string().describe("The default time zone for the user's mailbox.").nullish(),
|
|
2436
|
+
userPurpose: microsoft_graph_userPurpose.optional(),
|
|
2437
|
+
workingHours: microsoft_graph_workingHours.optional()
|
|
2438
|
+
}).passthrough();
|
|
2381
2439
|
const microsoft_graph_messageRuleActions = z.object({
|
|
2382
2440
|
assignCategories: z.array(z.string().nullable()).describe("A list of categories to be assigned to a message.").optional(),
|
|
2383
2441
|
copyToFolder: z.string().describe("The ID of a folder that a message is to be copied to.").nullish(),
|
|
@@ -3797,6 +3855,15 @@ const schemas = {
|
|
|
3797
3855
|
microsoft_graph_teamsAsyncOperation,
|
|
3798
3856
|
microsoft_graph_team,
|
|
3799
3857
|
microsoft_graph_teamCollectionResponse,
|
|
3858
|
+
microsoft_graph_externalAudienceScope,
|
|
3859
|
+
microsoft_graph_automaticRepliesStatus,
|
|
3860
|
+
microsoft_graph_automaticRepliesSetting,
|
|
3861
|
+
microsoft_graph_delegateMeetingMessageDeliveryOptions,
|
|
3862
|
+
microsoft_graph_localeInfo,
|
|
3863
|
+
microsoft_graph_userPurpose,
|
|
3864
|
+
microsoft_graph_timeZoneBase,
|
|
3865
|
+
microsoft_graph_workingHours,
|
|
3866
|
+
microsoft_graph_mailboxSettings,
|
|
3800
3867
|
microsoft_graph_messageRuleActions,
|
|
3801
3868
|
microsoft_graph_messageActionFlag,
|
|
3802
3869
|
microsoft_graph_messageRulePredicates,
|
|
@@ -5575,6 +5642,42 @@ Based on this value, you can better adjust the parameters and call findMeetingTi
|
|
|
5575
5642
|
],
|
|
5576
5643
|
response: z.void()
|
|
5577
5644
|
},
|
|
5645
|
+
{
|
|
5646
|
+
method: "get",
|
|
5647
|
+
path: "/me/mailboxSettings",
|
|
5648
|
+
alias: "get-mailbox-settings",
|
|
5649
|
+
description: `Get the user's mailboxSettings. You can view all mailbox settings, or get specific settings. Users can set the following settings for their mailboxes through an Outlook client: Users can set their preferred date and time formats using Outlook on the web. Users can choose one of the supported short date or short time formats. This GET operation returns the format the user has chosen. Users can set the time zone they prefer on any Outlook client, by choosing from the supported time zones that their administrator has set up for their mailbox server. The administrator can set up time zones in the Windows time zone format or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. The Windows format is the default. This GET operation returns the user's preferred time zone in the format that the administrator has set up. If you want that time zone to be in a specific format (Windows or IANA), you can first update the preferred time zone in that format as a mailbox setting. Subsequently you will be able to get the time zone in that format. Alternatively, you can manage the format conversion separately in your app.`,
|
|
5650
|
+
requestFormat: "json",
|
|
5651
|
+
parameters: [
|
|
5652
|
+
{
|
|
5653
|
+
name: "$select",
|
|
5654
|
+
type: "Query",
|
|
5655
|
+
schema: z.array(z.string()).describe("Select properties to be returned").optional()
|
|
5656
|
+
},
|
|
5657
|
+
{
|
|
5658
|
+
name: "$expand",
|
|
5659
|
+
type: "Query",
|
|
5660
|
+
schema: z.array(z.string()).describe("Expand related entities").optional()
|
|
5661
|
+
}
|
|
5662
|
+
],
|
|
5663
|
+
response: z.void()
|
|
5664
|
+
},
|
|
5665
|
+
{
|
|
5666
|
+
method: "patch",
|
|
5667
|
+
path: "/me/mailboxSettings",
|
|
5668
|
+
alias: "update-mailbox-settings",
|
|
5669
|
+
description: `Enable, configure, or disable one or more of the following settings as part of a user's mailboxSettings: When updating the preferred date or time format for a user, specify it in respectively, the short date or short time format. When updating the preferred time zone for a user, specify it in the Windows or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. You can also further customize the time zone as shown in example 2 below.`,
|
|
5670
|
+
requestFormat: "json",
|
|
5671
|
+
parameters: [
|
|
5672
|
+
{
|
|
5673
|
+
name: "body",
|
|
5674
|
+
description: `New property values`,
|
|
5675
|
+
type: "Body",
|
|
5676
|
+
schema: microsoft_graph_mailboxSettings
|
|
5677
|
+
}
|
|
5678
|
+
],
|
|
5679
|
+
response: z.void()
|
|
5680
|
+
},
|
|
5578
5681
|
{
|
|
5579
5682
|
method: "get",
|
|
5580
5683
|
path: "/me/mailFolders",
|
package/logs/mcp-server.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
2026-03-31
|
|
2
|
-
2026-03-31
|
|
3
|
-
2026-03-31
|
|
4
|
-
2026-03-31
|
|
5
|
-
2026-03-31
|
|
6
|
-
2026-03-31
|
|
7
|
-
2026-03-31
|
|
8
|
-
2026-03-31
|
|
9
|
-
2026-03-31
|
|
10
|
-
2026-03-31
|
|
1
|
+
2026-03-31 08:27:22 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me
|
|
2
|
+
2026-03-31 08:27:22 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me
|
|
3
|
+
2026-03-31 08:27:22 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me
|
|
4
|
+
2026-03-31 08:27:22 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me/messages
|
|
5
|
+
2026-03-31 08:27:22 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me/calendar
|
|
6
|
+
2026-03-31 08:27:23 INFO: Using environment variables for secrets
|
|
7
|
+
2026-03-31 08:27:23 INFO: Using environment variables for secrets
|
|
8
|
+
2026-03-31 08:27:23 INFO: Using environment variables for secrets
|
|
9
|
+
2026-03-31 08:27:23 INFO: Using environment variables for secrets
|
|
10
|
+
2026-03-31 08:27:23 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.49.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
|
@@ -565,6 +565,20 @@
|
|
|
565
565
|
"toolName": "get-current-user",
|
|
566
566
|
"scopes": ["User.Read"]
|
|
567
567
|
},
|
|
568
|
+
{
|
|
569
|
+
"pathPattern": "/me/mailboxSettings",
|
|
570
|
+
"method": "get",
|
|
571
|
+
"toolName": "get-mailbox-settings",
|
|
572
|
+
"scopes": ["MailboxSettings.Read"],
|
|
573
|
+
"llmTip": "Gets the current user's mailbox settings including automaticRepliesSetting (out-of-office status, message, scheduledStartDateTime/EndDateTime, externalAudience), language, timeZone, dateFormat, timeFormat, delegateMeetingMessageDeliveryOptions, and userPurpose."
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"pathPattern": "/me/mailboxSettings",
|
|
577
|
+
"method": "patch",
|
|
578
|
+
"toolName": "update-mailbox-settings",
|
|
579
|
+
"scopes": ["MailboxSettings.ReadWrite"],
|
|
580
|
+
"llmTip": "Updates mailbox settings. Common use: configure Out-of-Office (automatic replies). Body example: { automaticRepliesSetting: { status: 'scheduled', scheduledStartDateTime: { dateTime: '2026-03-28T17:00:00', timeZone: 'Eastern Standard Time' }, scheduledEndDateTime: { dateTime: '2026-04-01T08:00:00', timeZone: 'Eastern Standard Time' }, internalReplyMessage: 'I am OOO.', externalReplyMessage: 'I am out of office.' } }. Status values: disabled, alwaysEnabled, scheduled."
|
|
581
|
+
},
|
|
568
582
|
{
|
|
569
583
|
"pathPattern": "/me/chats",
|
|
570
584
|
"method": "get",
|