Super EV MCP
Provides tools for interacting with Tesla's Fleet API, enabling users to list vehicles, read vehicle status, live data, and location, check fleet status, and send commands such as climate control, charging, locking/unlocking, opening the trunk or frunk, honking, flashing lights, and sending navigation destinations through their own Tesla developer app and virtual key.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Super EV MCP what's my Tesla's battery level and range?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Unofficial, not affiliated with Tesla, Inc.
Made by Creek and Stream.
Super EV MCP is a local stdio MCP server for Tesla’s Fleet API. Use your own Tesla developer application, your own domain, and your own virtual key to check vehicle status and send commands through Tesla’s HTTPS command proxy.
This software can unlock and open your car. Unlocking and opening either trunk require explicit human confirmation. Review the code before use. Keep the private key on the computer running the proxy, back it up to a password manager, and revoke it by removing the virtual key in the Tesla app.
Demo
Demo coming soon
Related MCP server: Tesla MCP Server
Quick start
Install Node.js 20 or newer. From the project checkout, install and build.
npm ci npm run buildRegister your Tesla developer app, set your credentials in the environment, and generate your virtual key on the proxy computer. Publish your public key before registering the domain. Replace
example.comwith your domain.node dist/cli.js keygen # Host the public key before running the next command. node dist/cli.js partner-register --domain example.com node dist/cli.js loginStart the TLS proxy and pair your key using the full setup below.
Add the server to your MCP client with the stdio configuration. The client launches this command. Use your checkout’s absolute path.
node /path/to/super-ev-mcp/dist/cli.js serve
Full setup for your own Tesla app, domain, and key
Bring your own Tesla app, domain, and key
Install Node.js 20 or newer. From a checkout, run
npm ciandnpm run build. The following examples usenode dist/cli.js. The package also provides thesuper-ev-mcpexecutable when installed with npm.Register your application in the Tesla developer portal. Set your allowed origin to your own domain, such as
https://example.com, and register the exact loopback redirect URI, by defaulthttp://localhost:9876/callback. Set your app ID and secret asTESLA_CLIENT_IDandTESLA_CLIENT_SECRETin the environment that starts the server and CLI. SetTESLA_REGIONtona,eu, orcnfor your Tesla login. China needs a separate developer application and usesTESLA_CN_CLIENT_IDandTESLA_CN_CLIENT_SECRET. Authentication overview · Fleet regionsOn your own computer where
tesla-http-proxyruns, runnode dist/cli.js keygen. Back upfleet-key.pemto a password manager immediately, for example as a secure note. Use the printed public key path to find the file. Host it on your own domain athttps://<your-domain>/.well-known/appspecific/com.tesla.3p.public-key.pem. Tesla virtual key setupPreview with
node dist/cli.js partner-register --dry-run --domain example.com. Run the command without--dry-runafter hosting the key to register and verify it in NA/APAC and EU, plus China when China credentials are set. Use--check-onlyto check existing registrations. Partner tokens · China partner tokens · Partner endpointsRun
node dist/cli.js login, open the displayed URL in a local browser, and grant the requested scopes. Clients with MCP URL elicitation can use thelogintool. The browser sends the callback directly to the local server. Third-party tokens · China third-party tokensRun Tesla’s
tesla-http-proxywith a TLS certificate valid for its hostname. An always-on machine you control, such as a Raspberry Pi, can run the proxy. For a remote proxy, use its reachable bind address and matching HTTPS hostname. In this example the paths refer to files in an external configuration directory. Use the Tesla proxy guide to install the proxy and provision its TLS certificate and private key. SetTESLA_PROXY_URLto its HTTPS origin andTESLA_PROXY_CA_PATHto the CA certificate file if using private trust. Tesla Vehicle Command Proxytesla-http-proxy -host localhost -port 4443 \ -tls-key /path/to/config/tls-key.pem -cert /path/to/config/tls-cert.pem \ -key-file /path/to/config/fleet-key.pemSelect the vehicle in the Tesla app and open
https://tesla.com/_ak/<your-domain>on your phone to pair the key. Once the MCP client is running, calllist_vehiclesand thenfleet_statusfor the selected vehicle to verify pairing and command readiness. Virtual key pairing · Fleet status
Run node dist/cli.js doctor to check local credentials and file availability.
.env.example lists all settings. The CLI reads the process
environment. Load your own environment through your shell or MCP client.
Configuration and state live under ~/.config/super-ev-mcp/ by default.
XDG_CONFIG_HOME changes the parent and SUPER_EV_MCP_CONFIG_DIR overrides
the entire path. Use separate directories for separate developer apps or regions.
Key storage and backup
Generate and store the private key on your own computer that runs
tesla-http-proxy. Keygen uses the config directory outside the repository
and sets directory permissions to 0700 and private key permissions to
0600. Keep a password manager backup and avoid keeping the only copy on
an ephemeral, cloud, or remote machine.
If you lose the private key and its backup, generate a new pair, re-host the
new public key at the same well-known URL, and re-pair the virtual key. Use
keygen --force to replace existing key files during recovery or rotation.
MCP client configuration
Provide the app credentials to the MCP client through its environment or secure configuration mechanism.
{
"mcpServers": {
"super-ev-mcp": {
"command": "node",
"args": ["/path/to/super-ev-mcp/dist/cli.js", "serve"],
"env": {
"TESLA_REGION": "na",
"TESLA_PROXY_URL": "https://localhost:4443",
"TESLA_PROXY_CA_PATH": "/path/to/config/tls-cert.pem"
}
}
}
}Tools
Tool | What it does | Wakes car? | Needs confirmation? |
| List VIN suffixes and connectivity state. | No | No |
| Read live status when online or cached status when asleep or offline. | No | No |
| Read live charge, climate, and vehicle state. | With | No |
| Return coordinates on explicit request with location consent. | With | No |
| Check virtual key pairing, signed protocol readiness, and firmware. | No | No |
| Control climate and set both zones in Celsius. | By default | No |
| Control charging and set the target percentage. | By default | No |
| Lock the vehicle. | By default | No |
| Unlock the vehicle. | By default | Yes |
| Actuate the rear trunk or open the frunk. | By default | Yes |
| Signal from the vehicle. | By default | No |
| Share a destination through the proxy’s Fleet REST forwarding. | By default | No |
| Start browser authorization in clients with MCP URL elicitation. | No | No |
Vehicle tools take vehicle as the four-character VIN suffix. Supply the full
VIN when two vehicles share a suffix. Output uses the suffix. Cached snapshots
can be hours old. Use the block timestamps, and expect an unavailable result
when Tesla has no cache. Commands can wake the vehicle by default. Pass
wake: false to require an already-online vehicle. The server checks
fleet_status before commands and requires a paired key and a vehicle that
reports the signed protocol as required. It sends the command once and reports
uncertainty if the response is inconclusive. Sensitive commands require confirm: true after human approval.
Configure your MCP client to approve sensitive calls with the human.
Tesla vehicle data ·
Tesla commands ·
Navigation proxy behavior ·
MCP tools specification
Billing
Tesla Fleet API is pay-per-use. Failed requests with HTTP status below 500 count toward billed usage. The billing limit starts at zero and can be raised after adding a payment method. Tesla disables API access without a payment method or when you exceed the limit. Minimize vehicle wakes and use cached status where possible. Wake limits are per vehicle, per server process. Tesla billing and limits · Tesla API best practices
OAuth scopes
The server requests
openidfor authorization,offline_accessfor refresh,vehicle_device_datafor status,vehicle_cmdsandvehicle_charging_cmdsfor controls, andvehicle_locationfor the explicit location tool. The configured scope list can omit unused vehicle permissions. The tools operate on vehicles, so the OAuth flow rejects the account-profile scopeuser_data.
Credentials, audit, and revocation
Login uses PKCE and state. Refresh rotates tokens and saves them atomically in a mode-0600 file before serving the new access token. The CLI and server coordinate through a lock in the config directory. If a crash leaves the store locked, stop all processes using it before removing
tokens.json.lock.Keep the configuration directory private and outside any git tree. The proxy has the signing key and receives bearer credentials over verified TLS. Use a proxy you control. Keep MCP stdio connected to a trusted client.
The append-only
audit.jsonlrecords time, tool, VIN suffix, allowed numeric or boolean parameters, and result status. It excludes credentials, keys, destinations, coordinates, full VINs, and upstream error bodies.Revoke application consent in the Tesla account and remove the virtual key from the vehicle’s Locks screen in the Tesla app or vehicle UI. Stop the proxy, archive or remove the old local key files, generate a new pair, update the hosted public key and registration, then pair the new key. Tesla consent revocation · Tesla virtual key removal
Troubleshooting
fleet_statusreports an unpaired key. Confirm you selected the intended vehicle in the Tesla app. Pair throughhttps://tesla.com/_ak/<your-domain>and check that the hosted public key matches the proxy’s signing key.Billing limit is zero or Tesla returns a payment-required error (such as HTTP 402). Check the payment method and billing limit in the Tesla developer portal before retrying.
The car is asleep. Use
vehicle_statusfor cached data and check its timestamps. Usewake: trueon a live read only when you need fresh data. If you hit the wake limit, wait before trying again.
FAQ
Do I need my own Tesla developer app and domain? Yes. Register your app and host your own public key on your domain so Tesla can verify and pair it.
Does my client need to support browser login through MCP? No. Use
node dist/cli.js login in a terminal with the same configuration as the server.
Credits
The MIT-licensed tesla-mcp-server informed the navigation payload and vehicle wake flow. Tesla’s vehicle-command project provides the HTTPS command proxy. tylergibbs1/tesla-mcp-server · Tesla vehicle-command
License
Released under the MIT License.
Available Tools
19 toolscharge_startCIdempotent
Start charging.
Inputs: vehicle (required), wake.
charge_stopCIdempotent
Stop charging.
Inputs: vehicle (required), wake.
climate_offCIdempotent
Stop climate control.
Inputs: vehicle (required), wake.
climate_onCIdempotent
Start climate control.
Inputs: vehicle (required), wake.
flash_lightsC
Flash the vehicle lights.
Inputs: vehicle (required), wake.
fleet_statusARead-only
Check virtual key pairing and signed command readiness without waking the vehicle.
Inputs: vehicle (required).
honkC
Honk the horn.
Inputs: vehicle (required), wake.
list_vehiclesCRead-only
List vehicles using VIN suffixes and connectivity state.
Inputs: no named parameters.
lockCIdempotent
Lock the vehicle.
Inputs: vehicle (required), wake.
loginA
Link a Tesla account using a browser window, or use the CLI login command.
Inputs: no named parameters.
open_frunkADestructive
Open the front trunk after human confirmation.
Inputs: vehicle (required), wake, confirm.
open_trunkBDestructive
Open or actuate the rear trunk after human confirmation.
Inputs: vehicle (required), wake, confirm.
set_charge_limitBIdempotent
Set the charging limit as a percentage.
Inputs: percent (required), vehicle (required), wake.
set_temperatureBIdempotent
Set both climate zones in degrees Celsius.
Inputs: celsius (required), vehicle (required), wake.
unlockADestructiveIdempotent
Unlock the vehicle after human confirmation.
Inputs: vehicle (required), wake, confirm.
vehicle_data_liveC
Read live vehicle data. Set wake to true to wake a sleeping vehicle.
Inputs: vehicle (required), wake.
vehicle_locationA
Read the vehicle's location with vehicle_location consent. Use only when the human asks for location.
Inputs: vehicle (required), wake.
vehicle_statusARead-only
Read status without waking the vehicle. Uses cached data while asleep or offline.
Inputs: vehicle (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools map to clearly distinct vehicle actions or resources, and descriptions clarify boundaries such as cached status vs live data. The main potential confusion is among list_vehicles, fleet_status, vehicle_status, and vehicle_data_live, but the wake/cached distinctions make them usable.
All names use snake_case, but the verb/noun conventions are mixed: climate_on and charge_start are noun-first, list_vehicles and set_temperature are verb-first, and lock/unlock/honk are bare verbs. The set is readable, but the pattern is not predictable.
Nineteen tools is slightly heavy but reasonable for an EV control surface covering climate, charging, locks, trunks, alerts, navigation, and account setup. Each tool maps to a concrete user-facing action, though a few could eventually be grouped.
The surface covers core EV workflows: login, vehicle discovery/status, climate, charging, locking, trunks, horn/lights, and navigation. Minor gaps remain, such as closing trunks, per-zone climate control, or charging schedule/amperage settings, but agents can handle common tasks.
Maintenance
Related MCP Connectors
AI for your car: check charge, start climate, lock/unlock, open trunk via Tesla Fleet API. OAuth.
Control your Tesla from your AI assistant - climate, charging, access, and security.
Tesla Fleet API for AI: send navigation destinations, read battery and location, run car commands.
Control your Tesla - wake it, warm it up, unlock and more. Get your developer token at https://Infoseek.ai/mcp. Also requires your own Tesla developer token which is tied to your car/fleet.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that connects to the Tesla Fleet API, allowing AI assistants like Claude to control Tesla vehicles and access vehicle information through natural language commands.20MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that connects to the Tesla Fleet API, allowing users to control vehicles and retrieve real-time status updates through Claude and other AI assistants. It supports functions such as waking up vehicles, viewing detailed vehicle information, and debugging via both stdio and HTTP/SSE transports.MIT
- AlicenseBqualityDmaintenanceMCP server combining TeslaMate historical analytics with Fleet API live data and commands. Works with Claude Code, Claude Desktop, Cursor, and any MCP-compatible client.292MIT
- AlicenseNot gradedqualityCmaintenanceMinimal stdio MCP server for Tesla Fleet API, enabling vehicle listing, state checks, live data, nearby chargers, wake, and command tools (climate, charge, lock) via optional tesla-http-proxy.1MIT