Brassiere Aesthetics MCP Server
MCP server implementing visual vocabulary and structural parameters for brassiere/lingerie design. Maps professional design taxonomy to image-generation-ready specifications with zero LLM cost for composition.
README
Brassiere Aesthetics MCP Server
MCP server implementing visual vocabulary and structural parameters for brassiere/lingerie design. Maps professional design taxonomy to image-generation-ready specifications with zero LLM cost for composition.
Architecture
Three-layer cost optimization:
-
Layer 1: Pure Taxonomy (0 tokens)
- 7 canonical silhouette types with geometric parameters
- 7 material properties (opacity, stretch, surface finish)
- 6 construction techniques (molded, seamed, padded, etc.)
- 6 structural elements (gore, underwire, straps, etc.)
- 6 decorative elements (bows, piping, appliqué, etc.)
-
Layer 2: Deterministic Operations (0 tokens)
- Silhouette parameter mapping
- Material/construction composition
- Visual vocabulary extraction
- Support distribution physics
- Design constraint validation
-
Layer 3: LLM Synthesis (client-side)
- Creative interpretation
- Style adaptation
- Narrative generation
Installation
FastMCP Cloud Deployment
# Install from directory
pip install -e .
# Test locally
python brassiere_aesthetics_mcp.py
# Deploy to FastMCP Cloud
fastmcp deploy brassiere_aesthetics_mcp.py:mcp
Claude Desktop Configuration
Add to claude_desktop_config.json:
{
"mcpServers": {
"brassiere-aesthetics": {
"command": "python",
"args": ["/path/to/brassiere_aesthetics_mcp.py"]
}
}
}
Taxonomy Overview
Silhouette Types
| ID | Name | Coverage | Lift Angle | Support | Visual Geometry |
|---|---|---|---|---|---|
balconette |
Balconette | 75% | 45° | Underwire | Horizontal top edge, 20° outward cups |
plunge |
Plunge | 65% | 35° | Underwire | Deep V center, 25° outward, low gore |
demi |
Demi/Half Cup | 50% | 40° | Underwire | Horizontal at 50% coverage, upper curve emphasis |
full_coverage |
Full Coverage | 95% | 30° | Underwire | Vertical seams, high gore, complete enclosure |
triangle |
Triangle/Bralette | 60% | 15° | Minimal | Soft triangular drape, natural contour |
push_up |
Push-Up | 70% | 50° | Underwire | Graduated padding, central elevation |
longline |
Longline | 85% | 35° | Underwire | Extended band to waist, 12-15cm height |
Materials
- Power Mesh: 30% opacity, 1:3 stretch, matte grid texture, structural support
- Chantilly Lace: 40% opacity, 1:1.5 stretch, delicate floral, overlay use
- Guipure Lace: 20% opacity, non-stretch, 3D raised texture, appliqué
- Satin: 100% opacity, minimal stretch, high gloss reflective
- Silk: 90% opacity, minimal stretch, soft natural luster
- Spacer Foam: 100% opacity, 1:1.3 stretch, seamless 3D breathable
- Cotton: 95% opacity, minimal/moderate stretch, matte soft texture
Construction Techniques
- Molded/Seamless: Smooth surface, no visible seams, uniform thickness
- Seamed: Visible tension lines, 2-4 panels, directional shaping
- Padded/Push-Up: Graduated thickness, 5-20mm foam, enhanced projection
- Wire-Free: Soft structure, band compression support, flexible
- Lined: Double layer, opacity, clean interior finish
- Unlined: Single layer, visible lace/mesh, minimal structure
Usage Examples
1. List Available Options
# View all silhouette types
result = list_silhouette_types()
# View materials and construction techniques
result = list_materials_and_techniques()
# View structural and decorative elements
result = list_structural_and_decorative_elements()
2. Get Silhouette Specifications
result = get_silhouette_specifications("balconette")
# Returns:
{
"silhouette_id": "balconette",
"parameters": {
"silhouette_type": "Balconette",
"coverage": 0.75,
"lift_angle": 45.0,
"separation": 0.7,
"center_gore_height": "medium",
"cup_angle": 20.0,
"support_type": "underwire",
"visual_geometry": "horizontal top edge, cups angled 20° outward, gore height 3-4cm"
},
"support_distribution": {
"band_support_percentage": 75.0,
"strap_support_percentage": 25.0,
"support_type": "underwire"
},
"cost_tokens": 0
}
3. Compose Complete Design
result = compose_brassiere_design(
silhouette_id="plunge",
materials='["chantilly_lace", "power_mesh"]',
construction="seamed",
decorative_elements='["bow", "contrast_piping"]',
intensity=0.9
)
# Returns complete visual vocabulary with:
# - Silhouette geometric parameters
# - Material surface/opacity/stretch properties
# - Construction visual signatures
# - Decorative element placements
# - Support distribution physics
4. Generate Image Prompt
result = generate_image_prompt(
silhouette_id="balconette",
materials='["chantilly_lace", "satin"]',
construction="seamed",
decorative_elements='["bow", "scalloped_edge"]',
style_modifier="photorealistic fashion photography",
intensity=1.0
)
# Returns:
{
"prompt": "photorealistic fashion photography, Balconette silhouette: horizontal top edge, cups angled 20° outward, gore height 3-4cm, cup angle 20.0° outward from center, lift angle 45.0° from horizontal, medium center gore height, Chantilly Lace: semi-matte, delicate floral pattern, opacity 40%, Satin: high gloss, smooth reflective, opacity 100%, Seamed: visible seam lines, 2-4 panel construction, tension lines, Bow at center gore (60%), strap junctions (30%), side panels (10%): ribbon width 0.5-2cm, bow span 2-5cm, can be flat or dimensional, Scalloped Edge at cup tops, band edges: wave pattern 0.5-2cm amplitude, follows lace motifs or creates geometric repeat",
"geometric_specifications": [
"Balconette silhouette: horizontal top edge, cups angled 20° outward, gore height 3-4cm",
"cup angle 20.0° outward from center",
"lift angle 45.0° from horizontal",
"medium center gore height",
"Chantilly Lace: semi-matte, delicate floral pattern, opacity 40%",
"Satin: high gloss, smooth reflective, opacity 100%",
"Seamed: visible seam lines, 2-4 panel construction, tension lines",
"Bow at center gore (60%), strap junctions (30%), side panels (10%): ribbon width 0.5-2cm, bow span 2-5cm",
"Scalloped Edge at cup tops, band edges: wave pattern 0.5-2cm amplitude"
],
"cost_tokens": 0
}
5. Analyze Design Constraints
result = analyze_design_constraints(
silhouette_id="push_up",
materials='["silk", "cotton"]',
construction="wire_free"
)
# Returns:
{
"compatibility": "incompatible",
"warnings": [
"Incompatibility: silhouette expects underwire support but construction is wireless",
"Recommendation: Push-Up silhouette typically requires structural material (power_mesh or spacer_foam) for adequate support"
],
"support_requirements": {
"type": "underwire",
"lift_angle": 50.0,
"coverage": 0.7
}
}
Cost Analysis
| Operation | Tokens | Method |
|---|---|---|
| List silhouette types | 0 | Pure taxonomy lookup |
| Get specifications | 0 | Deterministic mapping |
| Compose design | 0 | Taxonomy extraction |
| Generate image prompt | 0 | Vocabulary assembly |
| Analyze constraints | 0 | Rule-based validation |
Total system cost: $0 for all deterministic operations.
LLM synthesis only required for creative interpretation (client-side, Layer 3).
Technical Details
Support Distribution Physics
Empirical support ratios:
- Underwire: 75% band, 25% straps
- Wireless: 70% band, 30% straps
- Minimal: 60% band, 40% straps
Band efficiency calculated as: min(1.0, band_height_cm / 5.0)
Optimal band height: 5cm (100% efficiency)
Geometric Specifications
Following user preference for explicit geometric descriptions:
- Angles: "cups angled 20° outward from center"
- Dimensions: "gore height 3-4cm", "ribbon width 0.5-2cm"
- Ratios: "opacity 40%", "coverage 75%"
- Positions: "at center gore (60%), strap junctions (30%)"
These translate directly to image generation parameters without requiring LLM interpretation.
Design Workflow
Typical usage pattern:
- Explore taxonomy: List available options
- Select components: Choose silhouette, materials, construction, decorative elements
- Validate constraints: Check compatibility
- Compose design: Generate complete parameter set
- Extract vocabulary: Generate image prompt with geometric specs
- Synthesize (Layer 3): Apply creative interpretation via LLM
Cost optimization:
- Steps 1-5: 0 tokens (pure deterministic)
- Step 6: ~100-200 tokens (optional creative synthesis)
Integration with Lushy
This server provides the deterministic backbone for a Lushy workflow that:
- Accepts natural language design intent
- Maps to taxonomy parameters (this server, 0 tokens)
- Synthesizes creative interpretation (LLM, minimal tokens)
- Generates ComfyUI workflow for rendering
Cost savings: ~60-70% vs pure LLM approach by offloading taxonomy mapping and composition to deterministic operations.
Domain Expansion
Potential additions:
- Size grading parameters (band circumference, cup volume)
- Color palette taxonomy
- Seasonal style modifiers
- Brand/designer aesthetic profiles
- Cultural/regional design variations
- Historical period silhouettes
Functional extensions:
- Fit analysis (body shape compatibility)
- Material comfort ratings
- Durability predictions
- Manufacturing complexity scoring
Research Applications
Academic domains:
- Fashion design education
- Apparel engineering
- Textile science
- Biomechanics (support distribution)
- Industrial design (structural optimization)
Industry applications:
- Automated design specification
- Quality control (constraint validation)
- Inventory categorization
- Size recommendation systems
- Manufacturing optimization
License
MIT
Author
Dal Marsters - Lushy AI Workflows
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。