@shipstatic/mcp 0.1.3 → 0.1.4
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 +4 -0
- package/dist/index.js +7 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,6 +48,10 @@ Get your API key at [my.shipstatic.com](https://my.shipstatic.com).
|
|
|
48
48
|
| `domains_verify` | Trigger DNS verification for external domain |
|
|
49
49
|
| `domains_remove` | Delete domain permanently |
|
|
50
50
|
|
|
51
|
+
## Registry
|
|
52
|
+
|
|
53
|
+
Published to the [MCP Registry](https://modelcontextprotocol.io) as [`com.shipstatic/mcp`](https://registry.modelcontextprotocol.io/v0.1/servers?search=com.shipstatic/mcp).
|
|
54
|
+
|
|
51
55
|
## License
|
|
52
56
|
|
|
53
57
|
MIT
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ const CONFIG_EXAMPLE = JSON.stringify({
|
|
|
12
12
|
},
|
|
13
13
|
}, null, 2);
|
|
14
14
|
if (process.stdin.isTTY) {
|
|
15
|
-
console.error('Shipstatic MCP server v0.1.
|
|
15
|
+
console.error('Shipstatic MCP server v0.1.4');
|
|
16
16
|
console.error('This is a stdio server for MCP clients.\n');
|
|
17
17
|
console.error('Add to your MCP client config:\n');
|
|
18
18
|
console.error(CONFIG_EXAMPLE);
|
|
@@ -25,6 +25,9 @@ if (!apiKey) {
|
|
|
25
25
|
console.error(CONFIG_EXAMPLE);
|
|
26
26
|
process.exit(1);
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
const
|
|
30
|
-
|
|
28
|
+
async function main() {
|
|
29
|
+
const server = createServer(new Ship({ apiKey }));
|
|
30
|
+
const transport = new StdioServerTransport();
|
|
31
|
+
await server.connect(transport);
|
|
32
|
+
}
|
|
33
|
+
main().catch(console.error);
|