Skip to main content
Glama

Tesla Wrap

Tesla Paint Shop 贴膜生成器:官方 UV 模板 + Grok Imagine + 面板蒙版。

适用于 Tesla 在 teslamotors/custom-wraps 上发布的每一款车型。

客户端用法(MCP 宿主应遵循):USAGE.md,以及 wrap://usage

流程

  1. 下载该车辆的官方 UV

  2. (可选)以几何布局 PNG 作为初始种子

  3. Grok Imagine 以 2k / 中等质量绘制外观

  4. 通过 Tesla 的面板蒙版进行描摹,输出 1024×1024 PNG,小于 1 MB

Imagine 仅负责外观;轮廓始终来自 Tesla 的模板(IoU 1.0)。

Related MCP server: VIN MCP

设置

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env

编辑 .env

  • XAI_API_KEY — 运行 Imagine 必填

  • MCP_LOGIN_PASSWORD — 如果你运行公共 HTTP MCP 则必填

.env 已被 gitignore。不要在本仓库中放入任何密钥或密码。

官方模板会在首次执行 fetch / create_wrap 时下载。生成的 PNG 文件存放到 outputs/(同样已被 gitignore)。

CLI

python wrap.py vehicles
python wrap.py fetch highland

python wrap.py imagine --name black-gold --vehicle highland \
  --look "driver side chrome gold, passenger matte black, honeycomb fade on the hood" \
  --ref https://example.com/car.jpg

python wrap.py verify outputs/black-gold.png --vehicle highland
python wrap.py flatten outputs/black-gold.png

--base path/to/layout.png 会重新样式化已经布局好的 UV,而不是使用空白模板。

MCP

工具:list_vehiclesfetch_templatecreate_wrapverify_wrapflatten_wrap

本地 stdio

[mcp_servers.tesla-wrap]
command = "/path/to/grok-editor/.venv/bin/python"
args = ["/path/to/grok-editor/mcp_server.py"]

公共 HTTP + 首次 OAuth

python mcp_server.py --http --host 127.0.0.1 --port 8787 --path /grok-editor-mcp

MCP_PUBLIC_HOST 设置为你所转发/代理的主机名(不要带 https://)。首次连接会打开 /login;密码来自 .env 中的 MCP_LOGIN_PASSWORD。之后客户端会一直持有 OAuth token。Imagine 仍使用本地的 XAI_API_KEY

[mcp_servers.tesla-wrap]
url = "https://YOUR_HOST/grok-editor-mcp"
enabled = true
tool_timeout_sec = 600

健康检查(无需认证):http://127.0.0.1:8787/health

可选的 systemd 用户单元:tesla-wrap-mcp.serviceWorkingDirectory 使用 %h/grok-editor)。

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides AI agents with 36 specialized tools for complete vehicle dealership management through the StockSpark/Carspark API, including inventory management, vehicle listings, image handling, pricing optimization, and multi-portal publishing.
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides comprehensive vehicle reports by aggregating data from multiple public sources to decode VINs, check recalls, and view safety ratings. It enables users to validate VINs locally and retrieve technical specifications, fuel economy, and vehicle photos without requiring API keys.
    18
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Decode VINs, look up specs, history, recalls, market value, and OBD codes. Recognize license plates and VINs from images. Access comprehensive vehicle data by year, make, and model to power automotive workflows.
    12
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Product mockup rendering API for e-commerce and print-on-demand. Upload Photoshop PSD templates, render photorealistic mockups by placing your designs onto smart object layers. 9 tools including AI-powered render (no PSD needed), template management, and account info. Supports remote HTTP (OAuth) and local stdio (npx) transports.
    276
    MIT

View all related MCP servers

Related MCP Connectors

  • Vehicle data for AI: VIN decoder, automotive specs, stolen checks, valuation and way more.

  • NHTSA MCP — wraps the NHTSA vPIC (Vehicle Product Information Catalog) API (free, no auth)

  • Car logo API and image CDN: search automotive brands, fetch brand data, and build logo CDN URLs.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/abhinav937/tesla-wrap-editor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server