@softeria/ms-365-mcp-server 0.134.3 → 0.134.5
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/README.md +1 -1
- package/dist/endpoints.json +4 -2
- package/dist/generated/client.js +20 -8
- package/dist/lib/log-redactor.js +2 -1
- package/package.json +1 -1
- package/src/endpoints.json +4 -2
package/README.md
CHANGED
|
@@ -596,7 +596,7 @@ Environment variables:
|
|
|
596
596
|
- `MS365_MCP_CLOUD_TYPE=global|china`: Microsoft cloud environment (alternative to --cloud flag)
|
|
597
597
|
- `LOG_LEVEL`: Set logging level (default: 'info')
|
|
598
598
|
- `SILENT=true|1`: Disable console output
|
|
599
|
-
- `MS365_MCP_REDACT_PII=
|
|
599
|
+
- `MS365_MCP_REDACT_PII=false|0`: Disable scrubbing of JWTs, Bearer headers, OAuth token fields, and email addresses from log messages (default: enabled). The server handles live Graph bearer tokens, so redaction is on unless you opt out for fully verbose local debugging.
|
|
600
600
|
- `MS365_MCP_CLIENT_ID`: Custom Azure app client ID (defaults to built-in app)
|
|
601
601
|
- `MS365_MCP_TENANT_ID`: Custom tenant ID (defaults to 'common' for multi-tenant). **Personal Microsoft accounts should set this to `consumers`** - as of June 2026, refresh tokens issued via the default 'common' authority are rejected at the first refresh, so sessions die roughly an hour after login
|
|
602
602
|
- `MS365_MCP_OAUTH_TOKEN`: Pre-existing OAuth token for Microsoft Graph API (BYOT method)
|
package/dist/endpoints.json
CHANGED
|
@@ -1944,11 +1944,13 @@
|
|
|
1944
1944
|
"llmTip": "Deletes a column from a SharePoint list. This is irreversible — all data stored in this column across every list item is lost. Confirm with the user before calling. Cannot delete built-in columns (Title, Created, Modified, etc.)."
|
|
1945
1945
|
},
|
|
1946
1946
|
{
|
|
1947
|
-
"pathPattern": "/sites/{site-id}
|
|
1947
|
+
"pathPattern": "/sites/{site-id}:/{path}",
|
|
1948
1948
|
"method": "get",
|
|
1949
1949
|
"toolName": "get-sharepoint-site-by-path",
|
|
1950
1950
|
"presets": ["work"],
|
|
1951
|
-
"workScopes": ["Sites.Read.All"]
|
|
1951
|
+
"workScopes": ["Sites.Read.All"],
|
|
1952
|
+
"skipEncoding": ["path"],
|
|
1953
|
+
"llmTip": "Resolve a SharePoint site from its server-relative URL. site-id is the hostname (contoso.sharepoint.com) and path is the site path without a leading slash (sites/marketing, teams/hr). Returns the site object whose id feeds list-sharepoint-site-drives."
|
|
1952
1954
|
},
|
|
1953
1955
|
{
|
|
1954
1956
|
"pathPattern": "/sites/delta()",
|
package/dist/generated/client.js
CHANGED
|
@@ -12968,6 +12968,26 @@ A site resource represents a team site in SharePoint.`,
|
|
|
12968
12968
|
],
|
|
12969
12969
|
response: z.void()
|
|
12970
12970
|
},
|
|
12971
|
+
{
|
|
12972
|
+
method: "get",
|
|
12973
|
+
path: "/sites/:siteId:/:path",
|
|
12974
|
+
alias: "get-sharepoint-site-by-path",
|
|
12975
|
+
description: `Resolve a SharePoint site from its server-relative URL. site-id is the hostname (contoso.sharepoint.com) and path is the site path without a leading slash (sites/marketing, teams/hr). Returns the site object whose id feeds list-sharepoint-site-drives.`,
|
|
12976
|
+
requestFormat: "json",
|
|
12977
|
+
parameters: [
|
|
12978
|
+
{
|
|
12979
|
+
name: "siteId",
|
|
12980
|
+
type: "Path",
|
|
12981
|
+
schema: z.string().describe("Path parameter: site-id")
|
|
12982
|
+
},
|
|
12983
|
+
{
|
|
12984
|
+
name: "path",
|
|
12985
|
+
type: "Path",
|
|
12986
|
+
schema: z.string().describe("Path parameter: path")
|
|
12987
|
+
}
|
|
12988
|
+
],
|
|
12989
|
+
response: z.void()
|
|
12990
|
+
},
|
|
12971
12991
|
{
|
|
12972
12992
|
method: "get",
|
|
12973
12993
|
path: "/sites/:siteId/drives",
|
|
@@ -13038,14 +13058,6 @@ A site resource represents a team site in SharePoint.`,
|
|
|
13038
13058
|
],
|
|
13039
13059
|
response: z.void()
|
|
13040
13060
|
},
|
|
13041
|
-
{
|
|
13042
|
-
method: "get",
|
|
13043
|
-
path: `/sites/:siteId/getByPath(path=':path')`,
|
|
13044
|
-
alias: "get-sharepoint-site-by-path",
|
|
13045
|
-
description: `Invoke function getByPath`,
|
|
13046
|
-
requestFormat: "json",
|
|
13047
|
-
response: z.void()
|
|
13048
|
-
},
|
|
13049
13061
|
{
|
|
13050
13062
|
method: "get",
|
|
13051
13063
|
path: "/sites/:siteId/items",
|
package/dist/lib/log-redactor.js
CHANGED
|
@@ -31,7 +31,8 @@ const REDACTIONS = [
|
|
|
31
31
|
];
|
|
32
32
|
function redactionEnabled() {
|
|
33
33
|
const raw = process.env.MS365_MCP_REDACT_PII;
|
|
34
|
-
|
|
34
|
+
if (raw === void 0) return true;
|
|
35
|
+
return raw !== "false" && raw !== "0";
|
|
35
36
|
}
|
|
36
37
|
function redactSensitive(input) {
|
|
37
38
|
let out = input;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softeria/ms-365-mcp-server",
|
|
3
|
-
"version": "0.134.
|
|
3
|
+
"version": "0.134.5",
|
|
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
|
@@ -1944,11 +1944,13 @@
|
|
|
1944
1944
|
"llmTip": "Deletes a column from a SharePoint list. This is irreversible — all data stored in this column across every list item is lost. Confirm with the user before calling. Cannot delete built-in columns (Title, Created, Modified, etc.)."
|
|
1945
1945
|
},
|
|
1946
1946
|
{
|
|
1947
|
-
"pathPattern": "/sites/{site-id}
|
|
1947
|
+
"pathPattern": "/sites/{site-id}:/{path}",
|
|
1948
1948
|
"method": "get",
|
|
1949
1949
|
"toolName": "get-sharepoint-site-by-path",
|
|
1950
1950
|
"presets": ["work"],
|
|
1951
|
-
"workScopes": ["Sites.Read.All"]
|
|
1951
|
+
"workScopes": ["Sites.Read.All"],
|
|
1952
|
+
"skipEncoding": ["path"],
|
|
1953
|
+
"llmTip": "Resolve a SharePoint site from its server-relative URL. site-id is the hostname (contoso.sharepoint.com) and path is the site path without a leading slash (sites/marketing, teams/hr). Returns the site object whose id feeds list-sharepoint-site-drives."
|
|
1952
1954
|
},
|
|
1953
1955
|
{
|
|
1954
1956
|
"pathPattern": "/sites/delta()",
|