@aashari/boilerplate-mcp-server 1.5.1 → 1.5.3

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/CHANGELOG.md CHANGED
@@ -1,9 +1,77 @@
1
+ ## [1.5.3](https://github.com/aashari/boilerplate-mcp-server/compare/v1.5.2...v1.5.3) (2025-05-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * standardize index.ts entrypoint logic and package bin ([7f9aaf0](https://github.com/aashari/boilerplate-mcp-server/commit/7f9aaf051cf3d4d92971892e21e32e23820be90b))
7
+
8
+
9
+ ### Reverts
10
+
11
+ * Revert "fix(test): Skip invalid IP test assertion on CI due to rate limits" ([be8c766](https://github.com/aashari/boilerplate-mcp-server/commit/be8c766d738c82d8e228b14da70f2ae844ad49e6))
12
+
13
+ ## [1.5.2](https://github.com/aashari/boilerplate-mcp-server/compare/v1.5.1...v1.5.2) (2025-05-05)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * Manually set version to 1.6.1 to resolve release conflict ([a96c37b](https://github.com/aashari/boilerplate-mcp-server/commit/a96c37b4ee599b1847237cba5bb8947265c563fa))
19
+ * **test:** Skip invalid IP test assertion on CI due to rate limits ([258d2e7](https://github.com/aashari/boilerplate-mcp-server/commit/258d2e79d4f426f4264abfae3c3a65c61dbc1a06))
20
+
21
+
22
+ ### Reverts
23
+
24
+ * Revert "Revert "chore: Manually set version to 1.6.0 to resolve release conflict"" ([e4d071e](https://github.com/aashari/boilerplate-mcp-server/commit/e4d071ea51f1db934298085cdfb53125c5c28915))
25
+
26
+ ## [1.5.1](https://github.com/aashari/boilerplate-mcp-server/compare/v1.5.0...v1.5.1) (2025-05-05)
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * Add comment to force version bump ([0a24ecd](https://github.com/aashari/boilerplate-mcp-server/commit/0a24ecdbbbda914a24188b6665d6c15d4c026245))
32
+ * Improve cross-platform compatibility for npx execution ([d840c51](https://github.com/aashari/boilerplate-mcp-server/commit/d840c51cc94ad3d54e5c38670b774cdb7d52b8a7))
33
+ * Log package name and version on startup ([b4534db](https://github.com/aashari/boilerplate-mcp-server/commit/b4534db227ba0e3dd7cc6b82207457b98c7030d0))
34
+
35
+
36
+ ### Performance Improvements
37
+
38
+ * Update dependencies ([cbc63fe](https://github.com/aashari/boilerplate-mcp-server/commit/cbc63fe692f563a3e1b68bb136b8f567408fbf9c))
39
+
40
+ ## [1.5.1](https://github.com/aashari/boilerplate-mcp-server/compare/v1.5.0...v1.5.1) (2025-05-05)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * Add comment to force version bump ([0a24ecd](https://github.com/aashari/boilerplate-mcp-server/commit/0a24ecdbbbda914a24188b6665d6c15d4c026245))
46
+ * Improve cross-platform compatibility for npx execution ([d840c51](https://github.com/aashari/boilerplate-mcp-server/commit/d840c51cc94ad3d54e5c38670b774cdb7d52b8a7))
47
+ * Log package name and version on startup ([b4534db](https://github.com/aashari/boilerplate-mcp-server/commit/b4534db227ba0e3dd7cc6b82207457b98c7030d0))
48
+
49
+
50
+ ### Performance Improvements
51
+
52
+ * Update dependencies ([cbc63fe](https://github.com/aashari/boilerplate-mcp-server/commit/cbc63fe692f563a3e1b68bb136b8f567408fbf9c))
53
+
54
+ ## [1.5.1](https://github.com/aashari/boilerplate-mcp-server/compare/v1.5.0...v1.5.1) (2025-05-05)
55
+
56
+
57
+ ### Bug Fixes
58
+
59
+ * Add comment to force version bump ([0a24ecd](https://github.com/aashari/boilerplate-mcp-server/commit/0a24ecdbbbda914a24188b6665d6c15d4c026245))
60
+ * Improve cross-platform compatibility for npx execution ([d840c51](https://github.com/aashari/boilerplate-mcp-server/commit/d840c51cc94ad3d54e5c38670b774cdb7d52b8a7))
61
+ * Log package name and version on startup ([b4534db](https://github.com/aashari/boilerplate-mcp-server/commit/b4534db227ba0e3dd7cc6b82207457b98c7030d0))
62
+
63
+
64
+ ### Performance Improvements
65
+
66
+ * Update dependencies ([cbc63fe](https://github.com/aashari/boilerplate-mcp-server/commit/cbc63fe692f563a3e1b68bb136b8f567408fbf9c))
67
+
1
68
  ## [1.5.1](https://github.com/aashari/boilerplate-mcp-server/compare/v1.5.0...v1.5.1) (2025-05-05)
2
69
 
3
70
 
4
71
  ### Bug Fixes
5
72
 
6
73
  * Improve cross-platform compatibility for npx execution ([d840c51](https://github.com/aashari/boilerplate-mcp-server/commit/d840c51cc94ad3d54e5c38670b774cdb7d52b8a7))
74
+ * Log package name and version on startup ([b4534db](https://github.com/aashari/boilerplate-mcp-server/commit/b4534db227ba0e3dd7cc6b82207457b98c7030d0))
7
75
 
8
76
 
9
77
  ### Performance Improvements
package/dist/index.js CHANGED
@@ -26,6 +26,7 @@ const ipaddress_resource_js_1 = __importDefault(require("./resources/ipaddress.r
26
26
  const indexLogger = logger_util_js_1.Logger.forContext('index.ts');
27
27
  // Log initialization at debug level
28
28
  indexLogger.debug('Boilerplate MCP server module loaded');
29
+ indexLogger.info(`Initializing ${constants_util_js_1.PACKAGE_NAME} v${constants_util_js_1.VERSION}`);
29
30
  let serverInstance = null;
30
31
  let transportInstance = null;
31
32
  /**
@@ -118,10 +119,12 @@ async function main() {
118
119
  // --- End: Add Graceful Shutdown ---
119
120
  }
120
121
  // If this file is being executed directly (not imported), run the main function
121
- if (require.main === module) {
122
+ // Use a check suitable for both CommonJS and ESM contexts
123
+ const isMainModule = process.argv[1] && process.argv[1].endsWith('index.js');
124
+ if (isMainModule) {
122
125
  main().catch((err) => {
123
126
  const indexLogger = logger_util_js_1.Logger.forContext('index.ts'); // Re-create logger for catch
124
127
  indexLogger.error('Unhandled error in main process', err);
125
128
  process.exit(1);
126
129
  });
127
- }
130
+ } // End of main module execution check
@@ -8,7 +8,7 @@
8
8
  * Current application version
9
9
  * This should match the version in package.json
10
10
  */
11
- export declare const VERSION = "1.5.1";
11
+ export declare const VERSION = "1.5.3";
12
12
  /**
13
13
  * Package name with scope
14
14
  * Used for initialization and identification
@@ -11,7 +11,7 @@ exports.CLI_NAME = exports.PACKAGE_NAME = exports.VERSION = void 0;
11
11
  * Current application version
12
12
  * This should match the version in package.json
13
13
  */
14
- exports.VERSION = '1.5.1';
14
+ exports.VERSION = '1.5.3';
15
15
  /**
16
16
  * Package name with scope
17
17
  * Used for initialization and identification
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aashari/boilerplate-mcp-server",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "TypeScript Model Context Protocol (MCP) server boilerplate providing IP lookup tools/resources. Includes CLI support and extensible structure for connecting AI systems (LLMs) to external data sources like ip-api.com. Ideal template for creating new MCP integrations via Node.js.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "url": "https://github.com/aashari/boilerplate-mcp-server.git"
12
12
  },
13
13
  "bin": {
14
- "mcp-server": "./dist/index.js"
14
+ "mcp-boilerplate": "./dist/index.js"
15
15
  },
16
16
  "scripts": {
17
17
  "build": "rimraf dist && tsc",
package/package.json.bak CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aashari/boilerplate-mcp-server",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "TypeScript Model Context Protocol (MCP) server boilerplate providing IP lookup tools/resources. Includes CLI support and extensible structure for connecting AI systems (LLMs) to external data sources like ip-api.com. Ideal template for creating new MCP integrations via Node.js.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "url": "https://github.com/aashari/boilerplate-mcp-server.git"
12
12
  },
13
13
  "bin": {
14
- "mcp-server": "./dist/index.js"
14
+ "mcp-boilerplate": "./dist/index.js"
15
15
  },
16
16
  "scripts": {
17
17
  "build": "rimraf dist && tsc",