@clipform/mcp-server 2.10.2 → 2.10.4

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/prompts.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
  import { DiscoveryParam as DiscoveryParam$1, FormTypeKey } from '@vid-master/config';
3
3
  import { QuizVariant } from './resources.js';
4
+ import { S as ServerCaps } from './caps-DBnfcEyJ.js';
4
5
 
5
6
  type AuthMode = "authenticated" | "anonymous";
6
7
 
@@ -27,7 +28,7 @@ interface WorkflowArgs {
27
28
  }
28
29
  type DiscoveryParam = DiscoveryParam$1;
29
30
  declare function buildDiscovery(params: readonly DiscoveryParam$1[], args: WorkflowArgs, authMode?: AuthMode): string;
30
- declare function getWorkflowText(type: WorkflowType, args?: WorkflowArgs, variant?: QuizVariant): Promise<string>;
31
- declare function registerPrompts(server: McpServer): void;
31
+ declare function getWorkflowText(type: WorkflowType, args?: WorkflowArgs, variant?: QuizVariant, caps?: ServerCaps): Promise<string>;
32
+ declare function registerPrompts(server: McpServer, caps?: ServerCaps): void;
32
33
 
33
34
  export { type DiscoveryParam, WORKFLOW_TYPES, type WorkflowArgs, type WorkflowType, buildDiscovery, getWorkflowText, registerPrompts };
package/dist/prompts.js CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  buildDiscovery,
4
4
  getWorkflowText,
5
5
  registerPrompts
6
- } from "./chunk-4QF4KGPE.js";
7
- import "./chunk-IL26A4IN.js";
6
+ } from "./chunk-QZO6MGNN.js";
7
+ import "./chunk-O35IVA4L.js";
8
8
  import "./chunk-ENHVQDSI.js";
9
9
  import "./chunk-PBQ5BQWD.js";
10
10
  import "./chunk-G3PMV62Z.js";
@@ -1,11 +1,13 @@
1
1
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
  import { ALL_VARIANTS, FORM_TYPE_KEYS } from '@vid-master/config';
3
+ import { S as ServerCaps } from './caps-DBnfcEyJ.js';
3
4
 
4
5
  declare const GUIDE_TYPES: readonly [string, ...string[]];
5
6
  type GuideType = (typeof FORM_TYPE_KEYS)[number];
6
7
  declare const QUIZ_VARIANTS: readonly [string, ...string[]];
7
8
  type QuizVariant = (typeof ALL_VARIANTS)[number];
9
+
8
10
  declare function getGuideUri(type: GuideType, variant?: QuizVariant): string;
9
- declare function registerResources(server: McpServer): void;
11
+ declare function registerResources(server: McpServer, caps?: ServerCaps): void;
10
12
 
11
13
  export { GUIDE_TYPES, type GuideType, QUIZ_VARIANTS, type QuizVariant, getGuideUri, registerResources };
package/dist/resources.js CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  QUIZ_VARIANTS,
4
4
  getGuideUri,
5
5
  registerResources
6
- } from "./chunk-UBJ7CZL2.js";
7
- import "./chunk-IL26A4IN.js";
6
+ } from "./chunk-A5RVUIGS.js";
7
+ import "./chunk-O35IVA4L.js";
8
8
  import "./chunk-ENHVQDSI.js";
9
9
  import "./chunk-PBQ5BQWD.js";
10
10
  import "./chunk-G3PMV62Z.js";
package/dist/server.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
  import { McpToolset } from '@vid-master/config';
3
+ import { S as ServerCaps } from './caps-DBnfcEyJ.js';
3
4
 
4
5
  declare const RENDER_TIMING: {
5
6
  readonly expectedRange: "15-120 seconds";
@@ -10,6 +11,18 @@ declare const RENDER_TIMING: {
10
11
  readonly etaPhrase: "a couple of minutes";
11
12
  };
12
13
 
14
+ /**
15
+ * The identity createServer() reports on `initialize`. Exported so apps/api's
16
+ * discovery card (/.well-known/mcp/server-card.json) can advertise the SAME
17
+ * name + version instead of mirroring it by hand - Release Please bumps this
18
+ * package's version on every release, and a hand-mirrored copy drifted twice
19
+ * in one week (#3681: 2.10.0 vs 2.10.2, then 2.10.2 vs 2.10.3).
20
+ */
21
+ declare const MCP_SERVER_IDENTITY: Readonly<{
22
+ name: "clipform-mcp-server";
23
+ version: string;
24
+ }>;
25
+
13
26
  interface CreateServerOptions {
14
27
  onToolError?: (toolName: string, error: Error) => void;
15
28
  /**
@@ -30,6 +43,16 @@ interface CreateServerOptions {
30
43
  */
31
44
  toolsets?: readonly McpToolset[];
32
45
  }
46
+ /**
47
+ * Lands directly in the client's system prompt. This is the only high-level
48
+ * guidance external clients (claude.ai, Desktop, ChatGPT App) receive - they
49
+ * have no equivalent of the bot's system prompt. It is also the correct home
50
+ * for cross-tool / sequencing guidance, which must NOT go in individual tool
51
+ * descriptions (treated as prompt injection at directory review). Gated on
52
+ * the surface's capabilities (#3681): a forms-only connection never hears
53
+ * about narration, motion, or music it has no tools for.
54
+ */
55
+ declare function buildInstructions(caps: ServerCaps): string;
33
56
  declare function createServer(options?: CreateServerOptions): McpServer;
34
57
 
35
- export { type CreateServerOptions, RENDER_TIMING, createServer };
58
+ export { type CreateServerOptions, MCP_SERVER_IDENTITY, RENDER_TIMING, buildInstructions, createServer };
package/dist/server.js CHANGED
@@ -1,15 +1,19 @@
1
1
  import {
2
+ MCP_SERVER_IDENTITY,
2
3
  RENDER_TIMING,
4
+ buildInstructions,
3
5
  createServer
4
- } from "./chunk-NCWQ42GI.js";
5
- import "./chunk-4QF4KGPE.js";
6
- import "./chunk-UBJ7CZL2.js";
7
- import "./chunk-IL26A4IN.js";
6
+ } from "./chunk-EMQPJPF4.js";
7
+ import "./chunk-QZO6MGNN.js";
8
+ import "./chunk-A5RVUIGS.js";
9
+ import "./chunk-O35IVA4L.js";
8
10
  import "./chunk-ENHVQDSI.js";
9
11
  import "./chunk-PBQ5BQWD.js";
10
12
  import "./chunk-G3PMV62Z.js";
11
13
  export {
14
+ MCP_SERVER_IDENTITY,
12
15
  RENDER_TIMING,
16
+ buildInstructions,
13
17
  createServer
14
18
  };
15
19
  //# sourceMappingURL=server.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clipform/mcp-server",
3
- "version": "2.10.2",
3
+ "version": "2.10.4",
4
4
  "mcpName": "io.github.Clipform/mcp-server",
5
5
  "description": "MCP server for building and managing Clipform video forms",
6
6
  "license": "MIT",