Skip to main content
Glama

Tessie MCP Server

Control and monitor your Tesla from any MCP-compatible AI assistant — including Claude, Cursor, and more.

License: MIT Node.js MCP

An MCP (Model Context Protocol) server that bridges AI assistants to the Tessie API, giving you natural-language control of your Tesla vehicle. Ask Claude to check your battery, preheat the cabin, lock the car, or pull charging history — all in plain English.


✨ Features

  • 🔋 Battery & Range — level, estimated range, voltage, temperature, health/degradation

  • 📍 Location — GPS coordinates and street address

  • 🌡️ Climate Control — start/stop, set temperature, seat heat/cool, defrost, Keep/Dog/Camp mode, Bioweapon Defense

  • 🔒 Security — lock/unlock, Sentry Mode, Valet Mode, Guest Mode, Speed Limit Mode

  • ⚡ Charging — start/stop, set charge limit %, set amps, charge port control

  • 🚗 Drive Data — history with distance, energy & speed; GPS path per trip; drive tags

  • 📊 Charge History — sessions with cost tracking

  • 🛻 Trunks & Covers — frunk, rear trunk, Cybertruck tonneau

  • 🪟 Windows & Sunroof — vent or close

  • 💡 Lights & Horn — flash lights, honk

  • 🏠 HomeLink — trigger garage door opener

  • 🔑 Remote Start — keyless driving (2-minute window)

  • 📱 Software Updates — schedule or cancel

  • 😴 Auto-Wake — commands automatically wake a sleeping vehicle before executing

  • 💨 Fun — Boombox fart sounds 🐄


Related MCP server: Tessie MCP Server

⚡ Quick Start

1. Get a Tessie Account & API Token

Tessie is the service that provides secure API access to your Tesla.

👉 Sign up for Tessie: share.tessie.com/v4Gklbe1U0b

Once signed in, get your API token at: dash.tessie.com/settings/api

2. Install & Build

git clone https://github.com/akrowczyk/tessie-mcp-server.git
cd tessie-mcp-server
npm install
npm run build

🔧 Configuration

Environment Variables

Authentication and preferences are configured entirely via environment variables — no secrets ever touch source code.

Variable

Required

Description

TESSIE_API_TOKEN

✅ Yes

Your Tessie API token

TESSIE_DEFAULT_VIN

Optional

Default VIN when not specified per-call

TESSIE_DISTANCE_FORMAT

Optional

mi or km — applies to all distance tools

TESSIE_TEMP_FORMAT

Optional

f or c — applies to all temperature tools

TESSIE_PRESSURE_FORMAT

Optional

psi, bar, or kpa — applies to tire pressure

Per-call parameters always override the env var defaults.


Claude Desktop

Add this block to your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "tessie": {
      "command": "node",
      "args": ["/absolute/path/to/tessie-mcp-server/dist/index.js"],
      "env": {
        "TESSIE_API_TOKEN": "your-tessie-api-token",
        "TESSIE_DEFAULT_VIN": "your-17-digit-vin",
        "TESSIE_DISTANCE_FORMAT": "mi",
        "TESSIE_TEMP_FORMAT": "f",
        "TESSIE_PRESSURE_FORMAT": "psi"
      }
    }
  }
}

Note: Replace /absolute/path/to/tessie-mcp-server with the actual path where you cloned this repo.

After saving, restart Claude Desktop.


Claude Code (CLI)

claude mcp add tessie -- node /absolute/path/to/tessie-mcp-server/dist/index.js

export TESSIE_API_TOKEN="your-tessie-api-token"
export TESSIE_DEFAULT_VIN="your-17-digit-vin"
export TESSIE_DISTANCE_FORMAT="mi"
export TESSIE_TEMP_FORMAT="f"
export TESSIE_PRESSURE_FORMAT="psi"

Cursor

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "tessie": {
      "command": "node",
      "args": ["/absolute/path/to/tessie-mcp-server/dist/index.js"],
      "env": {
        "TESSIE_API_TOKEN": "your-tessie-api-token",
        "TESSIE_DEFAULT_VIN": "your-17-digit-vin",
        "TESSIE_DISTANCE_FORMAT": "mi",
        "TESSIE_TEMP_FORMAT": "f",
        "TESSIE_PRESSURE_FORMAT": "psi"
      }
    }
  }
}

Windsurf

Open Settings → MCP Servers → Add:

