@softeria/ms-365-mcp-server 0.31.0 → 0.31.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/Dockerfile +3 -3
- package/README.md +1 -1
- package/dist/auth.js +1 -2
- package/logs/mcp-server.log +5 -5
- package/package.json +1 -1
package/Dockerfile
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
FROM node:
|
|
1
|
+
FROM node:24-alpine AS builder
|
|
2
2
|
|
|
3
3
|
WORKDIR /app
|
|
4
4
|
|
|
5
5
|
COPY package*.json ./
|
|
6
|
-
RUN npm
|
|
6
|
+
RUN npm i
|
|
7
7
|
|
|
8
8
|
COPY . .
|
|
9
9
|
RUN npm run generate
|
|
@@ -17,6 +17,6 @@ COPY --from=builder /app/dist /app/dist
|
|
|
17
17
|
COPY --from=builder /app/package*.json ./
|
|
18
18
|
|
|
19
19
|
ENV NODE_ENV=production
|
|
20
|
-
RUN npm
|
|
20
|
+
RUN npm i --ignore-scripts --omit=dev
|
|
21
21
|
|
|
22
22
|
ENTRYPOINT ["node", "dist/index.js"]
|
package/README.md
CHANGED
package/dist/auth.js
CHANGED
|
@@ -80,9 +80,8 @@ function buildScopesFromEndpoints(includeWorkAccountScopes = false, enabledTools
|
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
Object.entries(SCOPE_HIERARCHY).forEach(([higherScope, lowerScopes]) => {
|
|
83
|
-
if (lowerScopes.every((scope) => scopesSet.has(scope))) {
|
|
83
|
+
if (scopesSet.has(higherScope) && lowerScopes.every((scope) => scopesSet.has(scope))) {
|
|
84
84
|
lowerScopes.forEach((scope) => scopesSet.delete(scope));
|
|
85
|
-
scopesSet.add(higherScope);
|
|
86
85
|
}
|
|
87
86
|
});
|
|
88
87
|
const scopes = Array.from(scopesSet);
|
package/logs/mcp-server.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
2026-01-27
|
|
2
|
-
2026-01-27
|
|
3
|
-
2026-01-27
|
|
4
|
-
2026-01-27
|
|
5
|
-
2026-01-27
|
|
1
|
+
2026-01-27 20:03:08 INFO: Using environment variables for secrets
|
|
2
|
+
2026-01-27 20:03:08 INFO: Using environment variables for secrets
|
|
3
|
+
2026-01-27 20:03:08 INFO: Using environment variables for secrets
|
|
4
|
+
2026-01-27 20:03:08 INFO: Using environment variables for secrets
|
|
5
|
+
2026-01-27 20:03:08 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.31.
|
|
3
|
+
"version": "0.31.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",
|