@aashari/boilerplate-mcp-server 1.5.8 → 1.5.10
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/utils/constants.util.d.ts +1 -1
- package/dist/utils/constants.util.js +1 -1
- package/package.json +8 -8
- package/package.json.bak +8 -8
- package/Dockerfile +0 -25
- package/smithery.yaml +0 -34
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.5.10](https://github.com/aashari/boilerplate-mcp-server/compare/v1.5.9...v1.5.10) (2025-05-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove Dockerfile and smithery.yaml ([582e9f9](https://github.com/aashari/boilerplate-mcp-server/commit/582e9f9e66087fd2211d6fcf1aaa79c9ee54a123))
|
|
7
|
+
|
|
8
|
+
## [1.5.9](https://github.com/aashari/boilerplate-mcp-server/compare/v1.5.8...v1.5.9) (2025-05-13)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* update dependencies ([e211b19](https://github.com/aashari/boilerplate-mcp-server/commit/e211b19e18ae40123d0f609aaac854f4fb325800))
|
|
14
|
+
|
|
1
15
|
## [1.5.8](https://github.com/aashari/boilerplate-mcp-server/compare/v1.5.7...v1.5.8) (2025-05-07)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -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.
|
|
14
|
+
exports.VERSION = '1.5.10';
|
|
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.
|
|
3
|
+
"version": "1.5.10",
|
|
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",
|
|
@@ -55,16 +55,16 @@
|
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@eslint/js": "^9.26.0",
|
|
57
57
|
"@semantic-release/changelog": "^6.0.3",
|
|
58
|
-
"@semantic-release/exec": "^7.0
|
|
58
|
+
"@semantic-release/exec": "^7.1.0",
|
|
59
59
|
"@semantic-release/git": "^10.0.1",
|
|
60
60
|
"@semantic-release/github": "^11.0.2",
|
|
61
61
|
"@semantic-release/npm": "^12.0.1",
|
|
62
62
|
"@types/jest": "^29.5.14",
|
|
63
|
-
"@types/node": "^22.15.
|
|
64
|
-
"@typescript-eslint/eslint-plugin": "^8.32.
|
|
65
|
-
"@typescript-eslint/parser": "^8.32.
|
|
63
|
+
"@types/node": "^22.15.17",
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^8.32.1",
|
|
65
|
+
"@typescript-eslint/parser": "^8.32.1",
|
|
66
66
|
"eslint": "^9.26.0",
|
|
67
|
-
"eslint-config-prettier": "^10.1.
|
|
67
|
+
"eslint-config-prettier": "^10.1.5",
|
|
68
68
|
"eslint-plugin-prettier": "^5.4.0",
|
|
69
69
|
"jest": "^29.7.0",
|
|
70
70
|
"nodemon": "^3.1.10",
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
"ts-jest": "^29.3.2",
|
|
75
75
|
"ts-node": "^10.9.2",
|
|
76
76
|
"typescript": "^5.8.3",
|
|
77
|
-
"typescript-eslint": "^8.32.
|
|
77
|
+
"typescript-eslint": "^8.32.1"
|
|
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.11.
|
|
84
|
+
"@modelcontextprotocol/sdk": "^1.11.2",
|
|
85
85
|
"commander": "^13.1.0",
|
|
86
86
|
"dotenv": "^16.5.0",
|
|
87
87
|
"zod": "^3.24.4"
|
package/package.json.bak
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aashari/boilerplate-mcp-server",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.9",
|
|
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",
|
|
@@ -55,16 +55,16 @@
|
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@eslint/js": "^9.26.0",
|
|
57
57
|
"@semantic-release/changelog": "^6.0.3",
|
|
58
|
-
"@semantic-release/exec": "^7.0
|
|
58
|
+
"@semantic-release/exec": "^7.1.0",
|
|
59
59
|
"@semantic-release/git": "^10.0.1",
|
|
60
60
|
"@semantic-release/github": "^11.0.2",
|
|
61
61
|
"@semantic-release/npm": "^12.0.1",
|
|
62
62
|
"@types/jest": "^29.5.14",
|
|
63
|
-
"@types/node": "^22.15.
|
|
64
|
-
"@typescript-eslint/eslint-plugin": "^8.32.
|
|
65
|
-
"@typescript-eslint/parser": "^8.32.
|
|
63
|
+
"@types/node": "^22.15.17",
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^8.32.1",
|
|
65
|
+
"@typescript-eslint/parser": "^8.32.1",
|
|
66
66
|
"eslint": "^9.26.0",
|
|
67
|
-
"eslint-config-prettier": "^10.1.
|
|
67
|
+
"eslint-config-prettier": "^10.1.5",
|
|
68
68
|
"eslint-plugin-prettier": "^5.4.0",
|
|
69
69
|
"jest": "^29.7.0",
|
|
70
70
|
"nodemon": "^3.1.10",
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
"ts-jest": "^29.3.2",
|
|
75
75
|
"ts-node": "^10.9.2",
|
|
76
76
|
"typescript": "^5.8.3",
|
|
77
|
-
"typescript-eslint": "^8.32.
|
|
77
|
+
"typescript-eslint": "^8.32.1"
|
|
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.11.
|
|
84
|
+
"@modelcontextprotocol/sdk": "^1.11.2",
|
|
85
85
|
"commander": "^13.1.0",
|
|
86
86
|
"dotenv": "^16.5.0",
|
|
87
87
|
"zod": "^3.24.4"
|
package/Dockerfile
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
|
|
2
|
-
FROM node:lts-alpine
|
|
3
|
-
|
|
4
|
-
# Create app directory
|
|
5
|
-
WORKDIR /usr/src/app
|
|
6
|
-
|
|
7
|
-
# Copy package files
|
|
8
|
-
COPY package*.json ./
|
|
9
|
-
|
|
10
|
-
# Install dependencies without running prepare scripts
|
|
11
|
-
RUN npm install --ignore-scripts
|
|
12
|
-
|
|
13
|
-
# Copy source code
|
|
14
|
-
COPY . .
|
|
15
|
-
|
|
16
|
-
# Build the TypeScript code
|
|
17
|
-
RUN npm run build
|
|
18
|
-
|
|
19
|
-
# Ensure the entrypoint is executable (already set in prepare, but reensure here)
|
|
20
|
-
RUN chmod +x dist/index.js
|
|
21
|
-
|
|
22
|
-
EXPOSE 3000
|
|
23
|
-
|
|
24
|
-
# Start the MCP server
|
|
25
|
-
CMD [ "npm", "start" ]
|
package/smithery.yaml
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
|
|
2
|
-
|
|
3
|
-
startCommand:
|
|
4
|
-
type: stdio
|
|
5
|
-
configSchema:
|
|
6
|
-
# JSON Schema defining the configuration options for the MCP.
|
|
7
|
-
type: object
|
|
8
|
-
required: []
|
|
9
|
-
properties:
|
|
10
|
-
debug:
|
|
11
|
-
type: boolean
|
|
12
|
-
default: false
|
|
13
|
-
description: Enable debug logging
|
|
14
|
-
ipapiApiToken:
|
|
15
|
-
type: string
|
|
16
|
-
default: ""
|
|
17
|
-
description: API token for the IP API service
|
|
18
|
-
commandFunction:
|
|
19
|
-
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|
|
20
|
-
|-
|
|
21
|
-
(config) => {
|
|
22
|
-
// Setup environment variables based on provided config
|
|
23
|
-
const env = Object.assign({}, process.env);
|
|
24
|
-
if (config.debug) {
|
|
25
|
-
env.DEBUG = 'true';
|
|
26
|
-
}
|
|
27
|
-
if (config.ipapiApiToken) {
|
|
28
|
-
env.IPAPI_API_TOKEN = config.ipapiApiToken;
|
|
29
|
-
}
|
|
30
|
-
return { command: 'node', args: ['dist/index.js'], env };
|
|
31
|
-
}
|
|
32
|
-
exampleConfig:
|
|
33
|
-
debug: true
|
|
34
|
-
ipapiApiToken: YOUR_API_TOKEN
|