@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 CHANGED
@@ -1,9 +1,9 @@
1
- FROM node:20-alpine AS builder
1
+ FROM node:24-alpine AS builder
2
2
 
3
3
  WORKDIR /app
4
4
 
5
5
  COPY package*.json ./
6
- RUN npm ci --ignore-scripts
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 ci --ignore-scripts --omit=dev
20
+ RUN npm i --ignore-scripts --omit=dev
21
21
 
22
22
  ENTRYPOINT ["node", "dist/index.js"]
package/README.md CHANGED
@@ -587,4 +587,4 @@ If you're having problems or need help:
587
587
 
588
588
  ## License
589
589
 
590
- MIT © 2025 Softeria
590
+ MIT © 2026 Softeria
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);
@@ -1,5 +1,5 @@
1
- 2026-01-27 11:31:49 INFO: Using environment variables for secrets
2
- 2026-01-27 11:31:49 INFO: Using environment variables for secrets
3
- 2026-01-27 11:31:49 INFO: Using environment variables for secrets
4
- 2026-01-27 11:31:49 INFO: Using environment variables for secrets
5
- 2026-01-27 11:31:49 INFO: Using environment variables for secrets
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.0",
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",