@clipform/mcp-server 5.0.0 → 5.2.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/README.md +3 -3
- package/dist/api-client.js +1 -1
- package/dist/{chunk-LTLKJKNR.js → chunk-4KXP67SR.js} +3 -3
- package/dist/{chunk-ZZYBRWG3.js → chunk-5D3UEINC.js} +55 -10
- package/dist/chunk-5D3UEINC.js.map +1 -0
- package/dist/{chunk-VERNZWHH.js → chunk-H7MHP72Z.js} +116 -54
- package/dist/chunk-H7MHP72Z.js.map +1 -0
- package/dist/{chunk-DEVQTVXL.js → chunk-NXNCAGMO.js} +65 -37
- package/dist/chunk-NXNCAGMO.js.map +1 -0
- package/dist/{chunk-RFKLWZJV.js → chunk-SH53TD4L.js} +2 -2
- package/dist/index.js +5 -5
- package/dist/prompts.js +3 -3
- package/dist/resources.js +3 -3
- package/dist/server.js +5 -5
- package/package.json +1 -1
- package/server.json +2 -2
- package/dist/chunk-DEVQTVXL.js.map +0 -1
- package/dist/chunk-VERNZWHH.js.map +0 -1
- package/dist/chunk-ZZYBRWG3.js.map +0 -1
- /package/dist/{chunk-LTLKJKNR.js.map → chunk-4KXP67SR.js.map} +0 -0
- /package/dist/{chunk-RFKLWZJV.js.map → chunk-SH53TD4L.js.map} +0 -0
package/README.md
CHANGED
|
@@ -79,13 +79,13 @@ Your MCP client lists these automatically on connect (via `tools/list`). Full re
|
|
|
79
79
|
| `clipform_set_logic` | Set the next node for one or more nodes, wiring a linear route (A to B to C). |
|
|
80
80
|
| `clipform_log_generation` | Internal audit step run by a form-generation workflow. |
|
|
81
81
|
| `clipform_search_news` | Search recent news articles from NewsAPI and The Guardian and return them as structured results. |
|
|
82
|
-
| `clipform_generate_tts` | Generate narration audio from text with word-level captions. |
|
|
82
|
+
| `clipform_generate_tts` | Generate narration audio from text with word-level captions for one question in a Clipform form (max 400 characters). |
|
|
83
83
|
| `clipform_search_media` | Search images or stock video clips. |
|
|
84
|
-
| `clipform_render_composition` | Render a specialised video composition to MP4 or PNG - custom animated visuals that a video template can't provide, such as geography animations or designed motion graphics. |
|
|
84
|
+
| `clipform_render_composition` | Render a specialised video composition to MP4 or PNG for one question in a Clipform form (max 30s, attached to that question) - custom animated visuals that a video template can't provide, such as geography animations or designed motion graphics. |
|
|
85
85
|
| `clipform_search_music` | Search for royalty-free music tracks and ambient sounds. |
|
|
86
86
|
| `clipform_list_compositions` | Browse available video compositions and their expected props schemas. |
|
|
87
87
|
| `clipform_list_video_templates` | Browse available video templates - curated Scene arrangements (bed + overlay + sane defaults) that render through the Scene composition from a small controls object. |
|
|
88
|
-
| `clipform_render_video_template` | Render a curated video template (a pre-arranged Scene: bed + overlay + sane defaults) to MP4 or PNG from a small controls object, instead of hand-assembling Scene layers. |
|
|
88
|
+
| `clipform_render_video_template` | Render a curated video template (a pre-arranged Scene: bed + overlay + sane defaults) to MP4 or PNG for one question in a Clipform form (max 30s, attached to that question) from a small controls object, instead of hand-assembling Scene layers. |
|
|
89
89
|
| `clipform_list_assets` | List available creative assets (sound effects, animations, fonts) for video compositions. |
|
|
90
90
|
| `clipform_check_render` | Check the status of render jobs started by clipform_render_video_template or clipform_render_composition. |
|
|
91
91
|
| `clipform_fetch_boundary` | Fetch a GeoJSON boundary polygon for a country, city, or region. |
|
package/dist/api-client.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FULL_CAPS,
|
|
3
3
|
getSessionContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SH53TD4L.js";
|
|
5
5
|
import {
|
|
6
6
|
ALL_VARIANTS,
|
|
7
7
|
FORM_TYPES,
|
|
8
8
|
FORM_TYPE_KEYS,
|
|
9
9
|
callApi
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5D3UEINC.js";
|
|
11
11
|
import {
|
|
12
12
|
getMcpAuth
|
|
13
13
|
} from "./chunk-ENVV65JX.js";
|
|
@@ -146,4 +146,4 @@ export {
|
|
|
146
146
|
getGuideUri,
|
|
147
147
|
registerResources
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=chunk-
|
|
149
|
+
//# sourceMappingURL=chunk-4KXP67SR.js.map
|
|
@@ -244,9 +244,14 @@ var FEATURES = {
|
|
|
244
244
|
},
|
|
245
245
|
node_booking: {
|
|
246
246
|
name: "Booking",
|
|
247
|
-
description: "Calendly
|
|
248
|
-
|
|
249
|
-
|
|
247
|
+
description: "Calendly scheduling inside the form",
|
|
248
|
+
// GA 2026-11-08 with Calendly only (#5310). Google Meet stays dark behind
|
|
249
|
+
// integration_google_calendar until #5308/#5309 ship. The
|
|
250
|
+
// NODE_COMPANY_ALLOWLIST.node_booking entry below stays as a safety valve:
|
|
251
|
+
// flip enabled back to false to pull it behind the allowlist again.
|
|
252
|
+
enabled: true,
|
|
253
|
+
status: "live",
|
|
254
|
+
wentLiveAt: "2026-11-08",
|
|
250
255
|
category: "node-types"
|
|
251
256
|
},
|
|
252
257
|
node_draw: {
|
|
@@ -605,6 +610,17 @@ var FEATURES = {
|
|
|
605
610
|
wentLiveAt: "2026-09-07",
|
|
606
611
|
category: "integrations"
|
|
607
612
|
},
|
|
613
|
+
// Hub-only gate (#5482): manage Stripe (connect/disconnect) from the
|
|
614
|
+
// Integrations hub. NOT an `integration_*` key on purpose - integration_stripe
|
|
615
|
+
// is globally live (payment node GA), so it cannot gate a hub card that is
|
|
616
|
+
// internal-first. Referenced by the catalog's `hub_feature` on `stripe`.
|
|
617
|
+
stripe_hub_management: {
|
|
618
|
+
name: "Stripe on the Integrations hub",
|
|
619
|
+
description: "Connect and disconnect Stripe from the Integrations hub",
|
|
620
|
+
enabled: false,
|
|
621
|
+
status: "beta",
|
|
622
|
+
category: "integrations"
|
|
623
|
+
},
|
|
608
624
|
integration_paddle: {
|
|
609
625
|
name: "Paddle",
|
|
610
626
|
description: "Accept payments with Paddle",
|
|
@@ -622,8 +638,11 @@ var FEATURES = {
|
|
|
622
638
|
integration_calendly: {
|
|
623
639
|
name: "Calendly",
|
|
624
640
|
description: "Schedule meetings directly in your forms",
|
|
625
|
-
|
|
626
|
-
|
|
641
|
+
// GA 2026-11-08 with the Booking node (#5310); the allowlist entry below
|
|
642
|
+
// stays as the safety valve.
|
|
643
|
+
enabled: true,
|
|
644
|
+
status: "live",
|
|
645
|
+
wentLiveAt: "2026-11-08",
|
|
627
646
|
category: "integrations"
|
|
628
647
|
},
|
|
629
648
|
integration_google_calendar: {
|
|
@@ -872,6 +891,7 @@ var HELP_TOPICS = {
|
|
|
872
891
|
node_end_screen: { path: "/help/node-types", anchor: "end-screen" },
|
|
873
892
|
node_redirect: { path: "/help/node-types", anchor: "redirect" },
|
|
874
893
|
node_file_download: { path: "/help/node-types", anchor: "file-download" },
|
|
894
|
+
node_booking: { path: "/help/node-types", anchor: "booking" },
|
|
875
895
|
node_payment: { path: "/help/node-types", anchor: "payment" }
|
|
876
896
|
};
|
|
877
897
|
function buildHelpLinks(docsBaseUrl) {
|
|
@@ -1330,7 +1350,7 @@ var NODE_TYPES = {
|
|
|
1330
1350
|
shorthand: "Booking",
|
|
1331
1351
|
icon: "Calendar",
|
|
1332
1352
|
color: "#E9D5FF",
|
|
1333
|
-
description:
|
|
1353
|
+
description: "Let respondents book a meeting on a connected Calendly account without leaving the form",
|
|
1334
1354
|
category: "action",
|
|
1335
1355
|
sort_order: 8,
|
|
1336
1356
|
has_options: false,
|
|
@@ -1367,7 +1387,8 @@ var NODE_TYPES = {
|
|
|
1367
1387
|
config_schema: {
|
|
1368
1388
|
type: "object",
|
|
1369
1389
|
properties: {
|
|
1370
|
-
|
|
1390
|
+
// google_meet ships dark until integration_google_calendar is live (#5310).
|
|
1391
|
+
provider: { type: "string", enum: BOOKING_PROVIDERS, enum_features: { google_meet: "integration_google_calendar" }, label: "Provider", description: "Scheduling provider (one per node)" },
|
|
1371
1392
|
workspace_integration_id: { type: "string", description: "Connected workspace integration (calendar account) this booking uses" },
|
|
1372
1393
|
title: { type: "string", label: "Heading", maxLength: 80, description: "Heading shown above the scheduler", anon_locked_keep: true },
|
|
1373
1394
|
description: { type: "string", label: "Description", maxLength: 140, description: "Body text shown below the heading", anon_locked_keep: true },
|
|
@@ -2739,10 +2760,27 @@ function validateFeatureMarkers(nodeTypes, features) {
|
|
|
2739
2760
|
if (prop.feature !== void 0 && !features[prop.feature]) {
|
|
2740
2761
|
throw new Error(`NODE_TYPES.${type}.config_schema.${key}: feature "${prop.feature}" is not in FEATURES`);
|
|
2741
2762
|
}
|
|
2763
|
+
for (const [value, feature] of Object.entries(prop.enum_features ?? {})) {
|
|
2764
|
+
if (!prop.enum?.includes(value)) {
|
|
2765
|
+
throw new Error(`NODE_TYPES.${type}.config_schema.${key}: enum_features value "${value}" is not in its enum`);
|
|
2766
|
+
}
|
|
2767
|
+
if (!features[feature]) {
|
|
2768
|
+
throw new Error(`NODE_TYPES.${type}.config_schema.${key}: enum_features feature "${feature}" is not in FEATURES`);
|
|
2769
|
+
}
|
|
2770
|
+
}
|
|
2742
2771
|
}
|
|
2743
2772
|
}
|
|
2744
2773
|
}
|
|
2745
2774
|
validateFeatureMarkers(NODE_TYPES, FEATURES);
|
|
2775
|
+
function gatedEnumValues(type, key) {
|
|
2776
|
+
const prop = NODE_TYPES[type]?.config_schema?.properties?.[key];
|
|
2777
|
+
return new Set(
|
|
2778
|
+
Object.entries(prop?.enum_features ?? {}).filter(([, feature]) => !FEATURES[feature]?.enabled).map(([value]) => value)
|
|
2779
|
+
);
|
|
2780
|
+
}
|
|
2781
|
+
function holdsGatedEnumValue(type, key, value) {
|
|
2782
|
+
return typeof value === "string" && gatedEnumValues(type, key).has(value);
|
|
2783
|
+
}
|
|
2746
2784
|
function gatedConfigKeys(type) {
|
|
2747
2785
|
const props = NODE_TYPES[type]?.config_schema?.properties ?? {};
|
|
2748
2786
|
return new Set(
|
|
@@ -2752,9 +2790,10 @@ function gatedConfigKeys(type) {
|
|
|
2752
2790
|
function stripGatedConfigKeys(type, config) {
|
|
2753
2791
|
if (!config || typeof config !== "object") return { config, dropped: [] };
|
|
2754
2792
|
const gated = gatedConfigKeys(type);
|
|
2755
|
-
const
|
|
2793
|
+
const isGated = ([k, v]) => gated.has(k) || holdsGatedEnumValue(type, k, v);
|
|
2794
|
+
const dropped = Object.entries(config).filter(isGated).map(([k]) => k);
|
|
2756
2795
|
if (dropped.length === 0) return { config, dropped };
|
|
2757
|
-
return { config: Object.fromEntries(Object.entries(config).filter((
|
|
2796
|
+
return { config: Object.fromEntries(Object.entries(config).filter((e) => !isGated(e))), dropped };
|
|
2758
2797
|
}
|
|
2759
2798
|
var NODE_TYPES_LIST = Object.entries(NODE_TYPES).map(([type, def]) => ({ type, ...def })).sort((a, b) => a.sort_order - b.sort_order);
|
|
2760
2799
|
var ACTIVE_NODE_TYPES = Object.entries(NODE_TYPES).filter(([, def]) => def.is_active && !def.is_system).map(([type]) => type);
|
|
@@ -3648,6 +3687,8 @@ var MCP_TOOL_SECURITY = Object.freeze(
|
|
|
3648
3687
|
])
|
|
3649
3688
|
)
|
|
3650
3689
|
);
|
|
3690
|
+
var MAX_CLIP_SECONDS = 30;
|
|
3691
|
+
var MAX_NARRATION_CHARS = 400;
|
|
3651
3692
|
|
|
3652
3693
|
// src/lib/api-client.ts
|
|
3653
3694
|
function getApiBaseUrl() {
|
|
@@ -3823,6 +3864,7 @@ function structuredResult(text, structuredContent) {
|
|
|
3823
3864
|
export {
|
|
3824
3865
|
FEATURE_FLAGS,
|
|
3825
3866
|
NODE_TYPES,
|
|
3867
|
+
gatedEnumValues,
|
|
3826
3868
|
gatedConfigKeys,
|
|
3827
3869
|
stripGatedConfigKeys,
|
|
3828
3870
|
ACTIVE_NODE_TYPES,
|
|
@@ -3843,6 +3885,7 @@ export {
|
|
|
3843
3885
|
ANON_MCP_LIVE_TTL_DAYS,
|
|
3844
3886
|
defaultTarget,
|
|
3845
3887
|
bfsOrder,
|
|
3888
|
+
PROD_URLS,
|
|
3846
3889
|
PLAN_LIMITS,
|
|
3847
3890
|
CURRENT_PLAN_VERSIONS,
|
|
3848
3891
|
CONTACT_FIELDS,
|
|
@@ -3852,6 +3895,8 @@ export {
|
|
|
3852
3895
|
MCP_TOOL_TIERS,
|
|
3853
3896
|
MCP_TOOL_TOOLSETS,
|
|
3854
3897
|
MCP_TOOL_SECURITY,
|
|
3898
|
+
MAX_CLIP_SECONDS,
|
|
3899
|
+
MAX_NARRATION_CHARS,
|
|
3855
3900
|
callApi,
|
|
3856
3901
|
recoveryHint,
|
|
3857
3902
|
errorResult,
|
|
@@ -3860,4 +3905,4 @@ export {
|
|
|
3860
3905
|
textResult,
|
|
3861
3906
|
structuredResult
|
|
3862
3907
|
};
|
|
3863
|
-
//# sourceMappingURL=chunk-
|
|
3908
|
+
//# sourceMappingURL=chunk-5D3UEINC.js.map
|