@clipform/mcp-server 5.12.0 → 5.14.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 +1 -1
- package/README.template.md +1 -1
- package/dist/api-client.js +1 -1
- package/dist/{chunk-SXQZLNRW.js → chunk-FORWAWXQ.js} +3 -3
- package/dist/{chunk-TTFSP6U6.js → chunk-FUIIVLWH.js} +77 -11
- package/dist/chunk-FUIIVLWH.js.map +1 -0
- package/dist/{chunk-25QWATF4.js → chunk-LNW6PAME.js} +5 -5
- package/dist/{chunk-CKZC6CD4.js → chunk-OT6NQBKJ.js} +2 -2
- package/dist/{chunk-CLU27DSP.js → chunk-V7TPTNOH.js} +3 -3
- 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 +3 -3
- package/server.json +2 -2
- package/dist/chunk-TTFSP6U6.js.map +0 -1
- /package/dist/{chunk-SXQZLNRW.js.map → chunk-FORWAWXQ.js.map} +0 -0
- /package/dist/{chunk-25QWATF4.js.map → chunk-LNW6PAME.js.map} +0 -0
- /package/dist/{chunk-CKZC6CD4.js.map → chunk-OT6NQBKJ.js.map} +0 -0
- /package/dist/{chunk-CLU27DSP.js.map → chunk-V7TPTNOH.js.map} +0 -0
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ claude mcp add clipform -e CLIPFORM_API_KEY=cf_xxx -- npx -y @clipform/mcp-serve
|
|
|
44
44
|
}
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Generate an API key in your Clipform dashboard under **
|
|
47
|
+
Generate an API key in your Clipform dashboard under **Settings > Workspace > API keys**. The local server always needs one - to try Clipform without an account, connect to `https://mcp.clipform.io` instead (see "How it works").
|
|
48
48
|
|
|
49
49
|
### Environment variables
|
|
50
50
|
|
package/README.template.md
CHANGED
|
@@ -50,7 +50,7 @@ claude mcp add clipform -e CLIPFORM_API_KEY=cf_xxx -- npx -y {{PKG}}
|
|
|
50
50
|
}
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
Generate an API key in your Clipform dashboard under **
|
|
53
|
+
Generate an API key in your Clipform dashboard under **Settings > Workspace > API keys**. The local server always needs one - to try Clipform without an account, connect to `{{MCP_URL}}` instead (see "How it works").
|
|
54
54
|
|
|
55
55
|
### Environment variables
|
|
56
56
|
|
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-OT6NQBKJ.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-FUIIVLWH.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-FORWAWXQ.js.map
|
|
@@ -607,6 +607,17 @@ var FEATURES = {
|
|
|
607
607
|
status: "live",
|
|
608
608
|
category: "ai"
|
|
609
609
|
},
|
|
610
|
+
ai_builder_chat: {
|
|
611
|
+
name: "AI builder chat",
|
|
612
|
+
description: "Chat beside the builder canvas to add, reword and branch questions on the open form",
|
|
613
|
+
// Dogfood-only (#6139): invisible beta - enabled:false, never 'live'/'planned' so
|
|
614
|
+
// no public surface lists it. Available to FEATURE_COMPANY_ALLOWLIST.ai_builder_chat
|
|
615
|
+
// via getFeatureAccess (the builder toolbar toggle and POST /v1/ai/builder-chat).
|
|
616
|
+
// Undo (#6161) and a monthly per-plan cap (#6162) land before the global flip.
|
|
617
|
+
enabled: false,
|
|
618
|
+
status: "beta",
|
|
619
|
+
category: "ai"
|
|
620
|
+
},
|
|
610
621
|
// -- API --
|
|
611
622
|
public_api: {
|
|
612
623
|
name: "Public API",
|
|
@@ -744,6 +755,20 @@ var FEATURES = {
|
|
|
744
755
|
status: "beta",
|
|
745
756
|
category: "integrations"
|
|
746
757
|
},
|
|
758
|
+
integration_klaviyo: {
|
|
759
|
+
name: "Klaviyo",
|
|
760
|
+
description: "Log a Form Completed event on the shopper's Klaviyo profile when they complete a form",
|
|
761
|
+
enabled: false,
|
|
762
|
+
status: "beta",
|
|
763
|
+
category: "integrations"
|
|
764
|
+
},
|
|
765
|
+
integration_kit: {
|
|
766
|
+
name: "Kit",
|
|
767
|
+
description: "Tag a subscriber in Kit when they complete a form they opened from a Kit email",
|
|
768
|
+
enabled: false,
|
|
769
|
+
status: "beta",
|
|
770
|
+
category: "integrations"
|
|
771
|
+
},
|
|
747
772
|
integration_shopify: {
|
|
748
773
|
name: "Shopify",
|
|
749
774
|
description: "Product recommendations from quiz results with direct checkout",
|
|
@@ -821,6 +846,24 @@ var FEATURES = {
|
|
|
821
846
|
headline: "A better player for voice and video answers",
|
|
822
847
|
benefit: "Change the playback speed, adjust volume and seek through answers in Responses."
|
|
823
848
|
}
|
|
849
|
+
},
|
|
850
|
+
// -- Workspace --
|
|
851
|
+
// Dashboard navigation, not a product capability: its own category keeps it
|
|
852
|
+
// out of PRODUCT.features (#6211).
|
|
853
|
+
settings_area: {
|
|
854
|
+
name: "One Settings area",
|
|
855
|
+
description: "Account, company and workspace settings in one place, each under the scope it applies to",
|
|
856
|
+
enabled: true,
|
|
857
|
+
status: "live",
|
|
858
|
+
category: "workspace",
|
|
859
|
+
wentLiveAt: "2026-11-21",
|
|
860
|
+
announce: {
|
|
861
|
+
headline: "All your settings in one place",
|
|
862
|
+
benefit: "Account, company and workspace settings now sit together in Settings, and Esc takes you back to your forms.",
|
|
863
|
+
// = DASHBOARD_SETTINGS_PAGES.workspace. index.js imports this file, so it
|
|
864
|
+
// can't import the table back; test/dashboard-settings-paths.test.js pins it.
|
|
865
|
+
href: "settings/workspace"
|
|
866
|
+
}
|
|
824
867
|
}
|
|
825
868
|
};
|
|
826
869
|
var ANNOUNCE_PALETTES = {
|
|
@@ -985,7 +1028,9 @@ var HELP_TOPICS = {
|
|
|
985
1028
|
node_payment: { path: "/help/node-types", anchor: "payment" },
|
|
986
1029
|
// Keyed by FEATURES key so a non-node launch announcement (What's new, #3705) gets a
|
|
987
1030
|
// "Learn more" action: useWhatsNew falls back to HELP_LINKS[featureKey].
|
|
988
|
-
import_typeform: { path: "/help/import-typeform", anchor: null }
|
|
1031
|
+
import_typeform: { path: "/help/import-typeform", anchor: null },
|
|
1032
|
+
// The Integrations hub's Claude & ChatGPT connector card (#6211).
|
|
1033
|
+
mcp: { path: "/api/mcp", anchor: null }
|
|
989
1034
|
};
|
|
990
1035
|
function buildHelpLinks(docsBaseUrl) {
|
|
991
1036
|
const links = {};
|
|
@@ -1122,15 +1167,8 @@ var LINK_VARIABLE_PRESETS = [
|
|
|
1122
1167
|
key: "ck_subscriber_id",
|
|
1123
1168
|
type: "text",
|
|
1124
1169
|
snippet: null,
|
|
1125
|
-
note: 'In Kit, turn on "Add subscriber_id parameter in email links" in advanced tracking. Kit then adds ck_subscriber_id to every link in your broadcasts and sequences.'
|
|
1126
|
-
|
|
1127
|
-
{
|
|
1128
|
-
id: "klaviyo",
|
|
1129
|
-
tool: "Klaviyo",
|
|
1130
|
-
key: "klaviyo_id",
|
|
1131
|
-
type: "text",
|
|
1132
|
-
snippet: "?klaviyo_id={{ person.KlaviyoID }}",
|
|
1133
|
-
note: "Add this to the end of your form link in your Klaviyo email or flow. Klaviyo's preview leaves it blank, so check it with a test send."
|
|
1170
|
+
note: 'In Kit, turn on "Add subscriber_id parameter in email links" in advanced tracking. Kit then adds ck_subscriber_id to every link in your broadcasts and sequences.',
|
|
1171
|
+
help_url: "https://help.kit.com/en/articles/9375532-global-advanced-tracking"
|
|
1134
1172
|
}
|
|
1135
1173
|
];
|
|
1136
1174
|
function linkVariablePreset(key) {
|
|
@@ -3607,11 +3645,39 @@ var VIDEO_COMPRESS_BITRATE = 35e5;
|
|
|
3607
3645
|
var VIDEO_COMPRESS_FLOOR_BYTES = 1 * 1024 * 1024;
|
|
3608
3646
|
var MEDIA_VIDEO_MAX_BYTES = 200 * 1024 * 1024;
|
|
3609
3647
|
var FILE_DOWNLOAD_MAX_BYTES = 50 * 1024 * 1024;
|
|
3648
|
+
var VIDEO_COMPRESS_AUDIO_ALLOWANCE = 256e3;
|
|
3649
|
+
var VIDEO_COMPRESS_SIZE_MARGIN = 0.97;
|
|
3650
|
+
var VIDEO_COMPRESS_MAX_SECONDS = Math.floor(
|
|
3651
|
+
MEDIA_DIRECT_MAX_BYTES * 8 * VIDEO_COMPRESS_SIZE_MARGIN / (VIDEO_COMPRESS_BITRATE + VIDEO_COMPRESS_AUDIO_ALLOWANCE)
|
|
3652
|
+
);
|
|
3610
3653
|
var VIDEO_COMPRESS_SKIP_BITRATE = VIDEO_COMPRESS_BITRATE * 1.5;
|
|
3611
3654
|
var HELP_LINKS = buildHelpLinks(BUSINESS.urls.docs);
|
|
3612
3655
|
function viewerUrl(shareId) {
|
|
3613
3656
|
return `${BUSINESS.urls.viewer}/${shareId}`;
|
|
3614
3657
|
}
|
|
3658
|
+
var DASHBOARD_SETTINGS_PAGES = {
|
|
3659
|
+
account: "settings/account",
|
|
3660
|
+
company: "settings/company",
|
|
3661
|
+
companyBilling: "settings/company/billing",
|
|
3662
|
+
workspace: "settings/workspace",
|
|
3663
|
+
apiKeys: "settings/workspace/api-keys",
|
|
3664
|
+
webhooks: "settings/workspace/webhooks",
|
|
3665
|
+
domains: "settings/workspace/domains",
|
|
3666
|
+
authorizedApps: "settings/workspace/authorized-apps"
|
|
3667
|
+
};
|
|
3668
|
+
var DASHBOARD_SETTINGS_REDIRECTS = [
|
|
3669
|
+
{ from: "settings", to: DASHBOARD_SETTINGS_PAGES.workspace },
|
|
3670
|
+
{ from: "company", to: DASHBOARD_SETTINGS_PAGES.company },
|
|
3671
|
+
{ from: "company/billing", to: DASHBOARD_SETTINGS_PAGES.companyBilling },
|
|
3672
|
+
{ from: "settings/billing", to: DASHBOARD_SETTINGS_PAGES.companyBilling },
|
|
3673
|
+
{ from: "api-keys", to: DASHBOARD_SETTINGS_PAGES.apiKeys },
|
|
3674
|
+
{ from: "webhooks", to: DASHBOARD_SETTINGS_PAGES.webhooks },
|
|
3675
|
+
{ from: "settings/api-keys", to: DASHBOARD_SETTINGS_PAGES.apiKeys },
|
|
3676
|
+
{ from: "settings/webhooks", to: DASHBOARD_SETTINGS_PAGES.webhooks },
|
|
3677
|
+
{ from: "settings/integrations", to: "integrations" },
|
|
3678
|
+
{ from: "settings/domains", to: DASHBOARD_SETTINGS_PAGES.domains },
|
|
3679
|
+
{ from: "settings/connected-apps", to: DASHBOARD_SETTINGS_PAGES.authorizedApps }
|
|
3680
|
+
];
|
|
3615
3681
|
var PLAN_LIMITS = {
|
|
3616
3682
|
free_v1: {
|
|
3617
3683
|
tier: 0,
|
|
@@ -4329,4 +4395,4 @@ export {
|
|
|
4329
4395
|
textResult,
|
|
4330
4396
|
structuredResult
|
|
4331
4397
|
};
|
|
4332
|
-
//# sourceMappingURL=chunk-
|
|
4398
|
+
//# sourceMappingURL=chunk-FUIIVLWH.js.map
|