@shipstatic/mcp 0.4.1 → 0.4.3
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/server.js +5 -5
- package/package.json +6 -6
package/dist/server.js
CHANGED
|
@@ -22,7 +22,7 @@ To add a custom domain: domains_validate → domains_set → domains_records (sh
|
|
|
22
22
|
export function createServer(ship) {
|
|
23
23
|
const server = new McpServer({
|
|
24
24
|
name: 'shipstatic',
|
|
25
|
-
version: '0.
|
|
25
|
+
version: '0.4.3',
|
|
26
26
|
}, {
|
|
27
27
|
instructions: INSTRUCTIONS,
|
|
28
28
|
});
|
|
@@ -36,11 +36,11 @@ export function createServer(ship) {
|
|
|
36
36
|
},
|
|
37
37
|
}, ({ path, labels }) => call(() => ship.deployments.upload(path, { labels, via: 'mcp' })));
|
|
38
38
|
server.registerTool('deployments_list', {
|
|
39
|
-
description: 'List all deployments with their
|
|
39
|
+
description: 'List all deployments with their URLs, status, and labels.',
|
|
40
40
|
annotations: READ,
|
|
41
41
|
}, () => call(() => ship.deployments.list()));
|
|
42
42
|
server.registerTool('deployments_get', {
|
|
43
|
-
description: 'Get deployment details including status, file count, size, and labels.',
|
|
43
|
+
description: 'Get deployment details including URL, status, file count, size, and labels.',
|
|
44
44
|
annotations: READ,
|
|
45
45
|
inputSchema: {
|
|
46
46
|
deployment: z.string().describe('Deployment hostname (e.g. "happy-cat-abc1234.shipstatic.com"). Returned by deployments_upload or deployments_list.'),
|
|
@@ -72,11 +72,11 @@ export function createServer(ship) {
|
|
|
72
72
|
},
|
|
73
73
|
}, ({ domain, deployment, labels }) => call(() => ship.domains.set(domain, { deployment, labels })));
|
|
74
74
|
server.registerTool('domains_list', {
|
|
75
|
-
description: 'List all domains with their linked deployments and verification status.',
|
|
75
|
+
description: 'List all domains with their URLs, linked deployments, and verification status.',
|
|
76
76
|
annotations: READ,
|
|
77
77
|
}, () => call(() => ship.domains.list()));
|
|
78
78
|
server.registerTool('domains_get', {
|
|
79
|
-
description: 'Get domain details including linked deployment, verification status, and labels.',
|
|
79
|
+
description: 'Get domain details including URL, linked deployment, verification status, and labels.',
|
|
80
80
|
annotations: READ,
|
|
81
81
|
inputSchema: {
|
|
82
82
|
domain: z.string().describe('Domain name (e.g. "www.example.com"). Use domains_list to find names.'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipstatic/mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"mcpName": "com.shipstatic/mcp",
|
|
5
5
|
"description": "Free, no account needed — deploy static websites, landing pages, and prototypes instantly from AI agents",
|
|
6
6
|
"type": "module",
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
48
|
-
"@shipstatic/ship": "^0.8.
|
|
48
|
+
"@shipstatic/ship": "^0.8.7",
|
|
49
49
|
"zod": "^4.3.6"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@shipstatic/types": "^0.8.
|
|
53
|
-
"@types/node": "^
|
|
52
|
+
"@shipstatic/types": "^0.8.3",
|
|
53
|
+
"@types/node": "^25.5.2",
|
|
54
54
|
"husky": "^9.1.7",
|
|
55
|
-
"typescript": "^
|
|
56
|
-
"vitest": "^
|
|
55
|
+
"typescript": "^6.0.2",
|
|
56
|
+
"vitest": "^4.1.3"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "tsc",
|