@productmaker/mcp 2.8.3 → 2.9.2

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 CHANGED
@@ -86,7 +86,7 @@ Sign up at [productmaker.app](https://productmaker.app) and create a key (prefix
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
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 |
89
+ | `request_meta_media_upload` | Start secure staging for up to ten mixed image/video files from the user's laptop; accepts an optional `maxFiles` limit, ChatGPT can pass optional top-level `files` references from the same message into the inline App bridge, other MCP App hosts use the inline picker, and the external ProductMaker page remains fallback only |
90
90
  | `check_meta_media_upload` | Check whether the user finished the browser upload and return every owner-scoped staged asset with its media kind |
91
91
  | `list_tiktok_advertisers` | List connected TikTok Ads advertiser accounts |
92
92
  | `publish_to_shopify` | Publish a completed task to a Shopify store (returns markdown with landing + product URLs) |
@@ -106,13 +106,19 @@ Sign up at [productmaker.app](https://productmaker.app) and create a key (prefix
106
106
  ### Uploading personal media from a remote chat
107
107
 
108
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
109
+ cannot open the laptop filesystem directly. Call `request_meta_media_upload`
110
+ with its default `mediaKind: "mixed"`. The primary path is the inline MCP App:
111
+ in ChatGPT, the same user message may contribute top-level `files` references;
112
+ in other MCP App hosts, the user can still pick the files from the inline
113
+ widget. The inline device picker sends `File` objects directly to ProductMaker's
114
+ private staging CDN; it does not upload them to the host first. ProductMaker
115
+ treats any `files` references only as UI bridge metadata:
116
+ it never downloads those URLs itself, never forwards them to the API, and never
117
+ asks the user for a CDN URL, local path, bytes, or base64.
118
+
119
+ If the host lacks the bridge/picker capabilities, fall back to the external
120
+ ProductMaker upload page returned by the tool. Once the user finishes staging,
121
+ call `check_meta_media_upload` with the returned `sessionId`. For every
116
122
  reported entry in `assets[]`, use its `mediaKind` as the creative `type` and
117
123
  its `stagingAssetId` as:
118
124