@aashari/boilerplate-mcp-server 1.11.1 → 1.11.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.
- package/CHANGELOG.md +7 -0
- package/dist/index.js +4 -4
- package/dist/utils/constants.util.d.ts +1 -1
- package/dist/utils/constants.util.js +1 -1
- package/package.json +1 -1
- package/package.json.bak +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.11.2](https://github.com/aashari/boilerplate-mcp-server/compare/v1.11.1...v1.11.2) (2025-06-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* change default transport from HTTP to STDIO for proper MCP client integration ([05027b8](https://github.com/aashari/boilerplate-mcp-server/commit/05027b8320ea52926527b030a085fc2f754149eb))
|
|
7
|
+
|
|
1
8
|
## [1.11.1](https://github.com/aashari/boilerplate-mcp-server/compare/v1.11.0...v1.11.1) (2025-06-22)
|
|
2
9
|
|
|
3
10
|
|
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ let transportInstance = null;
|
|
|
23
23
|
/**
|
|
24
24
|
* Start the MCP server with the specified transport mode
|
|
25
25
|
*/
|
|
26
|
-
async function startServer(mode = '
|
|
26
|
+
async function startServer(mode = 'stdio') {
|
|
27
27
|
const serverLogger = logger_util_js_1.Logger.forContext('index.ts', 'startServer');
|
|
28
28
|
// Load configuration
|
|
29
29
|
serverLogger.info('Starting MCP server initialization...');
|
|
@@ -114,7 +114,7 @@ async function main() {
|
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
116
116
|
// Server mode - determine transport
|
|
117
|
-
const transportMode = (process.env.TRANSPORT_MODE || '
|
|
117
|
+
const transportMode = (process.env.TRANSPORT_MODE || 'stdio').toLowerCase();
|
|
118
118
|
let mode;
|
|
119
119
|
if (transportMode === 'stdio') {
|
|
120
120
|
mode = 'stdio';
|
|
@@ -123,8 +123,8 @@ async function main() {
|
|
|
123
123
|
mode = 'http';
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
126
|
-
mainLogger.warn(`Unknown TRANSPORT_MODE "${transportMode}", defaulting to
|
|
127
|
-
mode = '
|
|
126
|
+
mainLogger.warn(`Unknown TRANSPORT_MODE "${transportMode}", defaulting to stdio`);
|
|
127
|
+
mode = 'stdio';
|
|
128
128
|
}
|
|
129
129
|
mainLogger.info(`Starting server with ${mode.toUpperCase()} transport`);
|
|
130
130
|
await startServer(mode);
|
|
@@ -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.11.
|
|
14
|
+
exports.VERSION = '1.11.2';
|
|
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.11.
|
|
3
|
+
"version": "1.11.2",
|
|
4
4
|
"description": "TypeScript MCP server boilerplate with STDIO and HTTP transport support, CLI tools, and extensible architecture",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
package/package.json.bak
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aashari/boilerplate-mcp-server",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"description": "TypeScript MCP server boilerplate with STDIO and HTTP transport support, CLI tools, and extensible architecture",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|