{
  "tessie": {
    "command": "node",
    "args": ["/absolute/path/to/tessie-mcp-server/dist/index.js"],
    "env": {
      "TESSIE_API_TOKEN": "your-tessie-api-token",
      "TESSIE_DEFAULT_VIN": "your-17-digit-vin",
      "TESSIE_DISTANCE_FORMAT": "mi",
      "TESSIE_TEMP_FORMAT": "f",
      "TESSIE_PRESSURE_FORMAT": "psi"
    }
  }
}

Continue.dev

In ~/.continue/config.json:

{
  "experimental": {
    "modelContextProtocolServers": [
      {
        "transport": {
          "type": "stdio",
          "command": "node",
          "args": ["/absolute/path/to/tessie-mcp-server/dist/index.js"],
          "env": {
            "TESSIE_API_TOKEN": "your-tessie-api-token",
            "TESSIE_DEFAULT_VIN": "your-17-digit-vin",
            "TESSIE_DISTANCE_FORMAT": "mi",
            "TESSIE_TEMP_FORMAT": "f",
            "TESSIE_PRESSURE_FORMAT": "psi"
          }
        }
      }
    ]
  }
}

😴 Auto-Wake

All vehicle commands automatically wake a sleeping vehicle before executing — no need to call wake_vehicle manually first.

  • If the vehicle is already awake, commands execute instantly with zero added latency

  • If the vehicle is asleep, the server sends a wake command and polls every 3 seconds until the vehicle is awake (up to 90 seconds), then sends your command

  • Read-only data tools (get_battery, get_location, etc.) use cached data by default and do not wake the vehicle


📡 MCP Resources

In addition to tools, this server exposes vehicle data as MCP Resources — structured data that AI clients can read as contextual documents:

URI

Description

tessie://vehicles

Fleet overview — all vehicles on the account

tessie://{vin}/state

Full live vehicle state (charge, climate, drive, config)

tessie://{vin}/status

Current awake/asleep status

Resources are accessible in Claude Desktop and other MCP clients that support the resources protocol.


🛠️ Available Tools

Vehicle Data

Tool

Description

get_vehicles

List all vehicles on the account

get_vehicle_state

Full state — drive, charge, climate, config

get_vehicle_status

Check if vehicle is awake/asleep

get_full_status

Combined battery + location + state in one call

get_battery

Battery level, range, voltage, temperature

get_battery_health

Battery degradation over time

get_location

GPS coordinates and street address

get_weather

Weather at the vehicle's current location

get_tire_pressure

All four tire pressures

get_consumption_since_charge

Energy usage since last charge

get_firmware_alerts

Vehicle firmware alerts

Drives & Charges

Tool

Description

get_drives

Drive history with distance, energy, speed

get_drive_path

GPS path for drives

set_drive_tag

Tag drives as business/personal

get_charges

Charging session history

set_charge_cost

Set cost for a charge session

get_idles

Idle periods (parked, not charging)

Commands (all auto-wake)

Tool

Description

wake_vehicle

Explicitly wake from sleep

lock / unlock

Door locks

open_front_trunk / open_rear_trunk

Trunk controls

vent_windows / close_windows

Window controls

vent_sunroof / close_sunroof

Sunroof controls

open_tonneau / close_tonneau

Cybertruck tonneau cover

flash_lights / honk

Lights and horn

trigger_homelink

Garage door opener

remote_start

Keyless driving (2-min window)

boombox

External speaker fart sound 🐄

Climate (all auto-wake)

Tool

Description

start_climate / stop_climate

Climate system

set_temperatures

Set cabin temp (15–28°C)

set_seat_heat / set_seat_cool

Seat heating/cooling (0–3)

start_defrost / stop_defrost

Max defrost mode

start_steering_wheel_heater / stop_steering_wheel_heater

Steering wheel heater

set_cabin_overheat_protection

Cabin Overheat Protection

set_climate_keeper_mode

Keep / Dog / Camp mode

set_bioweapon_mode

Bioweapon Defense Mode

Charging (all auto-wake)

Tool

Description

start_charging / stop_charging

Start/stop charging

set_charge_limit

Set charge limit (50–100%)

set_charging_amps

Set charging amperage

open_charge_port / close_charge_port

Charge port door

Modes (all auto-wake)

Tool

Description

enable_sentry_mode / disable_sentry_mode

Sentry Mode

enable_valet_mode / disable_valet_mode

Valet Mode

enable_guest_mode / disable_guest_mode

Guest Mode

