@productmaker/mcp 2.4.0 → 2.8.3
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 +29 -2
- package/dist/http.js +1097 -471
- package/dist/stdio.js +1097 -471
- package/dist/ui/meta-upload-app.html +2268 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -85,10 +85,13 @@ Sign up at [productmaker.app](https://productmaker.app) and create a key (prefix
|
|
|
85
85
|
| `list_shopify_shops` | List connected Shopify stores |
|
|
86
86
|
| `list_shopify_products` | Search products in a connected Shopify store before choosing `targetProductId` for `publish_to_shopify` |
|
|
87
87
|
| `list_meta_ad_accounts` | List connected Meta ad accounts |
|
|
88
|
+
| `list_meta_destinations` | List Meta Business portfolios, ad accounts per portfolio, and Facebook Pages; use the returned IDs to choose the exact publication destination |
|
|
89
|
+
| `request_meta_media_upload` | Create a one-click ProductMaker upload page for up to ten mixed image/video files on the user's laptop; ChatGPT may attach optional `files` references for the UI bridge, but the MCP never downloads them and still uses the secure ProductMaker page |
|
|
90
|
+
| `check_meta_media_upload` | Check whether the user finished the browser upload and return every owner-scoped staged asset with its media kind |
|
|
88
91
|
| `list_tiktok_advertisers` | List connected TikTok Ads advertiser accounts |
|
|
89
92
|
| `publish_to_shopify` | Publish a completed task to a Shopify store (returns markdown with landing + product URLs) |
|
|
90
|
-
| `publish_to_meta` | Create a Meta Ads campaign from a task (always
|
|
91
|
-
| `publish_creatives_to_meta` | Group creatives
|
|
93
|
+
| `publish_to_meta` | Create a Meta Ads campaign from a task (always PAUSED) after selecting exact `portfolioId`, `adAccountId`, and `pageId` with `list_meta_destinations` |
|
|
94
|
+
| `publish_creatives_to_meta` | Group task creatives or user media into ONE paused Meta campaign; user media is staged on ProductMaker's CDN and removed after successful publication or TTL expiry |
|
|
92
95
|
| `publish_to_tiktok` | Create a TikTok Ads campaign from a task (always created PAUSED). Same `angleIndexes` + `campaignConfig` shape as Meta |
|
|
93
96
|
| `get_meta_campaign_status` | Read-only status + lifetime insights (spend/impressions/clicks/reach) of a Meta campaign |
|
|
94
97
|
| `get_tiktok_campaign_status` | Read-only status + lifetime report of a TikTok campaign (requires `advertiserId`) |
|
|
@@ -100,6 +103,30 @@ Sign up at [productmaker.app](https://productmaker.app) and create a key (prefix
|
|
|
100
103
|
| `guide_dropshipping_launch` | Read-only launch guidance: the project's phase and the single computed `nextAction`. Never activates Meta |
|
|
101
104
|
| `list_actors` | List the user's saved personajes (AI-generated people who can star in videos and images). Returns the `id` to pass as `actorId`. Read-only, free |
|
|
102
105
|
|
|
106
|
+
### Uploading personal media from a remote chat
|
|
107
|
+
|
|
108
|
+
When a user says “sube estos archivos de mi Desktop a Meta”, the hosted MCP
|
|
109
|
+
cannot open the laptop filesystem. Call `request_meta_media_upload` with its
|
|
110
|
+
default `mediaKind: "mixed"`; it returns a secure one-click ProductMaker page
|
|
111
|
+
for up to ten images and videos. In ChatGPT the tool may also receive top-level
|
|
112
|
+
`files` references from the host, but ProductMaker treats them only as UI
|
|
113
|
+
bridge metadata: it never downloads those URLs and it still requires the user
|
|
114
|
+
to complete the secure upload page. Ask the user to select the files there,
|
|
115
|
+
then call `check_meta_media_upload` with the returned `sessionId`. For every
|
|
116
|
+
reported entry in `assets[]`, use its `mediaKind` as the creative `type` and
|
|
117
|
+
its `stagingAssetId` as:
|
|
118
|
+
|
|
119
|
+
```json
|
|
120
|
+
{ "type": "staged", "stagingAssetId": "..." }
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
inside `publish_creatives_to_meta`. A partial batch may include only the assets
|
|
124
|
+
that `assets[]` actually reports as uploaded. The browser uploads directly to
|
|
125
|
+
the presigned CDN object; the chat never receives file bytes, base64, or a
|
|
126
|
+
local path, and ProductMaker deletes the staging object after a successful
|
|
127
|
+
paused Meta publication (or via the 24-hour TTL cleanup if the flow is
|
|
128
|
+
abandoned).
|
|
129
|
+
|
|
103
130
|
## Video duration and winner review
|
|
104
131
|
|
|
105
132
|
`create_product_task` and `generate_video_creative` accept `durationSeconds`:
|