@aashari/boilerplate-mcp-server 1.3.2 → 1.3.4
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 +14 -0
- package/dist/tools/ipaddress.tool.js +2 -2
- package/dist/utils/constants.util.d.ts +1 -1
- package/dist/utils/constants.util.js +1 -1
- package/package.json +13 -13
- package/package.json.bak +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.3.4](https://github.com/aashari/boilerplate-mcp-server/compare/v1.3.3...v1.3.4) (2025-04-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Performance Improvements
|
|
5
|
+
|
|
6
|
+
* Update dependencies ([6f6ed3e](https://github.com/aashari/boilerplate-mcp-server/commit/6f6ed3ea73059594bda242910ca7d3b361d7e690))
|
|
7
|
+
|
|
8
|
+
## [1.3.3](https://github.com/aashari/boilerplate-mcp-server/compare/v1.3.2...v1.3.3) (2025-04-20)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Update dependencies and fix related type errors ([dfdec0a](https://github.com/aashari/boilerplate-mcp-server/commit/dfdec0a1e314b96fa76000058bc7d48efd2c9dee))
|
|
14
|
+
|
|
1
15
|
## [1.3.2](https://github.com/aashari/boilerplate-mcp-server/compare/v1.3.1...v1.3.2) (2025-04-09)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -13,11 +13,11 @@ const ipaddress_controller_js_1 = __importDefault(require("../controllers/ipaddr
|
|
|
13
13
|
* It calls the ipAddressController to fetch the data and formats the response for the MCP.
|
|
14
14
|
*
|
|
15
15
|
* @param {IpAddressToolArgsType} args - Arguments provided to the tool, including the optional IP address and options.
|
|
16
|
-
* @param {RequestHandlerExtra} _extra - Additional request context (unused).
|
|
16
|
+
* @param {RequestHandlerExtra<any, any>} _extra - Additional request context (unused, typed as any).
|
|
17
17
|
* @returns {Promise<{ content: Array<{ type: 'text', text: string }> }>} Formatted response for the MCP.
|
|
18
18
|
* @throws {McpError} Formatted error if the controller or service layer encounters an issue.
|
|
19
19
|
*/
|
|
20
|
-
async function getIpAddressDetails(args
|
|
20
|
+
async function getIpAddressDetails(args) {
|
|
21
21
|
const methodLogger = logger_util_js_1.Logger.forContext('tools/ipaddress.tool.ts', 'getIpAddressDetails');
|
|
22
22
|
methodLogger.debug(`Getting IP address details for ${args.ipAddress || 'current IP'}...`);
|
|
23
23
|
try {
|
|
@@ -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.3.
|
|
14
|
+
exports.VERSION = '1.3.4';
|
|
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.3.
|
|
3
|
+
"version": "1.3.4",
|
|
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",
|
|
@@ -53,38 +53,38 @@
|
|
|
53
53
|
"author": "",
|
|
54
54
|
"license": "ISC",
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@eslint/js": "^9.
|
|
56
|
+
"@eslint/js": "^9.25.1",
|
|
57
57
|
"@semantic-release/changelog": "^6.0.3",
|
|
58
58
|
"@semantic-release/exec": "^7.0.3",
|
|
59
59
|
"@semantic-release/git": "^10.0.1",
|
|
60
60
|
"@semantic-release/github": "^11.0.1",
|
|
61
61
|
"@semantic-release/npm": "^12.0.1",
|
|
62
62
|
"@types/jest": "^29.5.14",
|
|
63
|
-
"@types/node": "^22.14.
|
|
64
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
65
|
-
"@typescript-eslint/parser": "^8.
|
|
66
|
-
"eslint": "^9.
|
|
67
|
-
"eslint-config-prettier": "^10.1.
|
|
63
|
+
"@types/node": "^22.14.1",
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^8.31.0",
|
|
65
|
+
"@typescript-eslint/parser": "^8.31.0",
|
|
66
|
+
"eslint": "^9.25.1",
|
|
67
|
+
"eslint-config-prettier": "^10.1.2",
|
|
68
68
|
"eslint-plugin-prettier": "^5.2.6",
|
|
69
69
|
"jest": "^29.7.0",
|
|
70
70
|
"nodemon": "^3.1.9",
|
|
71
|
-
"npm-check-updates": "^
|
|
71
|
+
"npm-check-updates": "^18.0.0",
|
|
72
72
|
"prettier": "^3.5.3",
|
|
73
73
|
"semantic-release": "^24.2.3",
|
|
74
|
-
"ts-jest": "^29.3.
|
|
74
|
+
"ts-jest": "^29.3.2",
|
|
75
75
|
"ts-node": "^10.9.2",
|
|
76
76
|
"typescript": "^5.8.3",
|
|
77
|
-
"typescript-eslint": "^8.
|
|
77
|
+
"typescript-eslint": "^8.31.0"
|
|
78
78
|
},
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"registry": "https://registry.npmjs.org/",
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
84
|
+
"@modelcontextprotocol/sdk": "^1.10.1",
|
|
85
85
|
"commander": "^13.1.0",
|
|
86
|
-
"dotenv": "^16.
|
|
87
|
-
"zod": "^3.24.
|
|
86
|
+
"dotenv": "^16.5.0",
|
|
87
|
+
"zod": "^3.24.3"
|
|
88
88
|
},
|
|
89
89
|
"directories": {
|
|
90
90
|
"example": "examples"
|
package/package.json.bak
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aashari/boilerplate-mcp-server",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.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",
|
|
@@ -53,38 +53,38 @@
|
|
|
53
53
|
"author": "",
|
|
54
54
|
"license": "ISC",
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@eslint/js": "^9.
|
|
56
|
+
"@eslint/js": "^9.25.1",
|
|
57
57
|
"@semantic-release/changelog": "^6.0.3",
|
|
58
58
|
"@semantic-release/exec": "^7.0.3",
|
|
59
59
|
"@semantic-release/git": "^10.0.1",
|
|
60
60
|
"@semantic-release/github": "^11.0.1",
|
|
61
61
|
"@semantic-release/npm": "^12.0.1",
|
|
62
62
|
"@types/jest": "^29.5.14",
|
|
63
|
-
"@types/node": "^22.14.
|
|
64
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
65
|
-
"@typescript-eslint/parser": "^8.
|
|
66
|
-
"eslint": "^9.
|
|
67
|
-
"eslint-config-prettier": "^10.1.
|
|
63
|
+
"@types/node": "^22.14.1",
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^8.31.0",
|
|
65
|
+
"@typescript-eslint/parser": "^8.31.0",
|
|
66
|
+
"eslint": "^9.25.1",
|
|
67
|
+
"eslint-config-prettier": "^10.1.2",
|
|
68
68
|
"eslint-plugin-prettier": "^5.2.6",
|
|
69
69
|
"jest": "^29.7.0",
|
|
70
70
|
"nodemon": "^3.1.9",
|
|
71
|
-
"npm-check-updates": "^
|
|
71
|
+
"npm-check-updates": "^18.0.0",
|
|
72
72
|
"prettier": "^3.5.3",
|
|
73
73
|
"semantic-release": "^24.2.3",
|
|
74
|
-
"ts-jest": "^29.3.
|
|
74
|
+
"ts-jest": "^29.3.2",
|
|
75
75
|
"ts-node": "^10.9.2",
|
|
76
76
|
"typescript": "^5.8.3",
|
|
77
|
-
"typescript-eslint": "^8.
|
|
77
|
+
"typescript-eslint": "^8.31.0"
|
|
78
78
|
},
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"registry": "https://registry.npmjs.org/",
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
84
|
+
"@modelcontextprotocol/sdk": "^1.10.1",
|
|
85
85
|
"commander": "^13.1.0",
|
|
86
|
-
"dotenv": "^16.
|
|
87
|
-
"zod": "^3.24.
|
|
86
|
+
"dotenv": "^16.5.0",
|
|
87
|
+
"zod": "^3.24.3"
|
|
88
88
|
},
|
|
89
89
|
"directories": {
|
|
90
90
|
"example": "examples"
|