enable_speed_limit / disable_speed_limit

Speed Limit Mode

Software (all auto-wake)

Tool

Description

schedule_software_update

Schedule a software update

cancel_software_update

Cancel a scheduled update


💬 Example Prompts

Once configured, try asking your AI assistant:

  • "How is my Tesla doing right now?" → uses get_full_status

  • "What's my battery level and estimated range?"

  • "Where is my car parked right now?"

  • "Start the climate and set it to 72°F" (auto-wakes if needed)

  • "Lock the car and turn on Sentry Mode" (auto-wakes if needed)

  • "Show me my drives from this week"

  • "Open the frunk"

  • "What's the tire pressure on all four tires?"

  • "Set my charge limit to 80%"

  • "Tag all my drives this month as business"


🔒 Security Notes

  • Your Tessie API token is passed as an environment variable — never stored in code or config files

  • The .gitignore in this repo explicitly excludes .env files

  • If your token has been exposed, rotate it immediately at dash.tessie.com/settings/api

  • All vehicle commands are authenticated with your personal token — only you can control your vehicle


🛠️ Development

npm install        # Install dependencies
npm run build      # Compile TypeScript
npm run dev        # Watch mode (auto-rebuild on changes)
npm start          # Run the compiled server

Requirements: Node.js 18+


If this project is useful to you, consider using these referral links:


📄 License

MIT © 2026 Andrew Krowczyk

Available Tools

61 tools
boomboxA

Plays a fart sound from the external speaker (requires firmware 2022.40.25+) — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

cancel_software_updateA

Cancels a scheduled software update — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

close_charge_portA

Closes the charge port door — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

close_sunroofA

Closes the sunroof — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

close_tonneauA

Closes the tonneau cover (Cybertruck) — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

close_windowsA

Closes all windows — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

disable_guest_modeA

Disables Guest Mode — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

disable_sentry_modeA

Disables Sentry Mode — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

disable_speed_limitA

Disables Speed Limit Mode — auto-wakes if asleep

Inputs: pin, vin, max_attempts, wait_for_completion.

disable_valet_modeA

Disables Valet Mode — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

enable_guest_modeA

Enables Guest Mode — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

enable_sentry_modeA

Enables Sentry Mode — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

enable_speed_limitB

Enables Speed Limit Mode — auto-wakes if asleep

Inputs: vin, limit_mph, max_attempts, wait_for_completion.

enable_valet_modeA

Enables Valet Mode — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

flash_lightsA

Flashes the vehicle's lights — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

get_batteryB

Returns battery level, range, voltage, temperature, and energy stats

Inputs: vin.

get_battery_healthB

Returns battery health measurements for a vehicle over time (degradation, capacity, max range)

Inputs: to, vin, from, distance_format.

get_chargesC

Returns charging sessions for the vehicle

Inputs: to, vin, from, limit, +4 more.

get_consumption_since_chargeA

Returns energy consumption data since the vehicle was last charged

Inputs: vin.

get_drive_pathA

Returns the GPS path for drives in a given timeframe

Inputs: to, vin, from, details, +1 more.

get_drivesB

Returns a list of drives for the vehicle, with distance, energy, speed, and route details

Inputs: to, tag, vin, from, +6 more.

get_firmware_alertsA

Returns firmware alerts generated by the vehicle

Inputs: vin.

get_full_statusA

Returns a combined snapshot of battery, location, and full vehicle state in one call — ideal for a quick overall check

Inputs: vin.

get_idlesA

Returns idle periods (vehicle parked, not driving or charging)

Inputs: to, vin, from, limit, +2 more.

get_locationA

Returns the vehicle's coordinates, street address, and saved location name

Inputs: vin.

get_tire_pressureB

Returns tire pressure for all four tires

Inputs: to, vin, from, pressure_format.

get_vehiclesA

Returns the latest state of all vehicles on the account

Inputs: only_active.

get_vehicle_stateB

Returns the latest state of a specific vehicle including drive state, charge state, climate state, and vehicle config

Inputs: vin, use_cache.

get_vehicle_statusB

Returns whether a vehicle is awake, asleep, or waiting_for_sleep

Inputs: vin.

get_weatherA

Returns the weather forecast around the vehicle's current location

Inputs: vin.

honkA

Honks the vehicle's horn — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

lockA

Locks the vehicle doors (auto-wakes if asleep)

Inputs: vin, max_attempts, wait_for_completion.

open_charge_portA

Opens the charge port door — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

