@appscreenshotstudio/mcp 0.1.3 → 0.1.5
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 +14 -3
- package/dist/index.js +20 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ Create a complete set of App Store screenshots. One tool call = one full project
|
|
|
59
59
|
| `count` | number | No | Number of cards, 3-10 (default: 5) |
|
|
60
60
|
| `story_flow` | string | No | Narrative structure (default: `auto`) |
|
|
61
61
|
|
|
62
|
-
**Costs
|
|
62
|
+
**Costs 5 credits.**
|
|
63
63
|
|
|
64
64
|
### `edit-screenshots`
|
|
65
65
|
|
|
@@ -71,7 +71,7 @@ Make changes to an existing project with natural language. Optionally target spe
|
|
|
71
71
|
| `message` | string | Yes | What to change |
|
|
72
72
|
| `card_indices` | number[] | No | Target specific cards by index (0-based). Omit to edit all. |
|
|
73
73
|
|
|
74
|
-
**Costs
|
|
74
|
+
**Costs 5 credits.**
|
|
75
75
|
|
|
76
76
|
### `render-screenshots`
|
|
77
77
|
|
|
@@ -103,7 +103,7 @@ Generate an AI background for a specific card. Uses project metadata (brand colo
|
|
|
103
103
|
| `card_index` | number | Yes | Which card (0-based) |
|
|
104
104
|
| `prompt` | string | Yes | Description of the background |
|
|
105
105
|
|
|
106
|
-
**Costs
|
|
106
|
+
**Costs 6 credits.**
|
|
107
107
|
|
|
108
108
|
### `list-devices`
|
|
109
109
|
|
|
@@ -120,6 +120,17 @@ Show all supported device specs. No API call needed.
|
|
|
120
120
|
| `android-phone` | Android Phone | 1080x2340 | Play Store |
|
|
121
121
|
| `android-tablet-10` | Android Tablet 10" | 2560x1600 | Play Store |
|
|
122
122
|
|
|
123
|
+
## Design Features
|
|
124
|
+
|
|
125
|
+
The AI generates professional screenshots using:
|
|
126
|
+
|
|
127
|
+
- **78+ decorative shapes** across 13 categories: nature (leaf, flower, tree), weather (cloud, sun, snowflake), celebration (sparkle, trophy, crown, confetti), social (chat-bubble, music-note), tech (rocket, code-bracket), health (dumbbell, flame), food (coffee-cup, pizza), travel (airplane, compass), finance (dollar-sign, piggy-bank), education (graduation-cap, lightbulb), pets (paw-print, cat-face), emoji (smiley, fire-emoji), abstract (swirl, infinity, gem)
|
|
128
|
+
- **Rich text**: per-word color, bold, italic, underline, highlight pills (colored backgrounds behind words), gradient fills, text stroke outlines, emoji
|
|
129
|
+
- **Laurel stats**: wing-left + wing-right shapes flanking stats like "4.9 Rating" or "1M+ Users"
|
|
130
|
+
- **Floating UI snippets**: rounded-rect panels with text overlapping device edges
|
|
131
|
+
- **11 device perspectives**: flat, left-15, left-30, right-15, right-30, isometric, top-down, flat-lay, side-profile, landscape-left, landscape-right
|
|
132
|
+
- **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)
|
|
133
|
+
|
|
123
134
|
## Workflow
|
|
124
135
|
|
|
125
136
|
1. **Generate** — Agent calls `generate-screenshots` with your app details
|
package/dist/index.js
CHANGED
|
@@ -89,13 +89,19 @@ Available layouts per card:
|
|
|
89
89
|
Card types the system can generate:
|
|
90
90
|
- Hero card (value proposition + device)
|
|
91
91
|
- Feature spotlight (tilted phone + floating UI snippets)
|
|
92
|
-
- Social proof (stars, quotes, badges)
|
|
92
|
+
- Social proof (stars, quotes, badges, laurel wings with stats)
|
|
93
93
|
- Marketing/title card (no device, bold text + rich background)
|
|
94
94
|
- CTA/download card (no device, call to action)
|
|
95
95
|
|
|
96
|
+
Design features:
|
|
97
|
+
- 78+ decorative shapes across 13 categories (nature, weather, celebration, social, tech, health, food, travel, abstract, finance, education, pets, emoji)
|
|
98
|
+
- Rich text with per-word color, weight, italic, underline, highlight pills, gradient fills, stroke outlines, and emoji
|
|
99
|
+
- Laurel stats pattern: wing-left + wing-right shapes flanking stats like "4.9 Rating" or "1M+ Users"
|
|
100
|
+
- Floating UI snippets: rounded-rect panels with text overlapping the device edges
|
|
101
|
+
|
|
96
102
|
App Store 60/40 rule: minimum 60% of cards must show a device mockup, maximum 40% can be marketing-only.
|
|
97
103
|
|
|
98
|
-
Costs
|
|
104
|
+
Costs 5 credits per generation.`,
|
|
99
105
|
inputSchema: z.object({
|
|
100
106
|
app_name: z.string().describe('Name of the app'),
|
|
101
107
|
app_description: z.string().describe('What the app does — 1-3 sentences'),
|
|
@@ -170,16 +176,19 @@ Costs 1 credit per generation.`,
|
|
|
170
176
|
// Tool 2: edit-screenshots
|
|
171
177
|
server.registerTool('edit-screenshots', {
|
|
172
178
|
title: 'Edit Screenshot Designs',
|
|
173
|
-
description: `Make changes to an existing screenshot project. Use natural language to describe what you want to change. Costs
|
|
179
|
+
description: `Make changes to an existing screenshot project. Use natural language to describe what you want to change. Costs 5 credits per edit.
|
|
174
180
|
|
|
175
181
|
What you can change:
|
|
176
182
|
- Text: headlines, subtitles, badge text, font size, font family (Inter, Poppins, Montserrat, DM Sans, Space Grotesk, etc.)
|
|
183
|
+
- Text styling: per-word color, bold, italic, underline, highlight pills (colored background behind words), gradient text, text stroke outlines
|
|
177
184
|
- Colors: brand palette, gradient backgrounds, accent colors, text colors
|
|
178
185
|
- Layout: reposition elements, switch between layouts (A/B/C/M1-M4), change device tilt
|
|
179
186
|
- Device mockups: perspective tilts (flat, left-15, right-15), resize, reposition
|
|
180
187
|
- Add/remove cards: add a social proof card, remove card 3, add a marketing title card
|
|
181
188
|
- Floating elements: add/edit badges, star ratings, floating UI snippets (rounded-rect + text overlays)
|
|
182
189
|
- Shapes: glow orbs, waves, blobs, rounded rectangles, circles, custom SVG paths
|
|
190
|
+
- 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
|
|
191
|
+
- Laurel stats: wing-left + wing-right shapes flanking a stat (e.g. "4.9 Rating", "1M+ Users", "#1 App")
|
|
183
192
|
- Backgrounds: change gradient colors/angle, set a backgroundPrompt for AI-generated backgrounds
|
|
184
193
|
- Style: shadows, opacity, border radius, rotation, blur
|
|
185
194
|
|
|
@@ -190,7 +199,10 @@ Example edit messages:
|
|
|
190
199
|
- "Tilt the phone on card 2 to the left"
|
|
191
200
|
- "Add floating UI snippets around the device on card 1"
|
|
192
201
|
- "Replace card 3 with a marketing CTA card saying Download Free"
|
|
193
|
-
- "Add a wave shape flowing across all cards"
|
|
202
|
+
- "Add a wave shape flowing across all cards"
|
|
203
|
+
- "Add laurel wings around a 4.9 rating on card 1"
|
|
204
|
+
- "Add decorative leaf and sparkle shapes scattered in the background"
|
|
205
|
+
- "Make 'Every' underlined and italic in the headline"`,
|
|
194
206
|
inputSchema: z.object({
|
|
195
207
|
project_id: z.string().describe('Project ID from a previous generate-screenshots call'),
|
|
196
208
|
message: z.string().describe('What to change — use natural language'),
|
|
@@ -281,9 +293,9 @@ server.registerTool('get-project', {
|
|
|
281
293
|
Returns the canvas state with:
|
|
282
294
|
- cards[]: each card has an id, elements array, and optional background settings
|
|
283
295
|
- Each element has: type (text, device-mockup, shape, badge, image, star-rating), position (x, y), size (width, height), zIndex, and type-specific properties
|
|
284
|
-
- Text elements: fontFamily, fontSize, fontWeight, color, segments (for multi-color text with
|
|
285
|
-
- Device mockups: perspectiveVariant (flat, left-15, right-15), screenshotImage (null if no upload)
|
|
286
|
-
- Shapes:
|
|
296
|
+
- Text elements: fontFamily, fontSize, fontWeight, color, segments (for multi-color text with per-word color, bold, italic, underline, highlightColor)
|
|
297
|
+
- 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)
|
|
298
|
+
- 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)
|
|
287
299
|
- projectMeta: globalVisualTheme, brandColors, mood, appCategory`,
|
|
288
300
|
inputSchema: z.object({
|
|
289
301
|
project_id: z.string().describe('Project ID to inspect'),
|
|
@@ -328,7 +340,7 @@ Returns the canvas state with:
|
|
|
328
340
|
// Tool 6: generate-background
|
|
329
341
|
server.registerTool('generate-background', {
|
|
330
342
|
title: 'Generate AI Background',
|
|
331
|
-
description: `Generate an AI background image for a specific card using Gemini. The background is generated based on a text prompt and applied directly to the card. Costs
|
|
343
|
+
description: `Generate an AI background image for a specific card using Gemini. The background is generated based on a text prompt and applied directly to the card. Costs 6 credits.
|
|
332
344
|
|
|
333
345
|
Good prompts describe mood, lighting, and color — not objects or text:
|
|
334
346
|
- "Deep purple nebula with soft pink and blue light rays"
|