@softeria/ms-365-mcp-server 0.99.1 → 0.100.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 +22 -0
- package/dist/generated/client.js +112 -0
- package/package.json +1 -1
- package/src/endpoints.json +22 -0
package/dist/endpoints.json
CHANGED
|
@@ -1875,5 +1875,27 @@
|
|
|
1875
1875
|
"toolName": "create-outlook-category",
|
|
1876
1876
|
"scopes": ["MailboxSettings.ReadWrite"],
|
|
1877
1877
|
"llmTip": "Creates a new Outlook category. Body: { displayName (unique), color (one of: none, preset0 … preset24 — maps to red, orange, yellow, green, teal, olive, blue, purple, cranberry, steel, dark-steel, gray, dark-gray, black, dark-red, dark-orange, dark-yellow, dark-green, dark-teal, dark-olive, dark-blue, dark-purple, dark-cranberry) }. Category names are case-sensitive when applied to messages/events."
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"pathPattern": "/me/getMailTips",
|
|
1881
|
+
"method": "post",
|
|
1882
|
+
"toolName": "get-mail-tips",
|
|
1883
|
+
"scopes": ["Mail.Read"],
|
|
1884
|
+
"contentType": "application/json",
|
|
1885
|
+
"llmTip": "Looks up MailTips for one or more recipients before sending an email — answers 'is this person on auto-reply / OOF?', 'will my email exceed their mailbox quota?', 'are they an external recipient?', 'is this a mailbox or distribution list?'. Body: { EmailAddresses: ['user@contoso.com', ...] (max 100), MailTipsOptions: 'automaticReplies, mailboxFullStatus, customMailTip, externalMemberCount, totalMemberCount, maxMessageSize, deliveryRestriction, moderationStatus, recipientScope, recipientSuggestions' (comma-separated subset) }. Returns mailTips per recipient with the requested fields populated. Use this to short-circuit urgent emails when a recipient is OOF, or to warn before fanning out to a large DL."
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"pathPattern": "/me/outlook/supportedTimeZones(TimeZoneStandard='{TimeZoneStandard}')",
|
|
1889
|
+
"method": "get",
|
|
1890
|
+
"toolName": "list-supported-time-zones",
|
|
1891
|
+
"scopes": ["User.Read"],
|
|
1892
|
+
"llmTip": "Lists time zones the user's mailbox server supports. TimeZoneStandard path parameter must be one of: 'windows' (default — Windows time zone names like 'Pacific Standard Time'), or 'iana' (IANA / Olson names like 'America/Los_Angeles'). Returns timeZoneInformation objects with alias and displayName. Use the result to validate or look up the value before calling update-mailbox-settings to change the user's preferred timeZone — the format must match what the server expects."
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"pathPattern": "/me/outlook/supportedLanguages()",
|
|
1896
|
+
"method": "get",
|
|
1897
|
+
"toolName": "list-supported-languages",
|
|
1898
|
+
"scopes": ["User.Read"],
|
|
1899
|
+
"llmTip": "Lists locales and languages the user's mailbox server supports for the Outlook UI and message rendering. Returns localeInfo objects with locale (e.g. 'en-US'), displayName ('English (United States)'), and nativeName ('English (United States)'). Use this to validate the locale value before calling update-mailbox-settings to change the user's preferred language."
|
|
1878
1900
|
}
|
|
1879
1901
|
]
|
package/dist/generated/client.js
CHANGED
|
@@ -3153,6 +3153,22 @@ const find_meeting_times_Body = z.object({
|
|
|
3153
3153
|
returnSuggestionReasons: z.boolean().nullable().default(false),
|
|
3154
3154
|
minimumAttendeePercentage: z.union([z.number(), z.string(), ReferenceNumeric])
|
|
3155
3155
|
}).partial().passthrough();
|
|
3156
|
+
const microsoft_graph_mailTipsType = z.enum([
|
|
3157
|
+
"automaticReplies",
|
|
3158
|
+
"mailboxFullStatus",
|
|
3159
|
+
"customMailTip",
|
|
3160
|
+
"externalMemberCount",
|
|
3161
|
+
"totalMemberCount",
|
|
3162
|
+
"maxMessageSize",
|
|
3163
|
+
"deliveryRestriction",
|
|
3164
|
+
"moderationStatus",
|
|
3165
|
+
"recipientScope",
|
|
3166
|
+
"recipientSuggestions"
|
|
3167
|
+
]);
|
|
3168
|
+
const get_mail_tips_Body = z.object({
|
|
3169
|
+
EmailAddresses: z.array(z.string()),
|
|
3170
|
+
MailTipsOptions: z.union([microsoft_graph_mailTipsType, z.object({}).partial().passthrough()])
|
|
3171
|
+
}).partial().passthrough();
|
|
3156
3172
|
const send_mail_Body = z.object({
|
|
3157
3173
|
Message: microsoft_graph_message.describe(
|
|
3158
3174
|
"[Note: Simplified from 35 properties to 25 most common ones]"
|
|
@@ -3547,6 +3563,10 @@ const microsoft_graph_outlookCategoryCollectionResponse = z.object({
|
|
|
3547
3563
|
"@odata.nextLink": z.string().nullable(),
|
|
3548
3564
|
value: z.array(microsoft_graph_outlookCategory)
|
|
3549
3565
|
}).partial().passthrough();
|
|
3566
|
+
const microsoft_graph_timeZoneInformation = z.object({
|
|
3567
|
+
alias: z.string().describe("An identifier for the time zone.").nullish(),
|
|
3568
|
+
displayName: z.string().describe("A display string that represents the time zone.").nullish()
|
|
3569
|
+
}).passthrough();
|
|
3550
3570
|
const microsoft_graph_personType = z.object({
|
|
3551
3571
|
class: z.string().describe("The type of data source, such as Person.").nullish(),
|
|
3552
3572
|
subclass: z.string().describe("The secondary type of data source, such as OrganizationUser.").nullish()
|
|
@@ -4819,6 +4839,8 @@ const schemas = {
|
|
|
4819
4839
|
microsoft_graph_activityDomain,
|
|
4820
4840
|
microsoft_graph_timeConstraint,
|
|
4821
4841
|
find_meeting_times_Body,
|
|
4842
|
+
microsoft_graph_mailTipsType,
|
|
4843
|
+
get_mail_tips_Body,
|
|
4822
4844
|
send_mail_Body,
|
|
4823
4845
|
microsoft_graph_externalLink,
|
|
4824
4846
|
microsoft_graph_notebookLinks,
|
|
@@ -4856,6 +4878,7 @@ const schemas = {
|
|
|
4856
4878
|
microsoft_graph_categoryColor,
|
|
4857
4879
|
microsoft_graph_outlookCategory,
|
|
4858
4880
|
microsoft_graph_outlookCategoryCollectionResponse,
|
|
4881
|
+
microsoft_graph_timeZoneInformation,
|
|
4859
4882
|
microsoft_graph_personType,
|
|
4860
4883
|
microsoft_graph_phoneType,
|
|
4861
4884
|
microsoft_graph_phone,
|
|
@@ -8574,6 +8597,23 @@ Based on this value, you can better adjust the parameters and call findMeetingTi
|
|
|
8574
8597
|
],
|
|
8575
8598
|
response: z.void()
|
|
8576
8599
|
},
|
|
8600
|
+
{
|
|
8601
|
+
method: "post",
|
|
8602
|
+
path: "/me/getMailTips",
|
|
8603
|
+
alias: "get-mail-tips",
|
|
8604
|
+
description: `Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips to
|
|
8605
|
+
be returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection.`,
|
|
8606
|
+
requestFormat: "json",
|
|
8607
|
+
parameters: [
|
|
8608
|
+
{
|
|
8609
|
+
name: "body",
|
|
8610
|
+
description: `Action parameters`,
|
|
8611
|
+
type: "Body",
|
|
8612
|
+
schema: get_mail_tips_Body
|
|
8613
|
+
}
|
|
8614
|
+
],
|
|
8615
|
+
response: z.void()
|
|
8616
|
+
},
|
|
8577
8617
|
{
|
|
8578
8618
|
method: "get",
|
|
8579
8619
|
path: "/me/inferenceClassification/overrides",
|
|
@@ -10577,6 +10617,78 @@ resource.`,
|
|
|
10577
10617
|
],
|
|
10578
10618
|
response: z.void()
|
|
10579
10619
|
},
|
|
10620
|
+
{
|
|
10621
|
+
method: "get",
|
|
10622
|
+
path: "/me/outlook/supportedLanguages()",
|
|
10623
|
+
alias: "list-supported-languages",
|
|
10624
|
+
description: `Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language by
|
|
10625
|
+
getting the user's mailbox settings.`,
|
|
10626
|
+
requestFormat: "json",
|
|
10627
|
+
parameters: [
|
|
10628
|
+
{
|
|
10629
|
+
name: "$top",
|
|
10630
|
+
type: "Query",
|
|
10631
|
+
schema: z.number().int().gte(0).describe("Show only the first n items").optional()
|
|
10632
|
+
},
|
|
10633
|
+
{
|
|
10634
|
+
name: "$skip",
|
|
10635
|
+
type: "Query",
|
|
10636
|
+
schema: z.number().int().gte(0).describe("Skip the first n items").optional()
|
|
10637
|
+
},
|
|
10638
|
+
{
|
|
10639
|
+
name: "$search",
|
|
10640
|
+
type: "Query",
|
|
10641
|
+
schema: z.string().describe("Search items by search phrases").optional()
|
|
10642
|
+
},
|
|
10643
|
+
{
|
|
10644
|
+
name: "$filter",
|
|
10645
|
+
type: "Query",
|
|
10646
|
+
schema: z.string().describe("Filter items by property values").optional()
|
|
10647
|
+
},
|
|
10648
|
+
{
|
|
10649
|
+
name: "$count",
|
|
10650
|
+
type: "Query",
|
|
10651
|
+
schema: z.boolean().describe("Include count of items").optional()
|
|
10652
|
+
}
|
|
10653
|
+
],
|
|
10654
|
+
response: z.void()
|
|
10655
|
+
},
|
|
10656
|
+
{
|
|
10657
|
+
method: "get",
|
|
10658
|
+
path: `/me/outlook/supportedTimeZones(TimeZoneStandard=':TimeZoneStandard')`,
|
|
10659
|
+
alias: "list-supported-time-zones",
|
|
10660
|
+
description: `Get the list of time zones that are supported for the user, as configured on the user's mailbox server. You can explicitly specify to have time zones returned 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. When setting up an Outlook client, the user selects the preferred time zone from this supported list. You can subsequently get the preferred time zone by
|
|
10661
|
+
getting the user's mailbox settings.`,
|
|
10662
|
+
requestFormat: "json",
|
|
10663
|
+
parameters: [
|
|
10664
|
+
{
|
|
10665
|
+
name: "$top",
|
|
10666
|
+
type: "Query",
|
|
10667
|
+
schema: z.number().int().gte(0).describe("Show only the first n items").optional()
|
|
10668
|
+
},
|
|
10669
|
+
{
|
|
10670
|
+
name: "$skip",
|
|
10671
|
+
type: "Query",
|
|
10672
|
+
schema: z.number().int().gte(0).describe("Skip the first n items").optional()
|
|
10673
|
+
},
|
|
10674
|
+
{
|
|
10675
|
+
name: "$search",
|
|
10676
|
+
type: "Query",
|
|
10677
|
+
schema: z.string().describe("Search items by search phrases").optional()
|
|
10678
|
+
},
|
|
10679
|
+
{
|
|
10680
|
+
name: "$filter",
|
|
10681
|
+
type: "Query",
|
|
10682
|
+
schema: z.string().describe("Filter items by property values").optional()
|
|
10683
|
+
},
|
|
10684
|
+
{
|
|
10685
|
+
name: "$count",
|
|
10686
|
+
type: "Query",
|
|
10687
|
+
schema: z.boolean().describe("Include count of items").optional()
|
|
10688
|
+
}
|
|
10689
|
+
],
|
|
10690
|
+
response: z.void()
|
|
10691
|
+
},
|
|
10580
10692
|
{
|
|
10581
10693
|
method: "get",
|
|
10582
10694
|
path: "/me/people",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softeria/ms-365-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.100.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
|
@@ -1875,5 +1875,27 @@
|
|
|
1875
1875
|
"toolName": "create-outlook-category",
|
|
1876
1876
|
"scopes": ["MailboxSettings.ReadWrite"],
|
|
1877
1877
|
"llmTip": "Creates a new Outlook category. Body: { displayName (unique), color (one of: none, preset0 … preset24 — maps to red, orange, yellow, green, teal, olive, blue, purple, cranberry, steel, dark-steel, gray, dark-gray, black, dark-red, dark-orange, dark-yellow, dark-green, dark-teal, dark-olive, dark-blue, dark-purple, dark-cranberry) }. Category names are case-sensitive when applied to messages/events."
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"pathPattern": "/me/getMailTips",
|
|
1881
|
+
"method": "post",
|
|
1882
|
+
"toolName": "get-mail-tips",
|
|
1883
|
+
"scopes": ["Mail.Read"],
|
|
1884
|
+
"contentType": "application/json",
|
|
1885
|
+
"llmTip": "Looks up MailTips for one or more recipients before sending an email — answers 'is this person on auto-reply / OOF?', 'will my email exceed their mailbox quota?', 'are they an external recipient?', 'is this a mailbox or distribution list?'. Body: { EmailAddresses: ['user@contoso.com', ...] (max 100), MailTipsOptions: 'automaticReplies, mailboxFullStatus, customMailTip, externalMemberCount, totalMemberCount, maxMessageSize, deliveryRestriction, moderationStatus, recipientScope, recipientSuggestions' (comma-separated subset) }. Returns mailTips per recipient with the requested fields populated. Use this to short-circuit urgent emails when a recipient is OOF, or to warn before fanning out to a large DL."
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"pathPattern": "/me/outlook/supportedTimeZones(TimeZoneStandard='{TimeZoneStandard}')",
|
|
1889
|
+
"method": "get",
|
|
1890
|
+
"toolName": "list-supported-time-zones",
|
|
1891
|
+
"scopes": ["User.Read"],
|
|
1892
|
+
"llmTip": "Lists time zones the user's mailbox server supports. TimeZoneStandard path parameter must be one of: 'windows' (default — Windows time zone names like 'Pacific Standard Time'), or 'iana' (IANA / Olson names like 'America/Los_Angeles'). Returns timeZoneInformation objects with alias and displayName. Use the result to validate or look up the value before calling update-mailbox-settings to change the user's preferred timeZone — the format must match what the server expects."
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"pathPattern": "/me/outlook/supportedLanguages()",
|
|
1896
|
+
"method": "get",
|
|
1897
|
+
"toolName": "list-supported-languages",
|
|
1898
|
+
"scopes": ["User.Read"],
|
|
1899
|
+
"llmTip": "Lists locales and languages the user's mailbox server supports for the Outlook UI and message rendering. Returns localeInfo objects with locale (e.g. 'en-US'), displayName ('English (United States)'), and nativeName ('English (United States)'). Use this to validate the locale value before calling update-mailbox-settings to change the user's preferred language."
|
|
1878
1900
|
}
|
|
1879
1901
|
]
|