@softeria/ms-365-mcp-server 0.45.0 → 0.45.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.
- package/dist/auth.js +2 -0
- package/logs/mcp-server.log +10 -10
- package/package.json +1 -1
package/dist/auth.js
CHANGED
|
@@ -250,6 +250,7 @@ class AuthManager {
|
|
|
250
250
|
const response = await this.msalApp.acquireTokenSilent(silentRequest);
|
|
251
251
|
this.accessToken = response.accessToken;
|
|
252
252
|
this.tokenExpiry = response.expiresOn ? new Date(response.expiresOn).getTime() : null;
|
|
253
|
+
await this.saveTokenCache();
|
|
253
254
|
return this.accessToken;
|
|
254
255
|
} catch {
|
|
255
256
|
logger.error("Silent token acquisition failed");
|
|
@@ -509,6 +510,7 @@ class AuthManager {
|
|
|
509
510
|
};
|
|
510
511
|
try {
|
|
511
512
|
const response = await this.msalApp.acquireTokenSilent(silentRequest);
|
|
513
|
+
await this.saveTokenCache();
|
|
512
514
|
return response.accessToken;
|
|
513
515
|
} catch {
|
|
514
516
|
throw new Error(
|
package/logs/mcp-server.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
2026-03-09 08:
|
|
2
|
-
2026-03-09 08:
|
|
3
|
-
2026-03-09 08:
|
|
4
|
-
2026-03-09 08:
|
|
5
|
-
2026-03-09 08:
|
|
6
|
-
2026-03-09 08:
|
|
7
|
-
2026-03-09 08:
|
|
8
|
-
2026-03-09 08:
|
|
9
|
-
2026-03-09 08:
|
|
10
|
-
2026-03-09 08:
|
|
1
|
+
2026-03-09 08:50:01 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me
|
|
2
|
+
2026-03-09 08:50:01 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me
|
|
3
|
+
2026-03-09 08:50:01 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me
|
|
4
|
+
2026-03-09 08:50:01 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me/messages
|
|
5
|
+
2026-03-09 08:50:01 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me/calendar
|
|
6
|
+
2026-03-09 08:50:03 INFO: Using environment variables for secrets
|
|
7
|
+
2026-03-09 08:50:03 INFO: Using environment variables for secrets
|
|
8
|
+
2026-03-09 08:50:03 INFO: Using environment variables for secrets
|
|
9
|
+
2026-03-09 08:50:03 INFO: Using environment variables for secrets
|
|
10
|
+
2026-03-09 08:50:03 INFO: Using environment variables for secrets
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softeria/ms-365-mcp-server",
|
|
3
|
-
"version": "0.45.
|
|
3
|
+
"version": "0.45.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",
|