tesla-wrap
Tesla Wrap
Tesla Paint Shop Wrap-Generator: offizielle UV-Vorlage + Grok Imagine + Panel-Schablone.
Funktioniert für jedes Fahrzeug, das Tesla auf teslamotors/custom-wraps veröffentlicht.
Client-Nutzung (was ein MCP-Host befolgen sollte): USAGE.md, auch wrap://usage.
Pipeline
Lade die offizielle UV-Vorlage für das Fahrzeug herunter
(Optional) Aus einem geometrischen Layout-PNG initialisieren
Grok Imagine erzeugt den Look bei 2k / mittlerer Qualität
Schabloniere durch Teslas Panel-Maske → 1024×1024 PNG unter 1 MB
Imagine ist für den Look zuständig. Die Konturen stammen immer aus Teslas Vorlage (IoU 1.0).
Related MCP server: Blockbench MCP Pro
Setup
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .envBearbeite .env:
XAI_API_KEY– erforderlich für ImagineMCP_LOGIN_PASSWORD– erforderlich, wenn du das öffentliche HTTP-MCP betreibst
.env ist von Git ignoriert. Lege keine Schlüssel oder Passwörter in dieses Repo.
Offizielle Vorlagen werden beim ersten fetch / create_wrap heruntergeladen. Erzeugte PNGs landen in outputs/ (ebenfalls ignoriert).
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 formt eine bereits ausgelegte UV neu anstatt der leeren Vorlage.
MCP
Werkzeuge: list_vehicles, fetch_template, create_wrap, verify_wrap, flatten_wrap.
Lokales stdio
[mcp_servers.tesla-wrap]
command = "/path/to/grok-editor/.venv/bin/python"
args = ["/path/to/grok-editor/mcp_server.py"]Öffentliches HTTP + OAuth beim ersten Verbindungsaufbau
python mcp_server.py --http --host 127.0.0.1 --port 8787 --path /grok-editor-mcpSetze MCP_PUBLIC_HOST auf den Hostnamen, den du weiterleitest oder als Proxy verwendest (ohne https://). Bei der ersten Verbindung öffnet sich /login; das Passwort ist MCP_LOGIN_PASSWORD aus .env. Danach bleibt der Client über ein OAuth-Token verbunden. Für Imagine wird weiterhin der lokale XAI_API_KEY verwendet.
[mcp_servers.tesla-wrap]
url = "https://YOUR_HOST/grok-editor-mcp"
enabled = true
tool_timeout_sec = 600Health (ohne Auth): http://127.0.0.1:8787/health
Optionale systemd-Benutzer-Unit: tesla-wrap-mcp.service (WorkingDirectory verwendet %h/grok-editor).
Fahrzeuge
model3, model3-2024-base (Aliasse: highland, model3-premium), model3-2024-performance, modely, modely-2025-base, modely-2025-premium, modely-2025-performance, modely-l, models-2021, models-2025-plaid, modelx-2021, cybertruck.
This server cannot be deployed
Maintenance
Related MCP Connectors
Inspect and edit media canvases, run existing Flows, and retrieve results. Vyrl MCP token required.
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Create AI images and videos, manage projects and credits, and use workspace campaign context.
Generate AI images and videos, quote credit costs, manage media and track batch jobs with OAuth.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI agents and MCP clients to perform 3D asset creation and verification: exact b-rep CAD, GLB validation with embedded certificates, mesh inspection, and physics scenes, with most tools running without Blender.3648 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to control Blockbench for 3D modeling, including geometry, UV, texturing, animation, procedural generation, quality gates, and human review via 95 tools over HTTP or stdio.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to search and inspect an indexed GTA San Andreas installation — models, textures, map placements and crash addresses — and to build, lint and convert texture, model and map mods through the same operations the CLI exposes.3MIT
- AlicenseAqualityBmaintenanceEnables AI agents to turn pictures of a jersey and bib shorts into a finished cycling kit file for the game Virada. It supplies the kit format and templates, renders flat sheets and previews of the kit on male or female riders from six angles for comparison against reference pictures, then validates and exports the result as a .kit.zip.10MIT