@appscreenshotstudio/mcp 0.8.3 → 0.8.4
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/dist/index.js +10 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -348,8 +348,15 @@ Costs 5 credits per generation.`,
|
|
|
348
348
|
hasScreens
|
|
349
349
|
? '1. Your attached screenshots were placed into the device frames (upload-screenshots can swap any card later)'
|
|
350
350
|
: '1. Use upload-screenshots to add your app screenshots into the device frames',
|
|
351
|
-
|
|
352
|
-
|
|
351
|
+
// edit-screenshots was missing from this list until 2026-09-14, and the
|
|
352
|
+
// omission has a measurable cost: with no in-band pointer to the refine
|
|
353
|
+
// path, the cheapest visible way to change a design is to call generate
|
|
354
|
+
// again, which bills 5 credits and starts a NEW project every time. User
|
|
355
|
+
// 5b0a496d called generate 4x and edit 0x on one brief, spending 20 of 25
|
|
356
|
+
// trial credits on four near-identical projects.
|
|
357
|
+
'2. Use edit-screenshots to refine THIS project (change copy, colours, layout). Prefer it over calling generate again: generate always starts a new project and re-bills.',
|
|
358
|
+
'3. Use render-screenshots to export final PNGs (needs a paid plan; trials can build and iterate but not export)',
|
|
359
|
+
'4. Or open the project URL in a browser to preview and adjust',
|
|
353
360
|
'',
|
|
354
361
|
imageErrors.length ? `Image read warnings:\n${imageErrors.join('\n')}` : '',
|
|
355
362
|
chatData.suggestions?.length
|
|
@@ -493,7 +500,7 @@ server.registerTool('render-screenshots', {
|
|
|
493
500
|
idempotentHint: true,
|
|
494
501
|
openWorldHint: false,
|
|
495
502
|
},
|
|
496
|
-
description: 'Export a screenshot project to high-resolution PNG files at exact App Store dimensions. Returns download URLs for each card; URLs stay valid for 7 days, so save the PNGs to disk promptly (re-rendering is free if a URL has expired).
|
|
503
|
+
description: 'Export a screenshot project to high-resolution PNG files at exact App Store dimensions. Returns download URLs for each card; URLs stay valid for 7 days, so save the PNGs to disk promptly (re-rendering is free if a URL has expired). Costs no credits, but export is unlocked by the first payment: on a trial this returns 402 PAYMENT_REQUIRED, so check the plan before promising a user their PNGs. Pass device_ids to get the same canvas at several device sizes in one call, re-laid-out for each, instead of building a second project: an App Store submission wants the 6.9-inch iPhone and, when the app supports iPad, the 13-inch iPad, and Google Play is a separate listing. Rendering blocks until the PNGs are ready: expect roughly 20-40s per iPhone set and 60-120s per iPad set (the larger canvas renders slower), and those add up per device, so allow up to ~2 minutes each before treating it as failed. Note: device mockups will show empty frames unless app screenshots have been uploaded via upload-screenshots first.',
|
|
497
504
|
inputSchema: z.object({
|
|
498
505
|
project_id: z.string().describe('Project ID to render'),
|
|
499
506
|
device_ids: z
|
package/package.json
CHANGED