@appscreenshotstudio/mcp 0.4.2 → 0.4.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/dist/index.js +14 -13
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -182,7 +182,7 @@ The AI generates professional screenshots using:
182
182
  - **Rich text**: per-word color, bold, italic, underline, highlight pills (colored backgrounds behind words), gradient fills, text stroke outlines, emoji
183
183
  - **Laurel stats**: wing-left + wing-right shapes flanking stats like "4.9 Rating" or "1M+ Users"
184
184
  - **Floating UI snippets**: rounded-rect panels with text overlapping device edges
185
- - **11 device perspectives**: flat, left-15, left-30, right-15, right-30, isometric, top-down, flat-lay, side-profile, landscape-left, landscape-right
185
+ - **9 device perspectives**: flat, left-15, left-30, right-15, right-30, isometric, top-down, landscape-left, landscape-right
186
186
  - **7 layouts**: Text Top + Device Center (A), Text Top + Device Offset (B), Social Proof (C), Marketing Title (M1), Feature Callout (M2), CTA (M3), Testimonial (M4)
187
187
 
188
188
  ## Workflow
package/dist/index.js CHANGED
@@ -126,7 +126,7 @@ function buildDesignMessage(input) {
126
126
  // ─── MCP Server ─────────────────────────────────────────────────────────────────
127
127
  const server = new McpServer({
128
128
  name: 'appscreenshotstudio',
129
- version: '0.4.0',
129
+ version: '0.4.3',
130
130
  });
131
131
  // Tool 1: generate-screenshots
132
132
  server.registerTool('generate-screenshots', {
@@ -148,14 +148,14 @@ The AI picks a narrative arc that fits the app's sell angle (trust-first for fin
148
148
  - text-bottom: headline anchored to lower third, cinematic
149
149
  - stats-hero: giant centered stat(s), no device, numbers-led
150
150
 
151
- Each card can carry auto-positioned compound fields: statRow, laurelStat, pressBanner, starRating, quote, featurePills, featureGrid, stepFlow, snippets, beforeAfterSplit.
151
+ Each card can carry auto-positioned compound fields: statRow, laurelStat, pressBanner, starRating, quote, featureGrid, beforeAfterSplit.
152
152
 
153
153
  Panoramic backgrounds slice one wide AI-generated or Pexels image across multiple cards for cohesion. Panoramic element spans stretch a foreground image or device across adjacent cards.
154
154
 
155
155
  Design features:
156
156
  - Rich text with per-word color, weight, italic, underline, highlight pills, gradient fills, stroke outlines, and emoji
157
- - Device perspective variants: flat, left-15/30, right-15/30, isometric, top-down, flat-lay, side-profile, landscape
158
- - 76+ decorative shapes across 13 categories (nature, weather, celebration, social, tech, health, food, travel, abstract, finance, education, pets, emoji)
157
+ - Device perspective variants: flat, left-15/30, right-15/30, isometric, top-down, landscape
158
+ - 77 decorative shapes across 13 categories (nature, weather, celebration, social, tech, health, food, travel, abstract, finance, education, pets, emoji), plus 17 core geometric shapes
159
159
  - Laurel stats: wing-left + wing-right shapes flanking a hero number
160
160
 
161
161
  App Store 60/40 rule enforced: minimum 60% of cards must show a device mockup, maximum 40% can be marketing-only.
@@ -270,21 +270,21 @@ What you can change:
270
270
  - Colors: brand palette, gradient backgrounds, accent colors, text colors
271
271
  - Layouts (9 types): text-top-device-bottom, text-top-device-tilted, device-hero, social-proof, feature-callout, lifestyle-hero, before-after, text-bottom, stats-hero. The AI picks a narrative arc (HOOK → EDUCATE → PROVE → CONVERT) across the set.
272
272
  - Layout params: deviceScale (small/medium/large), deviceSide (left/right), textPosition (above/below), compoundPlacement (below-text/below-device)
273
- - Device mockups: perspective variants (flat, left-15, right-15, left-30, right-30, isometric, top-down, flat-lay, side-profile, landscape-left, landscape-right), 2D rotation, resize, reposition
273
+ - Device mockups: perspective variants (flat, left-15, right-15, left-30, right-30, isometric, top-down, landscape-left, landscape-right), 2D rotation, resize, reposition
274
+ - Frame color: recolor the device frame — "natural" (default), "black", "white", "gold". Examples: "make the iPhone gold", "black titanium finish", "white iPhone". Requires Growth plan or higher.
274
275
  - Switch devices: "make this for Apple Watch" / "duplicate for Android tablet" clones the project at the target device's canvas size
275
276
  - Add/remove cards: add a social proof card, remove card 3, add a marketing title card
276
- - Compound fields (auto-positioned): statRow, laurelStat, pressBanner, starRating, quote, featurePills, featureGrid, stepFlow, snippets, beforeAfterSplit
277
+ - Compound fields (auto-positioned): statRow, laurelStat, pressBanner, starRating, quote, featureGrid, beforeAfterSplit
277
278
  - Panoramic backgrounds: one wide AI or Pexels image sliced across multiple cards ("pano the background across cards 1-3")
278
279
  - Panoramic element spans: stretch a foreground image, device-mockup, or shape across adjacent cards ("pano the device across cards 1-2")
279
- - Floating elements: add/edit badges, star ratings, floating UI snippets
280
+ - Floating elements: add/edit badges, star ratings
280
281
  - Shapes: glow orbs, waves, blobs, rounded rectangles, circles, custom SVG paths
281
- - Decorative shapes: 76+ library shapes — leaf, flower, cloud, sparkle, heart, rocket, trophy, crown, coffee-cup, airplane, dollar-sign, paw-print, wing-left/wing-right (for laurels), and many more
282
+ - Decorative shapes: 77 library shapes — leaf, flower, cloud, sparkle, heart, rocket, trophy, crown, coffee-cup, airplane, dollar-sign, paw-print, wing-left/wing-right (for laurels), and many more
282
283
  - Backgrounds: solid, subtle-gradient, rich-gradient, photo (Pexels), or ai-generated; change gradient colors/angle; set a backgroundPrompt for AI-generated
283
284
  - Style: shadows, opacity, border radius, rotation, blur
284
285
 
285
286
  What isn't supported (the AI will flag these in unsupportedAsks):
286
287
  - Multiple devices side-by-side in a single card (e.g. iPhone + Watch in one scene) — each card renders one device. Use the duplicate-for-device workflow instead, or split across cards.
287
- - Frame color selection (white/silver/space-black) — pick a frame style in the canvas device panel.
288
288
  - Uploading a specific user-supplied screenshot into a mockup — use upload-screenshots tool first, then reference the uploaded project.
289
289
 
290
290
  Example edit messages:
@@ -295,6 +295,7 @@ Example edit messages:
295
295
  - "Pano the background photo across cards 1-3"
296
296
  - "Stretch the device on card 1 across into card 2"
297
297
  - "Make this project for Apple Watch"
298
+ - "Recolor the iPhone frame to gold across all cards"
298
299
  - "Replace card 3 with a CTA card saying Download Free"
299
300
  - "Switch card 2 to device-hero layout with statRow showing our three key metrics"
300
301
  - "Add a before-after card showing the transformation"
@@ -303,8 +304,8 @@ Example edit messages:
303
304
  inputSchema: z.object({
304
305
  project_id: z.string().describe('Project ID from a previous generate-screenshots call'),
305
306
  message: z.string().describe('What to change — use natural language'),
306
- card_indices: z.array(z.number()).optional()
307
- .describe('Target specific cards by index (0-based). e.g. [0] for card 1, [2,3] for cards 3-4. Omit to apply changes to all cards.'),
307
+ card_indices: z.array(z.number().int().min(0)).max(10).optional()
308
+ .describe('Target specific cards by index (0-based). e.g. [0] for card 1, [2,3] for cards 3-4. Max 10 indices. Omit to apply changes to all cards.'),
308
309
  codebase_context: z.object({
309
310
  readme_summary: z.string().optional(),
310
311
  key_screens: z.array(z.string()).max(15).optional(),
@@ -423,8 +424,8 @@ Returns the canvas state with:
423
424
  - cards[]: each card has an id, elements array, and optional background settings
424
425
  - Each element has: type (text, device-mockup, shape, badge, image, star-rating), position (x, y), size (width, height), zIndex, and type-specific properties
425
426
  - Text elements: fontFamily, fontSize, fontWeight, color, segments (for multi-color text with per-word color, bold, italic, underline, highlightColor)
426
- - Device mockups: perspectiveVariant (flat, left-15, right-15, left-30, right-30, isometric, top-down, flat-lay, side-profile, landscape-left, landscape-right), screenshotImage (null if no upload)
427
- - Shapes: 78+ shape types 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)
427
+ - Device mockups: perspectiveVariant (flat, left-15, right-15, left-30, right-30, isometric, top-down, landscape-left, landscape-right), screenshotImage (null if no upload)
428
+ - 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)
428
429
  - projectMeta: globalVisualTheme, brandColors, mood, appCategory`,
429
430
  inputSchema: z.object({
430
431
  project_id: z.string().describe('Project ID to inspect'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscreenshotstudio/mcp",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "MCP server for generating App Store screenshots via AppScreenshotStudio",
5
5
  "type": "module",
6
6
  "license": "MIT",