@softeria/ms-365-mcp-server 0.134.3 → 0.134.4
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/lib/log-redactor.js +2 -1
- package/package.json +1 -1
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/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.4",
|
|
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",
|