Skip to main content
Glama

Tesla Wrap

Tesla Paint Shop wrap generator: official UV template + Grok Imagine + panel stencil.

Works for every vehicle Tesla publishes on teslamotors/custom-wraps.

Client usage (what an MCP host should follow): USAGE.md, also wrap://usage.

Pipeline

  1. Download the official UV for the vehicle

  2. (Optional) seed from a geometric layout PNG

  3. Grok Imagine paints the look at 2k / medium quality

  4. Stencil through Tesla’s panel mask → 1024×1024 PNG under 1 MB

Imagine is for look. Outlines always come from Tesla’s template (IoU 1.0).

Related MCP server: VIN MCP

Setup

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

Edit .env:

  • XAI_API_KEY — required for Imagine

  • MCP_LOGIN_PASSWORD — required if you run the public HTTP MCP

.env is gitignored. Do not put keys or passwords in this repo.

Official templates download on first fetch / create_wrap. Generated PNGs land in outputs/ (also gitignored).

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 restyles an already-laid-out UV instead of the blank template.

MCP

Tools: list_vehicles, fetch_template, create_wrap, verify_wrap, flatten_wrap.

Local stdio

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

Public HTTP + first-time OAuth

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

Set MCP_PUBLIC_HOST to the hostname you funnel/proxy (no https://). First connect opens /login; the password is MCP_LOGIN_PASSWORD from .env. After that the client keeps an OAuth token. Imagine still uses local XAI_API_KEY.

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

Health (no auth): http://127.0.0.1:8787/health

Optional systemd user unit: tesla-wrap-mcp.service (WorkingDirectory uses %h/grok-editor).

Vehicles

model3, model3-2024-base (aliases: 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.

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