@softeria/ms-365-mcp-server 0.191.2 → 0.192.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
CHANGED
|
@@ -806,7 +806,8 @@
|
|
|
806
806
|
"presets": ["files", "onedrive", "personal"],
|
|
807
807
|
"scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
|
|
808
808
|
"appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
809
|
-
"
|
|
809
|
+
"supportsIfMatch": true,
|
|
810
|
+
"llmTip": "Body is a base64-encoded string of the file bytes; the server decodes it before PUT. Graph accepts up to 250MB here, but the whole string travels as a tool argument and a truncated one decodes to a truncated file with no error, so use create-upload-session rather than emitting a large base64 string. For new files use path format: /items/root:/path/to/file.txt:/content. Overwrites existing files without warning. To avoid overwriting someone else's newer changes, read the file's eTag with get-drive-item before you download or edit it, then pass that value as If-Match when you upload; a stale ETag returns 412 and the file is left unchanged."
|
|
810
811
|
},
|
|
811
812
|
{
|
|
812
813
|
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/createUploadSession",
|
|
@@ -815,7 +816,8 @@
|
|
|
815
816
|
"presets": ["files", "onedrive", "personal"],
|
|
816
817
|
"scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
|
|
817
818
|
"appScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
818
|
-
"
|
|
819
|
+
"supportsIfMatch": true,
|
|
820
|
+
"llmTip": "For large file uploads (up to 250 GB; no minimum, unlike the Outlook attachment session). Returns a pre-authenticated uploadUrl; the caller PUTs the bytes there itself, without an Authorization header, in ranges under 60 MiB that are multiples of 320 KiB (except the last). This server does not perform the PUT. For new files use path: /items/{parentId}:/{fileName}:/createUploadSession. Body (optional): { item: { '@microsoft.graph.conflictBehavior': 'rename' } }. To avoid overwriting someone else's newer changes when replacing an existing file, pass the file's eTag (from get-drive-item) as If-Match when creating the session; a stale ETag returns 412 and no upload session is created."
|
|
819
821
|
},
|
|
820
822
|
{
|
|
821
823
|
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}",
|
|
@@ -833,7 +835,8 @@
|
|
|
833
835
|
"presets": ["files", "onedrive", "personal"],
|
|
834
836
|
"scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
|
|
835
837
|
"appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
836
|
-
"
|
|
838
|
+
"supportsIfMatch": true,
|
|
839
|
+
"llmTip": "Move and/or rename a file or folder. To move, provide parentReference with the target folder's id. To rename, provide a new name. Both can be done in a single request. To avoid acting on an item someone else changed since you read it, pass its eTag (from get-drive-item) as If-Match; a stale ETag returns 412 and the item is left unchanged."
|
|
837
840
|
},
|
|
838
841
|
{
|
|
839
842
|
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/children",
|
|
@@ -69,7 +69,7 @@ const DELTA_TOKEN_PARAM_DESCRIPTION = "Delta state to resume from: the @odata.de
|
|
|
69
69
|
const COUNT_PARAM_DESCRIPTION = "Set true to enable advanced query mode (ConsistencyLevel: eventual). Required for complex $filter on flag/flagStatus or contains(). The response then includes @odata.count, the total for the filtered collection, which can exceed the items returned when fetchAllPages hits its page/item cap.";
|
|
70
70
|
const MEMBER_NAME_PARAM_DESCRIPTION = "Case-insensitive text to match against each member's displayName and email. Applied after $select projection, so only fields you can see are matched. Without fetchAllPages only the fetched page is filtered, and @odata.count still reports the unfiltered total.";
|
|
71
71
|
const CONFIRM_PARAM_DESCRIPTION = 'For destructive operations when the confirm gate is enabled (MS365_MCP_REQUIRE_CONFIRM=true; off by default). Set to true only after the user has explicitly approved this action. When the gate is on, calls without confirm: true return { error: "confirmation_required" } without touching user data.';
|
|
72
|
-
const IF_MATCH_PARAM_DESCRIPTION = "Optional ETag for a conditional
|
|
72
|
+
const IF_MATCH_PARAM_DESCRIPTION = "Optional ETag for a conditional write. Use the ETag from your last read of the same item (the eTag field, or the ETag response header when includeHeaders=true); if it is stale, Graph returns 412 and does not apply the change.";
|
|
73
73
|
const TIMEZONE_PARAM_DESCRIPTION = 'IANA timezone name (e.g., "America/New_York", "Europe/London", "Asia/Tokyo") for calendar event times. If not specified, times are returned in UTC.';
|
|
74
74
|
const EXPAND_EXTENDED_PROPERTIES_PARAM_DESCRIPTION = "When true, expands singleValueExtendedProperties on each event. Use this to retrieve custom extended properties (e.g., sync metadata) stored on calendar events.";
|
|
75
75
|
function getAcceptParamDescription(acceptType) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softeria/ms-365-mcp-server",
|
|
3
3
|
"mcpName": "io.github.Softeria/ms-365-mcp-server",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.192.0",
|
|
5
5
|
"description": " A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
package/src/endpoints.json
CHANGED
|
@@ -806,7 +806,8 @@
|
|
|
806
806
|
"presets": ["files", "onedrive", "personal"],
|
|
807
807
|
"scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
|
|
808
808
|
"appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
809
|
-
"
|
|
809
|
+
"supportsIfMatch": true,
|
|
810
|
+
"llmTip": "Body is a base64-encoded string of the file bytes; the server decodes it before PUT. Graph accepts up to 250MB here, but the whole string travels as a tool argument and a truncated one decodes to a truncated file with no error, so use create-upload-session rather than emitting a large base64 string. For new files use path format: /items/root:/path/to/file.txt:/content. Overwrites existing files without warning. To avoid overwriting someone else's newer changes, read the file's eTag with get-drive-item before you download or edit it, then pass that value as If-Match when you upload; a stale ETag returns 412 and the file is left unchanged."
|
|
810
811
|
},
|
|
811
812
|
{
|
|
812
813
|
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/createUploadSession",
|
|
@@ -815,7 +816,8 @@
|
|
|
815
816
|
"presets": ["files", "onedrive", "personal"],
|
|
816
817
|
"scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
|
|
817
818
|
"appScopes": [["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
818
|
-
"
|
|
819
|
+
"supportsIfMatch": true,
|
|
820
|
+
"llmTip": "For large file uploads (up to 250 GB; no minimum, unlike the Outlook attachment session). Returns a pre-authenticated uploadUrl; the caller PUTs the bytes there itself, without an Authorization header, in ranges under 60 MiB that are multiples of 320 KiB (except the last). This server does not perform the PUT. For new files use path: /items/{parentId}:/{fileName}:/createUploadSession. Body (optional): { item: { '@microsoft.graph.conflictBehavior': 'rename' } }. To avoid overwriting someone else's newer changes when replacing an existing file, pass the file's eTag (from get-drive-item) as If-Match when creating the session; a stale ETag returns 412 and no upload session is created."
|
|
819
821
|
},
|
|
820
822
|
{
|
|
821
823
|
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}",
|
|
@@ -833,7 +835,8 @@
|
|
|
833
835
|
"presets": ["files", "onedrive", "personal"],
|
|
834
836
|
"scopes": [["Files.ReadWrite"], ["Sites.Selected"]],
|
|
835
837
|
"appScopes": [["Files.ReadWrite.All"], ["Sites.ReadWrite.All"], ["Sites.Selected"]],
|
|
836
|
-
"
|
|
838
|
+
"supportsIfMatch": true,
|
|
839
|
+
"llmTip": "Move and/or rename a file or folder. To move, provide parentReference with the target folder's id. To rename, provide a new name. Both can be done in a single request. To avoid acting on an item someone else changed since you read it, pass its eTag (from get-drive-item) as If-Match; a stale ETag returns 412 and the item is left unchanged."
|
|
837
840
|
},
|
|
838
841
|
{
|
|
839
842
|
"pathPattern": "/drives/{drive-id}/items/{driveItem-id}/children",
|