@shipstatic/mcp 0.1.4 → 0.1.5
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 +4 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11,17 +11,12 @@ const CONFIG_EXAMPLE = JSON.stringify({
|
|
|
11
11
|
},
|
|
12
12
|
},
|
|
13
13
|
}, null, 2);
|
|
14
|
-
if (process.stdin.isTTY) {
|
|
15
|
-
console.error('Shipstatic MCP server v0.1.4');
|
|
16
|
-
console.error('This is a stdio server for MCP clients.\n');
|
|
17
|
-
console.error('Add to your MCP client config:\n');
|
|
18
|
-
console.error(CONFIG_EXAMPLE);
|
|
19
|
-
process.exit(0);
|
|
20
|
-
}
|
|
21
14
|
const apiKey = process.env.SHIP_API_KEY;
|
|
22
15
|
if (!apiKey) {
|
|
23
|
-
console.error('
|
|
24
|
-
console.error('
|
|
16
|
+
console.error('Shipstatic MCP server v0.1.5');
|
|
17
|
+
console.error('This is a stdio server for MCP clients.\n');
|
|
18
|
+
console.error('SHIP_API_KEY environment variable is required.\n');
|
|
19
|
+
console.error('Add to your MCP client config:\n');
|
|
25
20
|
console.error(CONFIG_EXAMPLE);
|
|
26
21
|
process.exit(1);
|
|
27
22
|
}
|