@appscreenshotstudio/mcp 0.4.0 → 0.4.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.
Files changed (3) hide show
  1. package/README.md +2 -1
  2. package/dist/index.js +43 -28
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -171,7 +171,8 @@ Once installed, use `/appscreenshotstudio` in Claude Code or just ask "generate
171
171
  | `iphone-6.9` | iPhone 16 Pro Max | 1260x2736 | App Store |
172
172
  | `ipad-13` | iPad Pro 13" | 2064x2752 | App Store |
173
173
  | `android-phone` | Android Phone | 1080x2340 | Play Store |
174
- | `android-tablet-10` | Android Tablet 10" | 2560x1600 | Play Store |
174
+ | `android-tablet-10` | Android Tablet 7" | 1200x1920 | Play Store |
175
+ | `apple-watch-ultra` | Apple Watch Ultra 2 | 410x502 | App Store |
175
176
 
176
177
  ## Design Features
177
178
 
package/dist/index.js CHANGED
@@ -28,11 +28,13 @@ if (args[0] === 'install-skill') {
28
28
  const API_BASE = process.env.APPSCREENSHOTSTUDIO_URL || 'https://appscreenshotstudio.com';
29
29
  const API_KEY = process.env.APPSCREENSHOTSTUDIO_API_KEY;
30
30
  // ─── Devices (mirrors lib/device-specs.ts) ─────────────────────────────────────
31
+ // ⚠️ Keep in sync: lib/device-specs.ts, mcp-server/README.md, docs/api page, docs/mcp page
31
32
  const DEVICES = [
32
33
  { id: 'iphone-6.9', name: 'iPhone 16 Pro Max', width: 1260, height: 2736, category: 'iphone', required: true },
33
34
  { id: 'ipad-13', name: 'iPad Pro 13"', width: 2064, height: 2752, category: 'ipad', required: true },
34
35
  { id: 'android-phone', name: 'Android Phone', width: 1080, height: 2340, category: 'android-phone', required: true },
35
- { id: 'android-tablet-10', name: 'Android Tablet 10"', width: 2560, height: 1600, category: 'android-tablet', required: true },
36
+ { id: 'android-tablet-10', name: 'Android Tablet 7"', width: 1200, height: 1920, category: 'android-tablet', required: true },
37
+ { id: 'apple-watch-ultra', name: 'Apple Watch Ultra 2', width: 410, height: 502, category: 'apple-watch', required: true },
36
38
  ];
37
39
  const VALID_DEVICE_IDS = DEVICES.map(d => d.id);
38
40
  // ─── API helper ─────────────────────────────────────────────────────────────────
@@ -133,28 +135,30 @@ server.registerTool('generate-screenshots', {
133
135
 
134
136
  IMPORTANT: Before calling this tool, research the user's codebase to populate the codebase_context parameter. Search for: package.json/README (app name & description), theme/color config files (brand colors), route definitions (key screens), marketing copy (value proposition), and App Store metadata. The more context you provide, the better the screenshots will be. Call prepare-screenshot-brief first if you need a research checklist.
135
137
 
136
- Each card is a layered composition with: gradient background, decorative glow orbs, bold headline with colored accent words, device mockup (iPhone/iPad/Android with perspective tilts), and optional floating elements (badges, star ratings, UI snippets).
138
+ The AI picks a narrative arc that fits the app's sell angle (trust-first for finance/health, visual-first for creative/lifestyle, problem-first for pain-relief apps, numbers-led for SaaS/analytics, community-first for social, feature-forward for multi-mode apps) and assigns a job to each card: HOOK → EDUCATE → PROVE → CONVERT.
137
139
 
138
- Available layouts per card:
139
- - Layout A: "Text Top, Device Bottom Center" — default, device fills lower portion
140
- - Layout B: "Text Top, Device Offset Right" tilted phone with perspective
141
- - Layout C: "Social Proof" — star rating + quote + badge + device
142
- - Layout M1-M4: Marketing cards WITHOUT device (title cards, feature callouts, CTAs, testimonials)
140
+ 9 layout types available per card:
141
+ - text-top-device-bottom: headline top, flat device bottom (feature/educate)
142
+ - text-top-device-tilted: headline left, tilted device right (or mirrored)
143
+ - device-hero: headline + large centered device, product-forward
144
+ - social-proof: stars + quote + laurel stat, device optional
145
+ - feature-callout: headline + features list, no device
146
+ - lifestyle-hero: full-bleed photo background + text overlay
147
+ - before-after: dark before-half + bright after-half (transformation apps)
148
+ - text-bottom: headline anchored to lower third, cinematic
149
+ - stats-hero: giant centered stat(s), no device, numbers-led
143
150
 
144
- Card types the system can generate:
145
- - Hero card (value proposition + device)
146
- - Feature spotlight (tilted phone + floating UI snippets)
147
- - Social proof (stars, quotes, badges, laurel wings with stats)
148
- - Marketing/title card (no device, bold text + rich background)
149
- - CTA/download card (no device, call to action)
151
+ Each card can carry auto-positioned compound fields: statRow, laurelStat, pressBanner, starRating, quote, featurePills, featureGrid, stepFlow, snippets, beforeAfterSplit.
152
+
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.
150
154
 
151
155
  Design features:
152
- - 78+ decorative shapes across 13 categories (nature, weather, celebration, social, tech, health, food, travel, abstract, finance, education, pets, emoji)
153
156
  - Rich text with per-word color, weight, italic, underline, highlight pills, gradient fills, stroke outlines, and emoji
154
- - Laurel stats pattern: wing-left + wing-right shapes flanking stats like "4.9 Rating" or "1M+ Users"
155
- - Floating UI snippets: rounded-rect panels with text overlapping the device edges
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)
159
+ - Laurel stats: wing-left + wing-right shapes flanking a hero number
156
160
 
157
- App Store 60/40 rule: minimum 60% of cards must show a device mockup, maximum 40% can be marketing-only.
161
+ App Store 60/40 rule enforced: minimum 60% of cards must show a device mockup, maximum 40% can be marketing-only.
158
162
 
159
163
  Costs 5 credits per generation.`,
160
164
  inputSchema: z.object({
@@ -264,25 +268,36 @@ What you can change:
264
268
  - Text: headlines, subtitles, badge text, font size, font family (Inter, Poppins, Montserrat, DM Sans, Space Grotesk, etc.)
265
269
  - Text styling: per-word color, bold, italic, underline, highlight pills (colored background behind words), gradient text, text stroke outlines
266
270
  - Colors: brand palette, gradient backgrounds, accent colors, text colors
267
- - Layout: reposition elements, switch between layouts (A/B/C/M1-M4), change device tilt
268
- - Device mockups: perspective tilts (flat, left-15, right-15), resize, reposition
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
+ - 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
274
+ - Switch devices: "make this for Apple Watch" / "duplicate for Android tablet" clones the project at the target device's canvas size
269
275
  - Add/remove cards: add a social proof card, remove card 3, add a marketing title card
270
- - Floating elements: add/edit badges, star ratings, floating UI snippets (rounded-rect + text overlays)
276
+ - Compound fields (auto-positioned): statRow, laurelStat, pressBanner, starRating, quote, featurePills, featureGrid, stepFlow, snippets, beforeAfterSplit
277
+ - Panoramic backgrounds: one wide AI or Pexels image sliced across multiple cards ("pano the background across cards 1-3")
278
+ - 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
271
280
  - Shapes: glow orbs, waves, blobs, rounded rectangles, circles, custom SVG paths
272
- - Decorative shapes: 78+ library shapes — leaf, flower, cloud, sparkle, heart, rocket, trophy, crown, coffee-cup, airplane, dollar-sign, paw-print, and many more across 13 categories
273
- - Laurel stats: wing-left + wing-right shapes flanking a stat (e.g. "4.9 Rating", "1M+ Users", "#1 App")
274
- - Backgrounds: change gradient colors/angle, set a backgroundPrompt for AI-generated backgrounds
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
+ - Backgrounds: solid, subtle-gradient, rich-gradient, photo (Pexels), or ai-generated; change gradient colors/angle; set a backgroundPrompt for AI-generated
275
283
  - Style: shadows, opacity, border radius, rotation, blur
276
284
 
285
+ What isn't supported (the AI will flag these in unsupportedAsks):
286
+ - 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
+ - Uploading a specific user-supplied screenshot into a mockup — use upload-screenshots tool first, then reference the uploaded project.
289
+
277
290
  Example edit messages:
278
291
  - "Make the headlines larger and use Bebas Neue font"
279
292
  - "Change the color scheme to blue (#2563EB) across all cards"
280
293
  - "Add a social proof card with 5 stars and a testimonial quote"
281
294
  - "Tilt the phone on card 2 to the left"
282
- - "Add floating UI snippets around the device on card 1"
283
- - "Replace card 3 with a marketing CTA card saying Download Free"
284
- - "Add a wave shape flowing across all cards"
285
- - "Add laurel wings around a 4.9 rating on card 1"
295
+ - "Pano the background photo across cards 1-3"
296
+ - "Stretch the device on card 1 across into card 2"
297
+ - "Make this project for Apple Watch"
298
+ - "Replace card 3 with a CTA card saying Download Free"
299
+ - "Switch card 2 to device-hero layout with statRow showing our three key metrics"
300
+ - "Add a before-after card showing the transformation"
286
301
  - "Add decorative leaf and sparkle shapes scattered in the background"
287
302
  - "Make 'Every' underlined and italic in the headline"`,
288
303
  inputSchema: z.object({
@@ -690,7 +705,7 @@ This tool helps you gather the right information so generate-screenshots produce
690
705
  if (platform === 'android' || platform === 'both') {
691
706
  deviceTips.push('**Android (required for Play Store):**');
692
707
  deviceTips.push('- Android Phone (android-phone): 1080×2340 — REQUIRED');
693
- deviceTips.push('- Android Tablet 10" (android-tablet-10): 2560×1600 — optional');
708
+ deviceTips.push('- Android Tablet 7" (android-tablet-10): 1200×1920 — optional');
694
709
  deviceTips.push('');
695
710
  }
696
711
  // Schema reminder
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscreenshotstudio/mcp",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "MCP server for generating App Store screenshots via AppScreenshotStudio",
5
5
  "type": "module",
6
6
  "license": "MIT",