instantclips-mcp 1.7.2 → 1.10.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.es.md CHANGED
@@ -63,6 +63,18 @@ guiará por el inicio de sesión la primera vez. Usa un token y el adaptador std
63
63
  navegador?», más abajo) solo para scripts y procesos automatizados que no pueden abrir una página
64
64
  de inicio de sesión.
65
65
 
66
+ ### Cualquier agente de programación
67
+
68
+ Pega esto en Claude Code, Codex o cualquier agente que ejecute comandos. Añade InstantClips por sí
69
+ mismo y después te dice cómo iniciar sesión:
70
+
71
+ ```text
72
+ Configura InstantClips para mí siguiendo las instrucciones de https://app.instantclips.ai/mcp.md
73
+ ```
74
+
75
+ Las instrucciones que sigue están en [app.instantclips.ai/mcp.md](https://app.instantclips.ai/mcp.md): los comandos de abajo, una
76
+ sección por cliente.
77
+
66
78
  ### Claude Code
67
79
 
68
80
  ```bash
@@ -75,15 +87,13 @@ la carpeta en la que ejecutas el comando.
75
87
 
76
88
  ### Codex
77
89
 
78
- Añade lo siguiente a `~/.codex/config.toml`, el archivo que leen la CLI de Codex, la extensión de
79
- Codex para el IDE y la aplicación de escritorio de ChatGPT:
80
-
81
- ```toml
82
- [mcp_servers.instantclips]
83
- url = "https://app.instantclips.ai/mcp"
90
+ ```bash
91
+ codex mcp add instantclips --url https://app.instantclips.ai/mcp
84
92
  ```
85
93
 
86
- Después ejecuta `codex mcp login instantclips` para iniciar sesión.
94
+ Añade InstantClips a `~/.codex/config.toml`, el archivo que leen la CLI de Codex, la extensión de
95
+ Codex para el IDE y la aplicación de escritorio de ChatGPT, y abre tu navegador para iniciar sesión.
96
+ `codex mcp login instantclips` vuelve a iniciar el inicio de sesión.
87
97
 
88
98
  ### Cursor y VS Code
89
99
 
@@ -212,20 +222,22 @@ El flujo de trabajo, en orden:
212
222
 
213
223
  1. **Importar** — usa `import_product_from_url` para una página de tienda o
214
224
  `create_product_from_images` cuando no haya una página que leer.
215
- 2. **Esperar el borrador** — consulta `get_product` periódicamente hasta que terminen la importación
216
- y la preparación del plan.
217
- 3. **Revisarlo y orientarlo** — el plan se devuelve como texto para que el usuario lo revise.
218
- `update_video_direction` cambia lo que haga falta y `redraft_video_direction` propone otro
219
- enfoque.
225
+ 2. **Esperar la importación** — consulta `get_product` periódicamente hasta que `import_status` sea
226
+ "imported".
227
+ 3. **Elegir la idea y revisar el plan** — ofrece las `ideas` del producto, como hace la web. La
228
+ elección del usuario, o sus propias palabras, va en el `creator_note` de `update_video_direction`,
229
+ que redacta el plan; `redraft_video_direction` sin idea elige una por él. El plan se devuelve
230
+ como texto para que el usuario lo revise, y `update_video_direction` cambia lo que haga falta.
220
231
  4. **Generar** — usa `generate_video` pasando `expected_credit_cost`: el coste que se le indicó al
221
232
  usuario, tal como lo informó `get_product`. Si no coincide, se rechaza sin cobrar.
222
- 5. **Recoger el resultado** — consulta `get_video` periódicamente para obtener el MP4 terminado y
223
- un enlace público para compartirlo.
233
+ 5. **Recoger el resultado** — consulta `get_video` periódicamente hasta que termine y entrega al
234
+ usuario el `download_url`, la página propia del vídeo y su enlace público para compartirlo.
224
235
 
225
236
  Otro vídeo del mismo producto sigue el mismo flujo sobre ese producto: editar o volver a preparar el
226
237
  plan abre el borrador del siguiente vídeo, y `generate_video` sin borrador genera otra toma del último
227
238
  plan. Un vídeo ya generado no se puede modificar. Cada respuesta de `get_product` incluye `next_step`:
228
- qué hacer a continuación.
239
+ qué hacer a continuación. Cuando el usuario ha visto un vídeo, `rate_video` registra su valoración;
240
+ `send_feedback` envía al equipo una nota sobre las propias herramientas, con el visto bueno del usuario.
229
241
 
230
242
  Las marcas funcionan de la misma manera: `list_brands`, `create_brand`, `set_product_brand`. Cada
231
243
  vídeo se prepara con la voz de una marca; por eso, si el escaparate de un producto importado no
package/README.md CHANGED
@@ -58,6 +58,18 @@ Connect to the hosted endpoint directly whenever your client supports Streamable
58
58
  you through sign-in on first use. Use a token and the stdio adapter (under "No browser?" below)
59
59
  only for scripts and automated runners that cannot open a sign-in page.
60
60
 
61
+ ### Any coding agent
62
+
63
+ Paste this into Claude Code, Codex or any agent that runs commands. It adds InstantClips itself,
64
+ then tells you how to sign in:
65
+
66
+ ```text
67
+ Set me up with InstantClips by following the instructions at https://app.instantclips.ai/mcp.md
68
+ ```
69
+
70
+ The instructions it follows are [app.instantclips.ai/mcp.md](https://app.instantclips.ai/mcp.md): the commands below, one section
71
+ per client.
72
+
61
73
  ### Claude Code
62
74
 
63
75
  ```bash
@@ -69,15 +81,13 @@ every project; without it, Claude Code adds a server only to the folder you run
69
81
 
70
82
  ### Codex
71
83
 
72
- Add to `~/.codex/config.toml`, which the Codex CLI, the Codex IDE extension and the ChatGPT desktop
73
- app all read:
74
-
75
- ```toml
76
- [mcp_servers.instantclips]
77
- url = "https://app.instantclips.ai/mcp"
84
+ ```bash
85
+ codex mcp add instantclips --url https://app.instantclips.ai/mcp
78
86
  ```
79
87
 
80
- Then run `codex mcp login instantclips` to sign in.
88
+ It adds InstantClips to `~/.codex/config.toml`, which the Codex CLI, the Codex IDE extension and the
89
+ ChatGPT desktop app all read, and opens your browser to sign in. `codex mcp login instantclips`
90
+ starts the sign-in again.
81
91
 
82
92
  ### Cursor and VS Code
83
93
 
@@ -200,18 +210,21 @@ The workflow, in order:
200
210
 
201
211
  1. **Import** — `import_product_from_url` for a store page, or `create_product_from_images` when
202
212
  there is no page to read.
203
- 2. **Wait for the draft** — poll `get_product` until the import and the plan have finished.
204
- 3. **Read and steer it** — the plan comes back as text for the user to review.
205
- `update_video_direction` changes anything in it, `redraft_video_direction` asks for another
206
- angle.
213
+ 2. **Wait for the import** — poll `get_product` until `import_status` is "imported".
214
+ 3. **Choose the idea, then read the plan** — offer the product's `ideas`, as the website does. The
215
+ user's pick, or their own words, goes in `update_video_direction`'s `creator_note`, which writes
216
+ the plan; `redraft_video_direction` with no idea picks one for them. The plan comes back as
217
+ text for the user to review, and `update_video_direction` changes anything in it.
207
218
  4. **Generate** — `generate_video`, passing `expected_credit_cost`: the cost the user was told, as
208
219
  `get_product` reported it. A mismatch is refused without charging.
209
- 5. **Collect** — poll `get_video` for the finished MP4 and a public share link.
220
+ 5. **Collect** — poll `get_video` until it is done, then give the user `download_url`, the video's
221
+ own page and its public share link.
210
222
 
211
223
  Another video for the same product is the same flow on that product: editing or redrafting opens the
212
224
  next video's draft, and `generate_video` with no draft renders another take of the last plan. A
213
225
  generated video itself cannot be changed. Every `get_product` response carries `next_step`: what to
214
- do now.
226
+ do now. Once the user has watched a video, `rate_video` records their verdict; `send_feedback` sends
227
+ the team a note about the tools themselves, with the user's OK.
215
228
 
216
229
  Brands work the same way: `list_brands`, `create_brand`, `set_product_brand`. Every video is
217
230
  drafted in a brand's voice, so an import whose storefront matches no existing brand stops and asks
package/README.zh-CN.md CHANGED
@@ -50,6 +50,16 @@ Cursor 和 VS Code 的一键安装按钮。
50
50
  如果客户端支持 Streamable HTTP,请直接连接托管端点,首次使用时会引导你登录。只有脚本和无法打开
51
51
  登录页的自动化运行环境,才需要使用令牌和下方“没有浏览器?”一节中的 stdio 适配器。
52
52
 
53
+ ### 任意编程 agent
54
+
55
+ 把这句话粘贴到 Claude Code、Codex 或任何能运行命令的 agent 里。它会自己添加 InstantClips,再告诉你怎么登录:
56
+
57
+ ```text
58
+ 按照 https://app.instantclips.ai/mcp.md 上的说明,为我设置 InstantClips
59
+ ```
60
+
61
+ 它照着做的说明在 [app.instantclips.ai/mcp.md](https://app.instantclips.ai/mcp.md):就是下面这些命令,每个客户端一节。
62
+
53
63
  ### Claude Code
54
64
 
55
65
  ```bash
@@ -61,14 +71,11 @@ claude mcp add --transport http --scope user instantclips https://app.instantcli
61
71
 
62
72
  ### Codex
63
73
 
64
- 将以下配置添加到 `~/.codex/config.toml`。Codex CLI、Codex IDE 扩展和 ChatGPT 桌面版都会读取这个文件:
65
-
66
- ```toml
67
- [mcp_servers.instantclips]
68
- url = "https://app.instantclips.ai/mcp"
74
+ ```bash
75
+ codex mcp add instantclips --url https://app.instantclips.ai/mcp
69
76
  ```
70
77
 
71
- 然后运行 `codex mcp login instantclips` 登录。
78
+ 它会把 InstantClips 添加到 `~/.codex/config.toml`(Codex CLI、Codex IDE 扩展和 ChatGPT 桌面版都会读取这个文件),并打开浏览器让你登录。`codex mcp login instantclips` 可以重新登录。
72
79
 
73
80
  ### Cursor 和 VS Code
74
81
 
@@ -183,16 +190,18 @@ INSTANTCLIPS_TOKEN="your-token" npx -y instantclips-mcp --check --json
183
190
 
184
191
  1. **导入** — 如果有店铺商品页面,使用 `import_product_from_url`;如果没有可读取的页面,则使用
185
192
  `create_product_from_images`。
186
- 2. **等待草稿** — 轮询 `get_product`,直到商品导入和方案起草完成。
187
- 3. **查看并调整** — 方案以文本返回,供用户审阅。
188
- 使用 `update_video_direction` 修改任何内容,或使用 `redraft_video_direction` 换一个角度。
193
+ 2. **等待导入** — 轮询 `get_product`,直到 `import_status` 为 "imported"。
194
+ 3. **选择创意,再查看方案** — 像网站一样,提供商品的 `ideas`。用户选中的创意或自己的描述放进
195
+ `update_video_direction` 的 `creator_note`,由它写出方案;不带创意调用 `redraft_video_direction`
196
+ 则由我们选一个。方案以文本返回,供用户审阅,使用 `update_video_direction` 可修改其中任何内容。
189
197
  4. **生成** — 使用 `generate_video`,并传入 `expected_credit_cost`:即 `get_product` 报告并已告知用户的
190
198
  算力费用。费用不一致时会拒绝执行,不会扣费。
191
- 5. **获取结果** — 轮询 `get_video`,获取完成的 MP4 文件和公开分享链接。
199
+ 5. **获取结果** — 轮询 `get_video` 直到完成,然后把 `download_url`、视频自己的页面和公开分享链接交给用户。
192
200
 
193
201
  为同一商品制作另一个视频,走的是同一流程:编辑或重新起草会打开下一个视频的草稿;没有草稿时调用
194
202
  `generate_video` 会按上一方案再生成一版。已生成的视频本身无法修改。每次 `get_product` 的响应都带有
195
- `next_step`,说明下一步该做什么。
203
+ `next_step`,说明下一步该做什么。用户看过视频后,`rate_video` 记录用户自己的评价;`send_feedback`
204
+ 经用户同意后,把关于这些工具本身的意见发给团队。
196
205
 
197
206
  品牌的操作方式相同:`list_brands`、`create_brand`、`set_product_brand`。每个视频都会采用对应品牌
198
207
  的表达风格进行起草。因此,当导入商品的店铺与任何现有品牌都不匹配时,流程会暂停并询问,而不是