@softeria/ms-365-mcp-server 0.44.0 → 0.44.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/generated/client.js +1 -1
- package/dist/graph-tools.js +2 -1
- package/logs/mcp-server.log +10 -10
- package/package.json +1 -1
package/dist/generated/client.js
CHANGED
|
@@ -2360,7 +2360,7 @@ const microsoft_graph_team = z.lazy(
|
|
|
2360
2360
|
).nullish(),
|
|
2361
2361
|
allChannels: z.array(microsoft_graph_channel).describe("List of channels either hosted in or shared with the team (incoming channels).").optional(),
|
|
2362
2362
|
channels: z.array(microsoft_graph_channel).describe("The collection of channels and messages associated with the team.").optional(),
|
|
2363
|
-
group: microsoft_graph_group.describe("[Note: Simplified from
|
|
2363
|
+
group: microsoft_graph_group.describe("[Note: Simplified from 74 properties to 25 most common ones]").optional(),
|
|
2364
2364
|
incomingChannels: z.array(microsoft_graph_channel).describe("List of channels shared with the team.").optional(),
|
|
2365
2365
|
installedApps: z.array(microsoft_graph_teamsAppInstallation).describe("The apps installed in this team.").optional(),
|
|
2366
2366
|
members: z.array(microsoft_graph_conversationMember).describe("Members and owners of the team.").optional(),
|
package/dist/graph-tools.js
CHANGED
|
@@ -5,6 +5,7 @@ import { readFileSync } from "fs";
|
|
|
5
5
|
import path from "path";
|
|
6
6
|
import { fileURLToPath } from "url";
|
|
7
7
|
import { TOOL_CATEGORIES } from "./tool-categories.js";
|
|
8
|
+
import { getRequestTokens } from "./request-context.js";
|
|
8
9
|
const __filename = fileURLToPath(import.meta.url);
|
|
9
10
|
const __dirname = path.dirname(__filename);
|
|
10
11
|
const endpointsData = JSON.parse(
|
|
@@ -14,7 +15,7 @@ async function executeGraphTool(tool, config, graphClient, params, authManager)
|
|
|
14
15
|
logger.info(`Tool ${tool.alias} called with params: ${JSON.stringify(params)}`);
|
|
15
16
|
try {
|
|
16
17
|
let accountAccessToken;
|
|
17
|
-
if (authManager && !authManager.isOAuthModeEnabled()) {
|
|
18
|
+
if (authManager && !authManager.isOAuthModeEnabled() && !getRequestTokens()) {
|
|
18
19
|
const accountParam = params.account;
|
|
19
20
|
try {
|
|
20
21
|
accountAccessToken = await authManager.getTokenForAccount(accountParam);
|
package/logs/mcp-server.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
2026-03-
|
|
2
|
-
2026-03-
|
|
3
|
-
2026-03-
|
|
4
|
-
2026-03-
|
|
5
|
-
2026-03-
|
|
6
|
-
2026-03-
|
|
7
|
-
2026-03-
|
|
8
|
-
2026-03-
|
|
9
|
-
2026-03-
|
|
10
|
-
2026-03-
|
|
1
|
+
2026-03-07 09:47:44 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me
|
|
2
|
+
2026-03-07 09:47:44 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me
|
|
3
|
+
2026-03-07 09:47:44 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me
|
|
4
|
+
2026-03-07 09:47:44 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me/messages
|
|
5
|
+
2026-03-07 09:47:44 INFO: [GRAPH CLIENT] Final URL being sent to Microsoft: https://graph.microsoft.com/v1.0/me/calendar
|
|
6
|
+
2026-03-07 09:47:45 INFO: Using environment variables for secrets
|
|
7
|
+
2026-03-07 09:47:45 INFO: Using environment variables for secrets
|
|
8
|
+
2026-03-07 09:47:45 INFO: Using environment variables for secrets
|
|
9
|
+
2026-03-07 09:47:45 INFO: Using environment variables for secrets
|
|
10
|
+
2026-03-07 09:47:45 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.44.
|
|
3
|
+
"version": "0.44.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",
|