@shipstatic/mcp 0.1.3 → 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.
Files changed (3) hide show
  1. package/README.md +4 -0
  2. package/dist/index.js +10 -12
  3. 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
@@ -11,20 +11,18 @@ 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.2');
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('Error: SHIP_API_KEY environment variable is required.\n');
24
- console.error('Add it to your MCP client config:\n');
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
  }
28
- const server = createServer(new Ship({ apiKey }));
29
- const transport = new StdioServerTransport();
30
- await server.connect(transport);
23
+ async function main() {
24
+ const server = createServer(new Ship({ apiKey }));
25
+ const transport = new StdioServerTransport();
26
+ await server.connect(transport);
27
+ }
28
+ main().catch(console.error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/mcp",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "mcpName": "com.shipstatic/mcp",
5
5
  "description": "MCP server for Shipstatic — deploy and manage static sites from AI agents",
6
6
  "type": "module",