@softeria/ms-365-mcp-server 0.28.0 → 0.28.1

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.
@@ -342,7 +342,9 @@ const microsoft_graph_resourceSpecificPermissionGrant = z.object({
342
342
  ).nullish(),
343
343
  clientId: z.string().describe("ID of the Microsoft Entra app that has been granted access. Read-only.").nullish(),
344
344
  permission: z.string().describe("The name of the resource-specific permission. Read-only.").nullish(),
345
- permissionType: z.string().describe("The type of permission. Possible values are: Application, Delegated. Read-only.").nullish(),
345
+ permissionType: z.string().describe(
346
+ "The type of permission. The possible values are: Application, Delegated. Read-only."
347
+ ).nullish(),
346
348
  resourceAppId: z.string().describe("ID of the Microsoft Entra app that is hosting the resource. Read-only.").nullish()
347
349
  }).strict();
348
350
  const microsoft_graph_pinnedChatMessageInfo = z.object({
@@ -857,7 +859,7 @@ const microsoft_graph_workbookNamedItem = z.lazy(
857
859
  "Indicates whether the name is scoped to the workbook or to a specific worksheet. Read-only."
858
860
  ).optional(),
859
861
  type: z.string().describe(
860
- "The type of reference is associated with the name. Possible values are: String, Integer, Double, Boolean, Range. Read-only."
862
+ "The type of reference is associated with the name. The possible values are: String, Integer, Double, Boolean, Range. Read-only."
861
863
  ).nullish(),
862
864
  value: z.unknown().describe(
863
865
  "The formula that the name is defined to refer to. For example, =Sheet14!$B$2:$H$12 and =4.75. Read-only."
@@ -1002,7 +1004,7 @@ const microsoft_graph_workbookTable = z.lazy(
1002
1004
  "Indicates whether the total row is visible or not. This value can be set to show or remove the total row."
1003
1005
  ).optional(),
1004
1006
  style: z.string().describe(
1005
- "A constant value that represents the Table style. Possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified."
1007
+ "A constant value that represents the Table style. The possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified."
1006
1008
  ).nullish(),
1007
1009
  columns: z.array(microsoft_graph_workbookTableColumn).describe("The list of all the columns in the table. Read-only.").optional(),
1008
1010
  rows: z.array(microsoft_graph_workbookTableRow).describe("The list of all the rows in the table. Read-only.").optional(),
@@ -1080,13 +1082,13 @@ const microsoft_graph_workbookRangeFormat = z.object({
1080
1082
  "The width of all columns within the range. If the column widths aren't uniform, null will be returned. [Simplified from 3 options]"
1081
1083
  ).nullish(),
1082
1084
  horizontalAlignment: z.string().describe(
1083
- "The horizontal alignment for the specified object. Possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed."
1085
+ "The horizontal alignment for the specified object. The possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed."
1084
1086
  ).nullish(),
1085
1087
  rowHeight: z.number().describe(
1086
1088
  "The height of all rows in the range. If the row heights aren't uniform null will be returned. [Simplified from 3 options]"
1087
1089
  ).nullish(),
1088
1090
  verticalAlignment: z.string().describe(
1089
- "The vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed."
1091
+ "The vertical alignment for the specified object. The possible values are: Top, Center, Bottom, Justify, Distributed."
1090
1092
  ).nullish(),
1091
1093
  wrapText: z.boolean().describe(
1092
1094
  "Indicates whether Excel wraps the text in the object. A null value indicates that the entire range doesn't have a uniform wrap setting."
@@ -1170,7 +1172,7 @@ const microsoft_graph_calendarRoleType = z.enum([
1170
1172
  const microsoft_graph_calendarPermission = z.object({
1171
1173
  id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1172
1174
  allowedRoles: z.array(z.union([microsoft_graph_calendarRoleType, z.object({}).partial().strict()])).describe(
1173
- "List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom."
1175
+ "List of allowed sharing or delegating permission levels for the calendar. The possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom."
1174
1176
  ).optional(),
1175
1177
  emailAddress: microsoft_graph_emailAddress.optional(),
1176
1178
  isInsideOrganization: z.boolean().describe(
@@ -1348,7 +1350,7 @@ const microsoft_graph_singleValueLegacyExtendedProperty = z.object({
1348
1350
  const microsoft_graph_calendar = z.object({
1349
1351
  id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1350
1352
  allowedOnlineMeetingProviders: z.array(z.union([microsoft_graph_onlineMeetingProviderType, z.object({}).partial().strict()])).describe(
1351
- "Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness."
1353
+ "Represent the online meeting service providers that can be used to create online meetings in this calendar. The possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness."
1352
1354
  ).optional(),
1353
1355
  canEdit: z.boolean().describe(
1354
1356
  "true if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who shared a calendar and granted write access."
@@ -1494,11 +1496,11 @@ const microsoft_graph_columnTypes = z.enum([
1494
1496
  const microsoft_graph_booleanColumn = z.object({}).strict();
1495
1497
  const microsoft_graph_calculatedColumn = z.object({
1496
1498
  format: z.string().describe(
1497
- "For dateTime output types, the format of the value. Possible values are: dateOnly or dateTime."
1499
+ "For dateTime output types, the format of the value. The possible values are: dateOnly or dateTime."
1498
1500
  ).nullish(),
1499
1501
  formula: z.string().describe("The formula used to compute the value for this column.").nullish(),
1500
1502
  outputType: z.string().describe(
1501
- "The output type used to format values in this column. Possible values are: boolean, currency, dateTime, number, or text."
1503
+ "The output type used to format values in this column. The possible values are: boolean, currency, dateTime, number, or text."
1502
1504
  ).nullish()
1503
1505
  }).strict();
1504
1506
  const microsoft_graph_choiceColumn = z.object({
@@ -3041,7 +3043,7 @@ const microsoft_graph_searchRequest = z.object({
3041
3043
  "This triggers hybrid sort for messages : the first 3 messages are the most relevant. This property is only applicable to entityType=message. Optional."
3042
3044
  ).nullish(),
3043
3045
  entityTypes: z.array(z.union([microsoft_graph_entityType, z.object({}).partial().strict()])).describe(
3044
- "One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required."
3046
+ "One or more types of resources expected in the response. The possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required."
3045
3047
  ).optional(),
3046
3048
  fields: z.array(z.string().nullable()).describe(
3047
3049
  "Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default; otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from the content that Microsoft 365 Copilot connectors bring in. The fields property can use the semantic labels applied to properties. For example, if a property is labeled as title, you can retrieve it using the following syntax: label_title. Optional."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softeria/ms-365-mcp-server",
3
- "version": "0.28.0",
3
+ "version": "0.28.1",
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",
@@ -33,12 +33,12 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@azure/msal-node": "^2.1.0",
37
- "@modelcontextprotocol/sdk": "^1.8.0",
36
+ "@azure/msal-node": "^3.8.0",
37
+ "@modelcontextprotocol/sdk": "^1.25.0",
38
38
  "@toon-format/toon": "^0.8.0",
39
39
  "commander": "^11.1.0",
40
40
  "dotenv": "^17.0.1",
41
- "express": "^5.1.0",
41
+ "express": "^5.2.1",
42
42
  "js-yaml": "^4.1.0",
43
43
  "winston": "^3.17.0",
44
44
  "zod": "^3.24.2"