@shipstatic/mcp 2.8.3 → 2.9.0-beta.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/README.md CHANGED
@@ -28,7 +28,7 @@ Add the [ShipStatic plugin](https://chatgpt.com/plugins/plugin_asdk_app_6a06f62b
28
28
  claude mcp add --transport http shipstatic https://mcp.shipstatic.com
29
29
  ```
30
30
 
31
- ### Cursor, Antigravity, Windsurf, n8n, Zed, and anywhere with `mcp.json`
31
+ ### Cursor, Antigravity, Devin Desktop, n8n, Zed, and anywhere with `mcp.json`
32
32
 
33
33
  ```json
34
34
  {
@@ -150,6 +150,8 @@ The [MCP Registry](https://registry.modelcontextprotocol.io/v0.1/servers?search=
150
150
  | **[CLI and SDK](https://github.com/shipstatic/ship)** | `npx @shipstatic/ship ./dist` |
151
151
  | **[VS Code](https://marketplace.visualstudio.com/items?itemName=shipstatic.shipstatic)** | Search "ShipStatic" in the Marketplace |
152
152
  | **[Plugin](https://github.com/shipstatic/plugin)** | Install it in Cursor, Claude Code, Codex or Gemini CLI |
153
+ | **[OpenCode](https://github.com/shipstatic/opencode)** | `opencode plugin add opencode-shipstatic` |
154
+ | **[Antigravity](https://github.com/shipstatic/antigravity)** | `agy plugin install https://github.com/shipstatic/antigravity` |
153
155
  | **[n8n](https://www.npmjs.com/package/n8n-nodes-shipstatic)** | Search "ShipStatic" in n8n's node panel |
154
156
  | **[GitHub Action](https://github.com/shipstatic/action)** | `shipstatic/action@v3` |
155
157
  | **[Agent Skill](https://www.shipstatic.com/SKILL.md)** | `npx skills add shipstatic/plugin` |
package/dist/server.js CHANGED
@@ -13,7 +13,7 @@ const D = DESCRIPTION_BLOCKS;
13
13
  // around its own two.
14
14
  const INSTRUCTIONS = `${B.opening} ${B.accountLater}
15
15
 
16
- To deploy: call ${UPLOAD_TOOL_NAME} with the build output directory path. ${B.home} ${B.live} ${B.password}
16
+ To deploy: call ${UPLOAD_TOOL_NAME} with the build output directory path. ${B.home} ${B.live} ${B.routes} ${B.password}
17
17
 
18
18
  Without SHIP_TOKEN, deployments are public and expire in ${PUBLIC_EXPIRY}. ${B.claim}
19
19
 
@@ -225,6 +225,15 @@ export declare const INSTRUCTION_BLOCKS: {
225
225
  * above all the one-file publish, which is where the rule is easiest to miss.
226
226
  */
227
227
  readonly home: "The files need an `index.html` at the top: it's the page visitors see first, and a site without one is refused. To publish one page, name it `index.html`. To publish another kind of file, like a PDF, add a small `index.html` that links to it.";
228
+ /**
229
+ * The platform sets up a single-page app's routing by itself, and misses
230
+ * some apps: a shell with words in it, or one beside a second HTML file.
231
+ * The agent that built the app is the one caller that knows it routes, so
232
+ * it is told the sign of a miss and the one file that fixes it. Written as
233
+ * a remedy, never as a default: a catch-all on a site of plain pages answers
234
+ * every mistyped URL with the home page.
235
+ */
236
+ readonly routes: "Single-page apps are detected, and their routes are set up for you. If the app has its own routes (like `/dashboard`) and reloading one shows a 404, add a `ship.json` at the top with `{\"rewrites\":[{\"source\":\"/(.*)\",\"destination\":\"/index.html\"}]}` and deploy again.";
228
237
  /**
229
238
  * A block of its own rather than a clause of `live`: two sentences, two
230
239
  * facts, and a door may compose them independently.
@@ -212,6 +212,15 @@ export const INSTRUCTION_BLOCKS = {
212
212
  * above all the one-file publish, which is where the rule is easiest to miss.
213
213
  */
214
214
  home: "The files need an `index.html` at the top: it's the page visitors see first, and a site without one is refused. To publish one page, name it `index.html`. To publish another kind of file, like a PDF, add a small `index.html` that links to it.",
215
+ /**
216
+ * The platform sets up a single-page app's routing by itself, and misses
217
+ * some apps: a shell with words in it, or one beside a second HTML file.
218
+ * The agent that built the app is the one caller that knows it routes, so
219
+ * it is told the sign of a miss and the one file that fixes it. Written as
220
+ * a remedy, never as a default: a catch-all on a site of plain pages answers
221
+ * every mistyped URL with the home page.
222
+ */
223
+ routes: 'Single-page apps are detected, and their routes are set up for you. If the app has its own routes (like `/dashboard`) and reloading one shows a 404, add a `ship.json` at the top with `{"rewrites":[{"source":"/(.*)","destination":"/index.html"}]}` and deploy again.',
215
224
  /**
216
225
  * A block of its own rather than a clause of `live`: two sentences, two
217
226
  * facts, and a door may compose them independently.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/mcp",
3
- "version": "2.8.3",
3
+ "version": "2.9.0-beta.1",
4
4
  "description": "Deploy static websites, landing pages, and prototypes instantly. Free, no account needed. Start with the hosted endpoint at mcp.shipstatic.com, or run the same fifteen tools on your own machine with this package.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -67,8 +67,8 @@
67
67
  "license": "MIT",
68
68
  "dependencies": {
69
69
  "@modelcontextprotocol/sdk": "^1.32.1",
70
- "@shipstatic/ship": "3.10.3",
71
- "@shipstatic/types": "3.17.0",
70
+ "@shipstatic/ship": "3.11.0-beta.1",
71
+ "@shipstatic/types": "3.18.0-beta.1",
72
72
  "zod": "^4.4.3"
73
73
  },
74
74
  "devDependencies": {