@shipstatic/mcp 2.5.0 → 2.6.0-beta.0
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/index.d.ts +5 -3
- package/dist/index.js +5 -3
- package/dist/server.js +2 -2
- package/dist/vocabulary.d.ts +20 -0
- package/dist/vocabulary.js +27 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -28,8 +28,10 @@
|
|
|
28
28
|
* what lets the hosted catalogue fence name the fourteen without counting them
|
|
29
29
|
* again, `TOOLS` and `annotate` replaced four annotation classes plus a
|
|
30
30
|
* hand-annotated upload on each transport plus a separate list for the auth
|
|
31
|
-
* need (three owners for one tool's facts, 1.11.0),
|
|
32
|
-
*
|
|
31
|
+
* need (three owners for one tool's facts, 1.11.0), `SERVER_INFO` is the
|
|
32
|
+
* title, description, website and icon both transports report rather than
|
|
33
|
+
* each stating its own, and `createServer` deleted three regexes in another
|
|
34
|
+
* repo's build (see below).
|
|
33
35
|
*
|
|
34
36
|
* **`createServer` is exported; the configured `call` is not.** The extension
|
|
35
37
|
* previously reached stdio's composition by REGEX-PATCHING this package's
|
|
@@ -65,4 +67,4 @@
|
|
|
65
67
|
export { type AuthFailure, type CallFn, type CallOptions, createCall, type ErrorHints, } from './call.js';
|
|
66
68
|
export { createServer } from './server.js';
|
|
67
69
|
export { ACCOUNT_TOOL_NAMES, type AccountToolName, registerAccountTools, TOOLS, type ToolName, } from './tools.js';
|
|
68
|
-
export { annotate, DESCRIPTION_BLOCKS, INSTRUCTION_BLOCKS, PARAM_DESCRIPTIONS, PUBLIC_EXPIRY, SERVER_NAME, type ToolContract, titled, UPLOAD_TOOL_NAME, UPLOAD_TOOL_TITLE, } from './vocabulary.js';
|
|
70
|
+
export { annotate, DESCRIPTION_BLOCKS, INSTRUCTION_BLOCKS, PARAM_DESCRIPTIONS, PUBLIC_EXPIRY, SERVER_INFO, SERVER_NAME, type ToolContract, titled, UPLOAD_TOOL_NAME, UPLOAD_TOOL_TITLE, } from './vocabulary.js';
|
package/dist/index.js
CHANGED
|
@@ -28,8 +28,10 @@
|
|
|
28
28
|
* what lets the hosted catalogue fence name the fourteen without counting them
|
|
29
29
|
* again, `TOOLS` and `annotate` replaced four annotation classes plus a
|
|
30
30
|
* hand-annotated upload on each transport plus a separate list for the auth
|
|
31
|
-
* need (three owners for one tool's facts, 1.11.0),
|
|
32
|
-
*
|
|
31
|
+
* need (three owners for one tool's facts, 1.11.0), `SERVER_INFO` is the
|
|
32
|
+
* title, description, website and icon both transports report rather than
|
|
33
|
+
* each stating its own, and `createServer` deleted three regexes in another
|
|
34
|
+
* repo's build (see below).
|
|
33
35
|
*
|
|
34
36
|
* **`createServer` is exported; the configured `call` is not.** The extension
|
|
35
37
|
* previously reached stdio's composition by REGEX-PATCHING this package's
|
|
@@ -65,4 +67,4 @@
|
|
|
65
67
|
export { createCall, } from './call.js';
|
|
66
68
|
export { createServer } from './server.js';
|
|
67
69
|
export { ACCOUNT_TOOL_NAMES, registerAccountTools, TOOLS, } from './tools.js';
|
|
68
|
-
export { annotate, DESCRIPTION_BLOCKS, INSTRUCTION_BLOCKS, PARAM_DESCRIPTIONS, PUBLIC_EXPIRY, SERVER_NAME, titled, UPLOAD_TOOL_NAME, UPLOAD_TOOL_TITLE, } from './vocabulary.js';
|
|
70
|
+
export { annotate, DESCRIPTION_BLOCKS, INSTRUCTION_BLOCKS, PARAM_DESCRIPTIONS, PUBLIC_EXPIRY, SERVER_INFO, SERVER_NAME, titled, UPLOAD_TOOL_NAME, UPLOAD_TOOL_TITLE, } from './vocabulary.js';
|
package/dist/server.js
CHANGED
|
@@ -4,7 +4,7 @@ import { DeploymentCreateResponseSchema } from '@shipstatic/types/schemas';
|
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { call } from './call.js';
|
|
6
6
|
import { registerAccountTools, TOOLS } from './tools.js';
|
|
7
|
-
import { annotate, DESCRIPTION_BLOCKS, INSTRUCTION_BLOCKS, PARAM_DESCRIPTIONS, PUBLIC_EXPIRY,
|
|
7
|
+
import { annotate, DESCRIPTION_BLOCKS, INSTRUCTION_BLOCKS, PARAM_DESCRIPTIONS, PUBLIC_EXPIRY, SERVER_INFO, titled, UPLOAD_TOOL_NAME, UPLOAD_TOOL_TITLE, } from './vocabulary.js';
|
|
8
8
|
const B = INSTRUCTION_BLOCKS;
|
|
9
9
|
const D = DESCRIPTION_BLOCKS;
|
|
10
10
|
// Composed from the shared blocks plus the two sentences that are genuinely
|
|
@@ -30,7 +30,7 @@ ${B.domainWorkflow}`;
|
|
|
30
30
|
export function createServer(ship, options) {
|
|
31
31
|
const { version, via = DeploymentVia.MCP } = options;
|
|
32
32
|
const server = new McpServer({
|
|
33
|
-
|
|
33
|
+
...SERVER_INFO,
|
|
34
34
|
version,
|
|
35
35
|
}, {
|
|
36
36
|
instructions: INSTRUCTIONS,
|
package/dist/vocabulary.d.ts
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
* Everything else should be here, and adding a shared fact anywhere else is
|
|
28
28
|
* how the next year's drift starts.
|
|
29
29
|
*/
|
|
30
|
+
import type { Implementation } from '@modelcontextprotocol/sdk/types.js';
|
|
30
31
|
/**
|
|
31
32
|
* Two packages, and the split is a rule rather than an accident: **read a
|
|
32
33
|
* constant from whatever will act on it.**
|
|
@@ -53,6 +54,25 @@
|
|
|
53
54
|
* is exactly the shape this package exists to delete.
|
|
54
55
|
*/
|
|
55
56
|
export declare const SERVER_NAME = "shipstatic";
|
|
57
|
+
/**
|
|
58
|
+
* Who the server is, as every transport reports it in `serverInfo`: the
|
|
59
|
+
* fields a client shows a person when they connect. Everything but the
|
|
60
|
+
* version, which each transport reads from its own manifest.
|
|
61
|
+
*
|
|
62
|
+
* - **`title`** is the product's name as people read it (CANON §1).
|
|
63
|
+
* - **`description`** is this package's root sentence (CANON §2) with no
|
|
64
|
+
* qualifier. The hosted server reports it on every door, and on an
|
|
65
|
+
* auth-first door "no account needed" is false.
|
|
66
|
+
* - **`websiteUrl`** and the **icon** name the product, so they are
|
|
67
|
+
* production values in every environment, as in any published package.
|
|
68
|
+
* - **The icon** is the brand mark the marketing site serves
|
|
69
|
+
* (`web/www/logo.svg`), on our own domain. A scalable mark is `any` size.
|
|
70
|
+
*
|
|
71
|
+
* The MCP Registry entry (`server.json`) states the same title, website and
|
|
72
|
+
* icons, and `package.json`'s description opens with the same sentence; the
|
|
73
|
+
* docs contract holds both to this object.
|
|
74
|
+
*/
|
|
75
|
+
export declare const SERVER_INFO: Omit<Implementation, 'version'>;
|
|
56
76
|
/**
|
|
57
77
|
* The one tool authored per transport — its INPUT differs (a filesystem path
|
|
58
78
|
* over stdio, inline bytes over HTTP), its NAME must not. Exported so the
|
package/dist/vocabulary.js
CHANGED
|
@@ -55,6 +55,33 @@ import { formatDuration, PUBLIC_DEPLOYMENT_TTL_SECONDS } from '@shipstatic/types
|
|
|
55
55
|
* is exactly the shape this package exists to delete.
|
|
56
56
|
*/
|
|
57
57
|
export const SERVER_NAME = 'shipstatic';
|
|
58
|
+
/**
|
|
59
|
+
* Who the server is, as every transport reports it in `serverInfo`: the
|
|
60
|
+
* fields a client shows a person when they connect. Everything but the
|
|
61
|
+
* version, which each transport reads from its own manifest.
|
|
62
|
+
*
|
|
63
|
+
* - **`title`** is the product's name as people read it (CANON §1).
|
|
64
|
+
* - **`description`** is this package's root sentence (CANON §2) with no
|
|
65
|
+
* qualifier. The hosted server reports it on every door, and on an
|
|
66
|
+
* auth-first door "no account needed" is false.
|
|
67
|
+
* - **`websiteUrl`** and the **icon** name the product, so they are
|
|
68
|
+
* production values in every environment, as in any published package.
|
|
69
|
+
* - **The icon** is the brand mark the marketing site serves
|
|
70
|
+
* (`web/www/logo.svg`), on our own domain. A scalable mark is `any` size.
|
|
71
|
+
*
|
|
72
|
+
* The MCP Registry entry (`server.json`) states the same title, website and
|
|
73
|
+
* icons, and `package.json`'s description opens with the same sentence; the
|
|
74
|
+
* docs contract holds both to this object.
|
|
75
|
+
*/
|
|
76
|
+
export const SERVER_INFO = {
|
|
77
|
+
name: SERVER_NAME,
|
|
78
|
+
title: 'ShipStatic',
|
|
79
|
+
description: 'Deploy static websites, landing pages, and prototypes instantly from AI agents.',
|
|
80
|
+
websiteUrl: 'https://shipstatic.com',
|
|
81
|
+
icons: [
|
|
82
|
+
{ src: 'https://www.shipstatic.com/logo.svg', mimeType: 'image/svg+xml', sizes: ['any'] },
|
|
83
|
+
],
|
|
84
|
+
};
|
|
58
85
|
/**
|
|
59
86
|
* The one tool authored per transport — its INPUT differs (a filesystem path
|
|
60
87
|
* over stdio, inline bytes over HTTP), its NAME must not. Exported so the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipstatic/mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0-beta.0",
|
|
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",
|