@clipform/mcp-server 3.0.0 → 3.3.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 +2 -2
- package/README.template.md +1 -1
- package/dist/auth-context.d.ts +13 -0
- package/dist/auth-context.js +1 -1
- package/dist/{chunk-KCF7ZVDI.js → chunk-22BV4NSB.js} +2 -2
- package/dist/{chunk-QBPE32AV.js → chunk-4XCXDH3I.js} +359 -83
- package/dist/chunk-4XCXDH3I.js.map +1 -0
- package/dist/{chunk-HZMMOSEM.js → chunk-A5CFGL27.js} +1 -1
- package/dist/chunk-A5CFGL27.js.map +1 -0
- package/dist/{chunk-EXV5M7YV.js → chunk-ELK26KWM.js} +2 -2
- package/dist/{chunk-KNOCYZHG.js → chunk-SEZ37YSH.js} +105 -22
- package/dist/chunk-SEZ37YSH.js.map +1 -0
- 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 -2
- package/dist/chunk-HZMMOSEM.js.map +0 -1
- package/dist/chunk-KNOCYZHG.js.map +0 -1
- package/dist/chunk-QBPE32AV.js.map +0 -1
- /package/dist/{chunk-KCF7ZVDI.js.map → chunk-22BV4NSB.js.map} +0 -0
- /package/dist/{chunk-EXV5M7YV.js.map → chunk-ELK26KWM.js.map} +0 -0
package/README.md
CHANGED
|
@@ -82,7 +82,7 @@ Your MCP client lists these automatically on connect (via `tools/list`). Full re
|
|
|
82
82
|
| `clipform_delete_node_media` | Remove media from a node. |
|
|
83
83
|
| `clipform_set_logic` | Set the next node for one or more nodes, wiring a linear route (A to B to C). |
|
|
84
84
|
| `clipform_log_generation` | Internal audit step run by a form-generation workflow. |
|
|
85
|
-
| `clipform_search_news` |
|
|
85
|
+
| `clipform_search_news` | Search recent news articles from NewsAPI and The Guardian and return them as structured results. |
|
|
86
86
|
| `clipform_generate_tts` | Generate narration audio from text with word-level captions. |
|
|
87
87
|
| `clipform_search_media` | Search images or stock video clips. |
|
|
88
88
|
| `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. |
|
|
@@ -102,7 +102,7 @@ Your MCP client lists these automatically on connect (via `tools/list`). Full re
|
|
|
102
102
|
|
|
103
103
|
## How it works
|
|
104
104
|
|
|
105
|
-
**Remote (OAuth):** Bearer tokens are audience-bound to `https://mcp.clipform.io` (RFC 8707) and scoped to `mcp` only. Forms land directly in the workspace you approved during consent.
|
|
105
|
+
**Remote (OAuth):** Bearer tokens are audience-bound to `https://mcp.clipform.io` (RFC 8707) and scoped to `mcp` only. Forms land directly in the workspace you approved during consent by default. One connection reaches every workspace you belong to in the same company: pass `workspace_id` (ids from `clipform_whoami`) on `clipform_create_form`, `clipform_import_form`, `clipform_list_forms`, `clipform_upload_media_asset`, or `clipform_generate_tts`, or a `form_id` from another workspace on any form tool - including `clipform_upload_media_asset`, `clipform_generate_tts`, and `clipform_complete_media_upload`, where it's a routing hint only (the result still lands in that workspace's media library, not on a node). Membership is re-checked on every call, and results name the workspace.
|
|
106
106
|
|
|
107
107
|
**Local with API key:** The `CLIPFORM_API_KEY` is sent as a standard `Authorization: Bearer` header. Forms are created directly in the key's workspace with your plan tier limits.
|
|
108
108
|
|
package/README.template.md
CHANGED
|
@@ -75,7 +75,7 @@ Your MCP client lists these automatically on connect (via `tools/list`). Full re
|
|
|
75
75
|
|
|
76
76
|
## How it works
|
|
77
77
|
|
|
78
|
-
**Remote (OAuth):** Bearer tokens are audience-bound to `{{MCP_URL}}` (RFC 8707) and scoped to `mcp` only. Forms land directly in the workspace you approved during consent.
|
|
78
|
+
**Remote (OAuth):** Bearer tokens are audience-bound to `{{MCP_URL}}` (RFC 8707) and scoped to `mcp` only. Forms land directly in the workspace you approved during consent by default. One connection reaches every workspace you belong to in the same company: pass `workspace_id` (ids from `clipform_whoami`) on `clipform_create_form`, `clipform_import_form`, `clipform_list_forms`, `clipform_upload_media_asset`, or `clipform_generate_tts`, or a `form_id` from another workspace on any form tool - including `clipform_upload_media_asset`, `clipform_generate_tts`, and `clipform_complete_media_upload`, where it's a routing hint only (the result still lands in that workspace's media library, not on a node). Membership is re-checked on every call, and results name the workspace.
|
|
79
79
|
|
|
80
80
|
**Local with API key:** The `CLIPFORM_API_KEY` is sent as a standard `Authorization: Bearer` header. Forms are created directly in the key's workspace with your plan tier limits.
|
|
81
81
|
|
package/dist/auth-context.d.ts
CHANGED
|
@@ -17,6 +17,19 @@ interface McpAuthContext {
|
|
|
17
17
|
is_anonymous?: boolean;
|
|
18
18
|
auth_via?: "oauth";
|
|
19
19
|
mcp_mint_proof?: string;
|
|
20
|
+
resolveWorkspace?: (target: {
|
|
21
|
+
workspace_id?: string;
|
|
22
|
+
form_id?: string;
|
|
23
|
+
}) => Promise<{
|
|
24
|
+
workspace_id: string;
|
|
25
|
+
workspace_name: string;
|
|
26
|
+
api_key: string;
|
|
27
|
+
} | null>;
|
|
28
|
+
listWorkspaces?: () => Promise<{
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
}[]>;
|
|
32
|
+
default_workspace_id?: string;
|
|
20
33
|
}
|
|
21
34
|
/**
|
|
22
35
|
* Marker header the in-process MCP tool layer sets on its outgoing API
|
package/dist/auth-context.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
WORKFLOW_TYPES,
|
|
4
4
|
getDiscoveryParams,
|
|
5
5
|
getSessionContextWithAuth
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SEZ37YSH.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./chunk-G3PMV62Z.js";
|
|
@@ -4856,4 +4856,4 @@ export {
|
|
|
4856
4856
|
getWorkflowText,
|
|
4857
4857
|
registerPrompts
|
|
4858
4858
|
};
|
|
4859
|
-
//# sourceMappingURL=chunk-
|
|
4859
|
+
//# sourceMappingURL=chunk-22BV4NSB.js.map
|