@shipstatic/mcp 2.4.1-beta.3 → 2.4.2-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/dist/tools.d.ts CHANGED
@@ -31,7 +31,7 @@
31
31
  * Claude connectors directory refuses submission for a tool that lacks one, so
32
32
  * a titleless tool is not a shabby tool — it is an unlistable product. The
33
33
  * style is short Title Case verb phrases naming what the USER gets ("List
34
- * Deployments", "Connect Custom Domain"); the name obeys `resource_action` for
34
+ * Deployments", "Set Domain"); the name obeys `resource_action` for
35
35
  * the agent, the title reads as English for the human, and the description
36
36
  * carries every precision neither can. Both catalogue pins assert a title on
37
37
  * every tool, so the next one cannot be added without one.
package/dist/tools.js CHANGED
@@ -31,7 +31,7 @@
31
31
  * Claude connectors directory refuses submission for a tool that lacks one, so
32
32
  * a titleless tool is not a shabby tool — it is an unlistable product. The
33
33
  * style is short Title Case verb phrases naming what the USER gets ("List
34
- * Deployments", "Connect Custom Domain"); the name obeys `resource_action` for
34
+ * Deployments", "Set Domain"); the name obeys `resource_action` for
35
35
  * the agent, the title reads as English for the human, and the description
36
36
  * carries every precision neither can. Both catalogue pins assert a title on
37
37
  * every tool, so the next one cannot be added without one.
@@ -191,12 +191,14 @@ export function registerAccountTools(server, ship, call) {
191
191
  }), ({ deployment }) => call(() => ship.deployments.delete(deployment)));
192
192
  // Domains