open_front_trunkA

Opens the front trunk (frunk) — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

open_rear_trunkA

Opens the rear trunk, or closes it if already open (powered trunk required) — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

open_tonneauA

Opens the tonneau cover (Cybertruck) — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

remote_startA

Enables keyless driving. Driving must begin within 2 minutes. Auto-wakes if asleep.

Inputs: vin, max_attempts, wait_for_completion.

schedule_software_updateA

Schedules a software update to install after a delay (in seconds) — auto-wakes if asleep

Inputs: offset_sec (required), vin, max_attempts, wait_for_completion.

set_bioweapon_modeA

Enables or disables Bioweapon Defense Mode — auto-wakes if asleep

Inputs: on (required), vin, max_attempts, wait_for_completion.

set_cabin_overheat_protectionA

Enables or disables Cabin Overheat Protection — auto-wakes if asleep

Inputs: on (required), vin, fan_only, max_attempts, +1 more.

set_charge_costB

Sets the cost for a specific charging session

Inputs: cost (required), charge_id (required), vin.

set_charge_limitA

Sets the charge limit percentage — auto-wakes if asleep

Inputs: percent (required), vin, max_attempts, wait_for_completion.

set_charging_ampsA

Sets the charging amperage — auto-wakes if asleep

Inputs: amps (required), vin, max_attempts, wait_for_completion.

set_climate_keeper_modeA

Sets Climate Keeper mode: 0=Off, 1=Keep, 2=Dog, 3=Camp — auto-wakes if asleep

Inputs: mode (required), vin, max_attempts, wait_for_completion.

set_drive_tagA

Sets a tag (e.g. 'business', 'personal') on one or more drives

Inputs: tag (required), drives (required), vin.

set_seat_coolA

Sets the cooling level for a specific seat (0=off, 1=low, 2=medium, 3=high) — auto-wakes if asleep

Inputs: seat (required), level (required), vin, max_attempts, +1 more.

set_seat_heatA

Sets the heating level for a specific seat (0=off, 1=low, 2=medium, 3=high) — auto-wakes if asleep

Inputs: seat (required), level (required), vin, max_attempts, +1 more.

set_temperaturesA

Sets the cabin temperature (15-28°C) — auto-wakes if asleep

Inputs: temperature (required), vin, max_attempts, wait_for_completion.

start_chargingA

Starts charging the vehicle — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

start_climateA

Starts the climate system and begins preconditioning the battery — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

start_defrostA

Starts max defrost mode — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

start_steering_wheel_heaterA

Turns on the steering wheel heater — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

stop_chargingA

Stops charging the vehicle — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

stop_climateA

Stops the climate system — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

stop_defrostA

Stops max defrost mode — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

stop_steering_wheel_heaterA

Turns off the steering wheel heater — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

unlockA

Unlocks the vehicle doors (auto-wakes if asleep)

Inputs: vin, max_attempts, wait_for_completion.

vent_sunroofA

Vents the sunroof — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

vent_windowsA

Vents all windows slightly open — auto-wakes if asleep

Inputs: vin, max_attempts, wait_for_completion.

wake_vehicleA

Explicitly wakes the vehicle from sleep (also called automatically before any command). Times out after 90 seconds.

Inputs: vin.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 61 tools

    Disambiguation4/5

    Most tools have clear, distinct purposes, but get_vehicle_state, get_vehicle_status, and get_full_status overlap in scope, which could confuse an agent. The many enable/disable pairs are otherwise unambiguous.

    Naming Consistency5/5

    Tool names follow a consistent verb_noun snake_case pattern (get_*, set_*, start_*, stop_*, enable_*, disable_*). Exceptions like 'boombox' and 'remote_start' are minor and do not disrupt the overall pattern.

    Tool Count2/5

    At 61 tools, the set is excessively large. Many enable/disable pairs (e.g., enable_sentry_mode/disable_sentry_mode) could be consolidated into single set_* commands with boolean parameters, reducing bloat without losing functionality.

    Completeness5/5

    The tool surface is remarkably complete for a Tesla management server, covering state retrieval, climate, charging, security, historical drive/charge data, software updates, and comfort features. No major operational gaps are apparent.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      F
      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
    • A
      license
      Not graded
      quality
      D
      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
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides access to Tesla vehicle telemetry data via the Tessie API, enabling real-time monitoring of battery status, charging state, climate controls, location, and other vehicle metrics through 30+ tools with intelligent caching.
      -