seizn-mcp 1.0.0 → 1.0.1
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/dist/index.js +10 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
// Force UTF-8 encoding for Windows compatibility
|
|
5
|
+
if (process.platform === 'win32') {
|
|
6
|
+
const { execSync } = require('child_process');
|
|
7
|
+
try {
|
|
8
|
+
execSync('chcp 65001', { stdio: 'ignore' });
|
|
9
|
+
}
|
|
10
|
+
catch { }
|
|
11
|
+
}
|
|
12
|
+
// Ensure stdin uses UTF-8
|
|
13
|
+
process.stdin.setEncoding('utf8');
|
|
4
14
|
const index_js_1 = require("@modelcontextprotocol/sdk/server/index.js");
|
|
5
15
|
const stdio_js_1 = require("@modelcontextprotocol/sdk/server/stdio.js");
|
|
6
16
|
const types_js_1 = require("@modelcontextprotocol/sdk/types.js");
|
package/package.json
CHANGED