193
193
  server.registerTool('domains_set', titled({
194
- title: 'Connect Custom Domain',
195
- description: 'Create or update a custom domain. Can reserve a name (omit deployment), link it to a deployment, switch deployments, or update labels. domains_records then returns the DNS records to configure.',
194
+ title: 'Set Domain',
195
+ description: 'Create or update a domain: a ShipStatic domain (e.g. "yourname.shipstatic.com"), live as soon as a deployment is linked, or a custom domain (e.g. "www.example.com"), which needs DNS records first. Can reserve a name (omit deployment), link it to a deployment, switch deployments, or update labels. For a custom domain, domains_records then returns the DNS records to configure.',
196
196
  annotations: annotate(TOOLS.domains_set),
197
197
  outputSchema: DomainSetResultSchema,
198
198
  inputSchema: {
199
- domain: z.string().describe('Domain name (e.g. "www.example.com" or "blog.example.com")'),
199
+ domain: z
200
+ .string()
201
+ .describe('Domain name: a ShipStatic domain (e.g. "yourname.shipstatic.com") or a custom domain (e.g. "www.example.com")'),
200
202
  deployment: z
201
203
  .string()
202
204
  .optional()
@@ -266,7 +268,7 @@ export function registerAccountTools(server, ship, call) {
266
268
  inputSchema: {
267
269
  domain: z
268
270
  .string()
269
- .describe('Domain name to check (e.g. "www.example.com"). Call before domains_set to check availability.'),
271
+ .describe('Domain name to check (e.g. "yourname.shipstatic.com" or "www.example.com"). Call before domains_set to check availability.'),
270
272
  },
271
273
  }), ({ domain }) => call(() => ship.domains.validate(domain)));
272
274
  server.registerTool('domains_verify', titled({
@@ -213,8 +213,8 @@ export declare const INSTRUCTION_BLOCKS: {
213
213
  readonly claim: "The response includes a claim URL — always show the deployment URL and the claim URL to the user so they can keep the site permanently.";
214
214
  readonly conceptsHeader: "Concepts:";
215
215
  readonly deploymentConcept: "- Deployment: an immutable set of files with an instant URL (e.g. happy-cat-abc1234.shipstatic.com). No setup needed.";
216
- readonly domainConcept: "- Domain: a custom domain (e.g. www.example.com) pointing to a deployment. Optional. Subdomains only — not apex domains.";
217
- readonly domainWorkflow: "To add a custom domain: domains_validate → domains_set → domains_records (show DNS records to user) → user configures DNS → domains_verify → domains_set with the deployment to serve. A domain serves nothing until a deployment is linked, so ask the user which one and link it. Read `status` to know where a domain stands: `unverified` means its DNS records are not configured yet, `unlinked` means DNS is right and nothing is published there, `live` means it serves, `paused` means the plan has no room for it.";
216
+ readonly domainConcept: "- Domain: a name pointing to a deployment. Optional. A ShipStatic domain (e.g. yourname.shipstatic.com) needs no setup; a custom domain (e.g. www.example.com) needs DNS records. Subdomains only, not apex domains.";
217
+ readonly domainWorkflow: "To give a deployment a ShipStatic domain: domains_validate → domains_set with the domain and the deployment. It is live at once, with no DNS. To add a custom domain: domains_validate → domains_set → domains_records (show DNS records to user) → user configures DNS → domains_verify, only while its `status` is `unverified` → domains_set with the deployment to serve. A domain serves nothing until a deployment is linked, so ask the user which one and link it. Read `status` to know where a domain stands: `unverified` means its DNS records are not configured yet, `unlinked` means DNS is right and nothing is published there, `live` means it serves, `paused` means the plan has no room for it.";
218
218
  };
219
219
  /**
220
220
  * The fragments of the upload tool's description that both transports say.
@@ -192,8 +192,8 @@ export const INSTRUCTION_BLOCKS = {
192
192
  claim: 'The response includes a claim URL — always show the deployment URL and the claim URL to the user so they can keep the site permanently.',
193
193
  conceptsHeader: 'Concepts:',
194
194
  deploymentConcept: '- Deployment: an immutable set of files with an instant URL (e.g. happy-cat-abc1234.shipstatic.com). No setup needed.',
195
- domainConcept: '- Domain: a custom domain (e.g. www.example.com) pointing to a deployment. Optional. Subdomains only — not apex domains.',
196
- domainWorkflow: 'To add a custom domain: domains_validate → domains_set → domains_records (show DNS records to user) → user configures DNS → domains_verify → domains_set with the deployment to serve. A domain serves nothing until a deployment is linked, so ask the user which one and link it. Read `status` to know where a domain stands: `unverified` means its DNS records are not configured yet, `unlinked` means DNS is right and nothing is published there, `live` means it serves, `paused` means the plan has no room for it.',
195
+ domainConcept: '- Domain: a name pointing to a deployment. Optional. A ShipStatic domain (e.g. yourname.shipstatic.com) needs no setup; a custom domain (e.g. www.example.com) needs DNS records. Subdomains only, not apex domains.',
196
+ domainWorkflow: 'To give a deployment a ShipStatic domain: domains_validate → domains_set with the domain and the deployment. It is live at once, with no DNS. To add a custom domain: domains_validate → domains_set → domains_records (show DNS records to user) → user configures DNS → domains_verify, only while its `status` is `unverified` → domains_set with the deployment to serve. A domain serves nothing until a deployment is linked, so ask the user which one and link it. Read `status` to know where a domain stands: `unverified` means its DNS records are not configured yet, `unlinked` means DNS is right and nothing is published there, `live` means it serves, `paused` means the plan has no room for it.',
197
197
  };
198
198
  /**
199
199
  * The fragments of the upload tool's description that both transports say.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/mcp",
3
- "version": "2.4.1-beta.3",
3
+ "version": "2.4.2-beta.1",
4
4
  "mcpName": "com.shipstatic/mcp",
5
5
  "description": "Deploy static websites, landing pages, and prototypes instantly from AI agents. Start with the hosted endpoint at mcp.shipstatic.com (no install, no signup, no API key), or install this package to deploy folders from your own machine. The same fifteen tools either way.",
6
6
  "type": "module",