seizn-mcp 1.0.0 → 1.0.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/README.md +33 -0
- package/dist/index.js +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -137,3 +137,36 @@ This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENS
|
|
|
137
137
|
---
|
|
138
138
|
|
|
139
139
|
Made with love by [Seizn](https://seizn.com)
|
|
140
|
+
|
|
141
|
+
## Troubleshooting
|
|
142
|
+
|
|
143
|
+
### Windows Encoding Issues (Korean/Japanese/Chinese garbled)
|
|
144
|
+
|
|
145
|
+
If non-ASCII characters appear as `???` or `�`, use the cmd wrapper:
|
|
146
|
+
|
|
147
|
+
```json
|
|
148
|
+
{
|
|
149
|
+
"mcpServers": {
|
|
150
|
+
"seizn": {
|
|
151
|
+
"command": "cmd",
|
|
152
|
+
"args": ["/c", "chcp 65001 >nul && npx -y seizn-mcp@latest"],
|
|
153
|
+
"env": {
|
|
154
|
+
"SEIZN_API_URL": "https://www.seizn.com",
|
|
155
|
+
"SEIZN_API_KEY": "your-api-key"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
This sets the Windows console code page to UTF-8 (65001) before starting the server.
|
|
163
|
+
|
|
164
|
+
### Cache Issues
|
|
165
|
+
|
|
166
|
+
If you're not getting the latest version:
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
npm cache clean --force
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
Then restart your IDE/application.
|
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