outlook-reader-mcp 1.0.1 → 1.0.2

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.
@@ -6,13 +6,16 @@ const stdio_js_1 = require("@modelcontextprotocol/sdk/server/stdio.js");
6
6
  require("dotenv/config");
7
7
  const auth_js_1 = require("./auth.js");
8
8
  const index_js_1 = require("./tools/index.js");
9
+ // Pull version from package.json so it stays in sync with published releases.
10
+ // Resolves to the project root from both dist/ (build) and src/ (tsx dev).
11
+ const { version } = require('../package.json');
9
12
  async function main() {
10
13
  // Fail fast with a readable message instead of a confusing MSAL error on
11
14
  // the first tool call.
12
15
  (0, auth_js_1.getConfig)();
13
16
  const server = new mcp_js_1.McpServer({
14
17
  name: 'outlook-reader',
15
- version: '1.0.0',
18
+ version,
16
19
  });
17
20
  (0, index_js_1.registerAllTools)(server);
18
21
  const transport = new stdio_js_1.StdioServerTransport();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "outlook-reader-mcp",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "MCP server for reading Outlook mail via Microsoft Graph: list, search, and fetch emails (batched), and download attachments.",
5
5
  "main": "dist/mcp-server.js",
6
6
  "types": "dist/mcp-server.d.ts",