@appscreenshotstudio/mcp 0.5.2 → 0.5.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/dist/index.js CHANGED
@@ -409,7 +409,7 @@ Example edit messages:
409
409
  // Tool 3: render-screenshots
410
410
  server.registerTool('render-screenshots', {
411
411
  title: 'Render Screenshots to PNG',
412
- description: 'Export a screenshot project to high-resolution PNG files at exact App Store dimensions. Returns download URLs for each card. Free (no credit cost). Rendering blocks until the PNGs are ready: expect roughly 20-40s for iPhone sets and 60-120s for iPad (the larger canvas renders slower), so allow up to ~2 minutes before treating it as failed. Note: device mockups will show empty frames unless app screenshots have been uploaded via upload-screenshots first.',
412
+ 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). Free (no credit cost). Rendering blocks until the PNGs are ready: expect roughly 20-40s for iPhone sets and 60-120s for iPad (the larger canvas renders slower), so allow up to ~2 minutes before treating it as failed. Note: device mockups will show empty frames unless app screenshots have been uploaded via upload-screenshots first.',
413
413
  inputSchema: z.object({
414
414
  project_id: z.string().describe('Project ID to render'),
415
415
  }),
@@ -431,6 +431,9 @@ server.registerTool('render-screenshots', {
431
431
  '',
432
432
  ...images.map((img, i) => `Card ${i + 1}: ${img.url} (${img.width}×${img.height})`),
433
433
  '',
434
+ 'Download URLs are valid for 7 days. Save the PNGs to disk now if you',
435
+ 'need them long-term (re-rendering later is free).',
436
+ '',
434
437
  'Previews are shown below. To compare all cards side by side at full size,',
435
438
  'refine by hand, or export, open the project URL in the builder.',
436
439
  ].join('\n'),
@@ -480,7 +483,7 @@ Returns the canvas state with:
480
483
  - cards[]: each card has an id, elements array, and optional background settings
481
484
  - Each element has: type (text, device-mockup, shape, badge, image, star-rating), position (x, y), size (width, height), zIndex, and type-specific properties
482
485
  - Text elements: fontFamily, fontSize, fontWeight, color, segments (for multi-color text with per-word color, bold, italic, underline, highlightColor)
483
- - Device mockups: perspectiveVariant (flat, left-15, right-15, left-30, right-30, isometric, top-down, landscape-left, landscape-right), screenshotImage (null if no upload)
486
+ - Device mockups: perspectiveVariant (flat, left-15, right-15, left-30, right-30, isometric, top-down, landscape-left, landscape-right), screenshotImage (null if no upload), frameStyle (realistic | none), showIsland (false hides the Dynamic Island pill; Apple accepts screenshots either way)
484
487
  - Shapes: 94 shape types (17 core + 77 decorative across 13 categories) — core shapes (circle, rectangle, rounded-rect, blob, wave, triangle, diamond, hexagon, ring, star, wing-left, wing-right, etc.) plus decorative library shapes (leaf, flower, cloud, sparkle, heart, rocket, trophy, crown, coffee-cup, airplane, dollar-sign, paw-print, and many more)
485
488
  - projectMeta: globalVisualTheme, brandColors, mood, appCategory`,
486
489
  inputSchema: z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
- {
1
+ {
2
2
  "name": "@appscreenshotstudio/mcp",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "MCP server for generating App Store screenshots via AppScreenshotStudio",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -9,6 +9,9 @@
9
9
  "type": "git",
10
10
  "url": "https://github.com/TWWorks-org/mcp-server"
11
11
  },
12
+ "bugs": {
13
+ "url": "https://github.com/TWWorks-org/mcp-server/issues"
14
+ },
12
15
  "keywords": [
13
16
  "mcp",
14
17
  "model-context-protocol",
@@ -91,7 +91,7 @@ Hand off to the builder only when it genuinely helps: share the project URL and
91
91
 
92
92
  ### Step 6: Export
93
93
 
94
- `render-screenshots` is also the export: it returns download URLs for the final PNGs at exact App Store dimensions, and it is free. Give the user those URLs. The builder project URL is the alternative when they want to compare the full set visually or hand-tweak before downloading.
94
+ `render-screenshots` is also the export: it returns download URLs for the final PNGs at exact App Store dimensions, and it is free. Give the user those URLs and note they stay valid for 7 days, so download promptly (re-rendering later is free if a URL has expired). The builder project URL is the alternative when they want to compare the full set visually or hand-tweak before downloading.
95
95
 
96
96
  ## Headline Rules
97
97