Skip to main content
Glama
EzeLLM

Tesla Tessie MCP Server

by EzeLLM

Tessie MCP Server

A Model Context Protocol (MCP) server that wraps the Tessie API so LLM clients (Cursor, Claude, etc.) can query and control a configured Tesla using efficient, focused API endpoints.

Status

  • Telemetry: Fully implemented with both legacy (full state) and new specialized endpoints for efficient data retrieval.

  • Control: honk_horn and flash_lights are live and functional. Lock/unlock and climate control are scaffolded.

  • Breaking change: Now uses VIN instead of license plate for vehicle identification.

  • Breaking changes are possible until the first stable tag is cut.

Related MCP server: Tessie MCP Server

Quick Start

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt

# Configure environment
cp .env.example .env

Edit .env and set your Tessie API token and vehicle VIN:

TESSIE_TOKEN=your_tessie_api_token_here
VEHICLE_VIN=5YJ3E1EA1KF123456  # Your Tesla VIN
TELEMETRY_INTERVAL=5           # minutes; use 'realtime' to skip caching

Run the server (STDIO by default):

python -m src.server

Remote/SSE mode (for network clients):

python -m src.server --transport sse --host 0.0.0.0 --port 8000

What To Expect

  • New Specialized Telemetry Endpoints: Efficient, focused API calls for battery, battery health, location, tire pressure, and vehicle status.

  • Legacy Telemetry Tools: Full vehicle state fetch with all traditional metrics still available.

  • Working Control Actions: honk_horn and flash_lights execute real commands on your Tesla.

  • Tessie-backed auth and caching; respects refresh intervals from .env.

  • VIN-based vehicle identification for improved reliability.

Repo Layout

  • src/server.py — MCP entrypoint; loads telemetry + control tools, handles VIN configuration.

  • src/telemetry/service.py — Telemetry retrieval with caching and specialized endpoint methods.

  • src/telemetry/tools.py — Telemetry tool registry/dispatch (new + legacy tools).

  • src/control/service.py — Control actions with real implementations for honk/flash.

  • src/control/tools.py — Control tool registry/dispatch.

  • src/tessie_client.py — Tessie REST client with VIN-based endpoints for telemetry and control.

Available Tools

  • get_battery_information — Battery level, drain, energy, voltage, current, temperature

  • get_battery_health_information — Battery capacity and max range

  • get_location_information — GPS coordinates with address

  • get_tire_pressure_information — All tire pressures with status

  • get_vehicle_status — Sleep/wake status

Control (Live)

  • honk_horn — Honk the vehicle horn (⚠️ real action)

  • flash_lights — Flash the vehicle lights (⚠️ real action)

Roadmap

  • Complete lock/unlock door control

  • Implement climate control (start/stop)

  • Add charging control

  • Trunk/frunk control

See AGENTS.md for complete tool documentation.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    A
    maintenance
    Enables Claude Desktop to access Tesla vehicle data through the Tessie API. Users can query their car's location, battery level, mileage, driving history, and charging status using natural language.
    5
    9
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides intelligent Tesla vehicle analytics and control through the Tessie API, including real-time status monitoring, charging cost optimization, efficiency trend analysis, trip planning, and predictive insights for Tesla owners.
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables control and monitoring of Tesla vehicles through the Tessie API, providing access to vehicle state (battery, location, climate) and commands (lock/unlock, climate control, navigation) with support for both local and Cloudflare Worker deployment.
    11
    -