Skip to main content

MCP server for image-to-design workflow automation

Project description

gauss-mcp

基于 uv 管理的 Python MCP server,用于把本地图片导入为方案,并通过 job 协议提供可轮询的进度与结果。

当前 MVP 范围

  • 输入本地图片路径
  • 上传图片
  • 判断普通图/全景图
  • 普通图转全景图
  • 可选清家具
  • 全景图转点云
  • 空间调整
  • 导入方案
  • 返回 design link

核心设计

  • 单次 tool 调用只做有限工作,不阻塞等待整条链路结束
  • 对外主流程只暴露 5 个 job tools:
    • gauss_start_image_job
    • gauss_poll_job
    • gauss_get_job
    • gauss_resume_job
    • gauss_list_jobs
  • 通过阶段事件而不是 fake percent 给 skill 提供进度展示依据
  • job 状态落盘到 IMAGE_TO_DESIGN_JOB_STATE_DIR,支持中断后继续查询或恢复

阶段顺序

  1. upload
  2. image_type
  3. img2pano
  4. pano_clear
  5. pano2pointcloud
  6. spatial_tune
  7. gauss_import
  8. gauss_show_info

开发

uv sync --dev
uv run pytest
uv run ruff check src tests

运行 MCP Server

uv run gauss-mcp

本地 smoke test

uv run python scripts/e2e_image_to_plan.py /absolute/path/to/image.png

可选参数:

uv run python scripts/e2e_image_to_plan.py /absolute/path/to/image.png \
  --floor-plan-name demo-plan \
  --level-height-mm 2800 \
  --no-clear-furniture

Claude Code Skill

Skill 位于:

.claude/skills/gauss-image-to-plan/SKILL.md

它基于 gauss_* job tools 做阶段式编排,只汇报新的阶段事件和必要的长等待心跳。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

image_to_design_mcp-0.1.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

image_to_design_mcp-0.1.0-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file image_to_design_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: image_to_design_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for image_to_design_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c816b72cc9cbba7c229d7e2ddc80b45dd6996e0ddf02cfcd8e0e3046950b912b
MD5 73ed3a1fb3e37d1bfd4f64e8ed8ca2c3
BLAKE2b-256 5dcf99223bc2aef7af3d833bcd178b7f980324a1832fff1c641ab2cd9b28a6ef

See more details on using hashes here.

File details

Details for the file image_to_design_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for image_to_design_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b41c029dd35504701c3a13eee4b2b5aca9a3205ca8fe36421b9dd4baef164fe
MD5 8b35845dc0d38a28ace87c96fa33643d
BLAKE2b-256 e218aa4d1847859deb568fe4b154b3dccc627e36a6f8c7ce79b3b439228da61d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page