mirror of
https://github.com/openMF/mifos-mobile.git
synced 2026-02-06 11:26:51 +00:00
Co-authored-by: therajanmaurya <therajanmaurya@gmail.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
3.8 KiB
3.8 KiB
Design Tools Configuration
Configuration for AI design tools and MCP connections used in mockup generation.
Selected AI Design Tool
Current Tool: Google Stitch
| Setting | Value |
|---|---|
| Primary Tool | google-stitch |
| Fallback Tool | figma |
| Prompt Format | md3-detailed |
Available Tools
| ID | Tool | Website | MCP | Status |
|---|---|---|---|---|
google-stitch |
Google Stitch | stitch.withgoogle.com | ✅ | Selected |
figma |
Figma | figma.com | ✅ | Available |
uizard |
Uizard | uizard.io | ❌ | Available |
visily |
Visily | visily.ai | ❌ | Available |
MCP Servers
Google Stitch MCP
Repository: github.com/StitchAI/stitch-ai-mcp
Install:
claude mcp add stitch-ai -- npx -y stitch-ai-mcp
Features:
- Generate UI designs from text prompts
- Material Design 3 native support
- Export to various formats
- Direct Figma integration
Status: Not Connected
Figma MCP
Documentation: Claude Code MCP Docs
Install:
# Get your Figma token from: https://www.figma.com/developers/api#access-tokens
claude mcp add figma -- npx -y figma-mcp --token YOUR_FIGMA_TOKEN
Features:
- Read Figma files and components
- Extract design tokens
- Get component specifications
- Access design system
Status: Not Connected
Prompt Formats
MD3 Detailed (Google Stitch)
Best for Material Design 3 apps. Includes:
- Detailed component specifications
- Color tokens with gradients
- Typography scale
- Spacing and radius values
- Animation hints
Figma Native
Best for Figma AI. Includes:
- Component structure
- Auto-layout hints
- Variant specifications
- Design system references
Concise (Uizard/Visily)
Best for quick prototypes. Includes:
- Screen description
- Key components list
- Basic styling
How to Change Tool
Option 1: Edit this file
Change the "Current Tool" section above.
Option 2: Select at runtime
When running /design [feature] mockup, you'll be prompted to select a tool.
Option 3: Use command argument
/design auth mockup --tool=google-stitch
/design auth mockup --tool=figma
/design auth mockup --tool=uizard
Workflow by Tool
Google Stitch (Recommended)
1. /design [feature] mockup
2. Claude generates PROMPTS.md with Stitch format
3. If MCP connected: Claude sends to Stitch directly
If no MCP: Copy prompt to stitch.withgoogle.com
4. Generate design
5. Export to Figma
6. Update FIGMA_LINKS.md
Figma + AI
1. /design [feature] mockup
2. Claude generates PROMPTS.md with Figma format
3. Open Figma, use AI feature
4. Paste prompt
5. Generate design
6. Update FIGMA_LINKS.md
Uizard / Visily
1. /design [feature] mockup
2. Claude generates PROMPTS.md with concise format
3. Open tool website
4. Paste prompt
5. Generate design
6. Export to Figma
7. Update FIGMA_LINKS.md
Check MCP Status
Run in terminal:
claude mcp list
Expected output (if configured):
MCP Servers:
stitch-ai ✓ connected
figma ✓ connected
Troubleshooting
MCP Not Connecting
- Check Node.js is installed:
node --version - Check npx works:
npx --version - Try reinstalling:
claude mcp remove stitch-ai && claude mcp add stitch-ai -- npx -y stitch-ai-mcp
Figma Token Issues
- Generate new token at: https://www.figma.com/developers/api#access-tokens
- Ensure token has read access
- Reinstall with new token
Stitch Not Generating
- Check you're signed into Google account
- Verify prompt format is correct
- Try simpler prompt first