siigo-mcp-server 2.1.0 → 3.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/CHANGELOG.md +93 -1
- package/README.md +263 -170
- package/bin/siigo-mcp +5 -15
- package/dist/index.js +1410 -1162
- package/dist/index.js.map +1 -1
- package/dist/siigo-client.d.ts +70 -61
- package/dist/siigo-client.d.ts.map +1 -1
- package/dist/siigo-client.js +155 -70
- package/dist/siigo-client.js.map +1 -1
- package/dist/types.d.ts +540 -102
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +2 -2
- package/dist/types.js.map +1 -1
- package/package.json +20 -19
package/bin/siigo-mcp
CHANGED
|
@@ -1,20 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const serverPath =
|
|
7
|
-
|
|
8
|
-
const child = spawn('node', [serverPath], {
|
|
9
|
-
stdio: 'inherit',
|
|
10
|
-
env: process.env
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
child.on('error', (error) => {
|
|
3
|
+
// This is a simple shim to launch the compiled MCP server.
|
|
4
|
+
// It must use dynamic import since the package is ESM.
|
|
5
|
+
const { join } = require('path');
|
|
6
|
+
const serverPath = join(__dirname, '..', 'dist', 'index.js');
|
|
7
|
+
import(serverPath).catch((error) => {
|
|
14
8
|
console.error('Failed to start Siigo MCP server:', error);
|
|
15
9
|
process.exit(1);
|
|
16
10
|
});
|
|
17
|
-
|
|
18
|
-
child.on('exit', (code) => {
|
|
19
|
-
process.exit(code);
|
|
20
|
-
});
|