花艺美学MCP服务器
两用MCP服务器提供专业插花词汇,用于:
- 快速增强 -用花卉设计术语丰富图像生成提示
- ComfyUI工作流生成 -使用花卉增强提示创建完整的工作流程
建筑
三层设计 (60-80%的成本优化):
- 层1:全面的植物分类学(确定性,零LLM成本)
- 层2:结构测绘和技术选择
- 层3:创意合成(单克劳德电话)
分类覆盖率
- 15种排列方式 跨越3个传统(插花、西方古典、当代)
- 20+鲜花 按角色(焦点、线条、填充物、纹理)组织
- 10+叶型 分为3类(结构、重音、戏剧性)
- 10个调色板 包括理论基础和季节性
- 6结构技术类别 详细规格
- 4文化传统 有哲学和原则
安装
# Clone or extract the project
cd floral-arrangement-mcp
# Install in development mode
pip install -e ".[dev]"
# Run tests
./tests/run_tests.sh使用Claude Desktop
添加到您的Claude Desktop配置中:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json 视窗: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"floral-arrangement-aesthetics": {
"command": "python",
"args": ["-m", "floral_arrangement_mcp.server"]
}
}
}可用工具
主要工具
- enhance_floral_prompt -将用户意图映射到专业花卉词汇
- generate_floral工作流 -创建完整的ComfyUI工作流程JSON
参考工具
- 列表_排列_样式 -获取全部15种排列样式
- list_flowers_by_role -按角色组织鲜花
- 列表_颜色_字体 -获取所有调色板选项
- list_foliage_types -获取所有树叶类型
- get_文化_传统 -获取文化传统详情
- get_structural_technologies -获取结构技术规范
- 建议降低风险 -获取特定场合的建议
- get_server_info -获取服务器功能概述
快速示例
增强简单描述
User: "romantic spring wedding centerpiece"
Returns: Professional floral vocabulary with style, flowers, colors, structure生成ComfyUI工作流
User: "minimalist ikebana arrangement"
Returns: Complete workflow JSON ready to import into ComfyUI文档
docs/USAGE_EXAMPLES.md-18个详细的使用场景docs/QUICK_REFERENCE.md-可打印的分类参考docs/DEPLOYMENT.md-部署说明
发展
# Run tests
pytest tests/
# Format code
black src/ tests/
# Lint
ruff check src/ tests/许可证
MIT许可证
