Tesla

io.github.mcp-dirv0.1.0更新于 Oct 11, 2026

Tesla Fleet API for AI: send navigation destinations, read battery and location, run car commands.

已验证Streamable HTTP可网页运行Location & LifestyleFinance

概览

AI 生成的概览

让助手读取特斯拉车辆的电池、续航、充电、空调、门锁和位置,并发送导航目的地或执行车辆指令。

功能
通过用户自己的特斯拉账户连接官方 Tesla Fleet API,中间没有第三方中转。工具可列出账户下的车辆并读取状态(电池、续航、充电、空调、门锁、车门、里程、软件)、位置和当前导航目的地。写入类工具可把街道地址、坐标或最近的超级充电站发送到车辆导航,上锁与解锁,开关空调并设定温度,开始或停止充电并设置充电上限,以及鸣笛或闪灯。读取不会唤醒休眠车辆,除非明确要求;指令会在需要时唤醒车辆。
适用场景
适合想用自然语言在 MCP 客户端中查看或操作自己特斯拉的场景:出发前发送目的地、查看电池与续航、提前开启空调、管理充电,或在停车场找车。
运行要求
通过 HTTP 访问的远程 MCP 端点,无需本地包或运行时。需要经 OAuth 授权的特斯拉账户,并在手机上为每辆车批准配对的虚拟钥匙(没有它指令无法送达),以及按次计费的预付额度。Tesla Fleet API 覆盖北美/亚太和欧洲地区。
安装前请注意
解锁会产生即时物理效果:车旁任何人都能打开车门。指令会写入车辆(导航、空调、充电、门锁、鸣笛、闪灯),并可能唤醒车辆而消耗电量。访问令牌加密存储,仅用于调用 Tesla Fleet API;工具返回的数据会发送给所选的 LLM 服务方。按次计费从预付额度中扣除,依据特斯拉的每请求费用。与特斯拉无隶属关系。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Tesla,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "tesla-mcp": {
      "type": "http",
      "url": "https://api.mcp.ai/p_tesla"
    }
  }
}

README

Tesla

Tesla MCP, send a destination to your car and control it in plain language

Talk to your Tesla from Claude, ChatGPT or any MCP client. It runs on the official Tesla Fleet API, with your own Tesla account (OAuth) and no third-party relay in the middle. The highlight is navigation: "send this address to my car" puts the route on the car's screen, from a street address, coordinates or the nearest Supercharger. It also reads battery, range, charging, climate, locks and location, and runs commands: lock and unlock, climate on/off and temperature, start/stop charging and charge limit, honk and flash. Commands are signed with Tesla's Vehicle Command Protocol. Pay per use with prepaid credits. Not affiliated with Tesla.

  • 🧭 Send a destination to the car: street address, coordinates or the nearest Supercharger, straight to the car's navigation
  • 🔋 Battery, range and charging: state of charge, range in km, charging status, limit and time to full
  • 📍 Location: where the car is, heading and speed, and the active route destination
  • ❄️ Climate: turn it on or off and set the temperature before you leave
  • 🔒 Locks, honk and lights: lock, unlock (with a confirmation step), honk or flash to find it in a parking lot
  • 😴 Sleep-aware: reads never wake the car unless you ask; commands wake it only when needed
  • 💬 Works with any MCP client: Claude Desktop, ChatGPT, Cursor, VS Code, Cline, Continue

Versão em português · Full docs (PT-BR) · Agent skill


One-click install

Claude (Web and Desktop)

Anthropic unified MCP installation at claude.ai/customize/connectors. The same link works for Claude Web and Claude Desktop (just be logged in):

➕ Open in Claude and connect

Manual (if the deeplink does not open): claude.ai/customize/connectors → + → Add custom connector → paste Name Tesla and URL https://api.mcp.ai/p_tesla.

Cursor

➕ Install Tesla in Cursor

VS Code (Copilot Chat)

➕ Install Tesla in VS Code

ChatGPT, Manus, OpenClaw and 40+ other clients

Works with any MCP client that speaks MCP over HTTP. The server URL is always:

https://api.mcp.ai/p_tesla

Per-client details: INSTALL.md.


Example prompts

Send 1 Infinite Loop, Cupertino to my Tesla's navigationHow much battery and range does my car have right now?Where is my car parked?Turn on the climate at 21°CTake me to the nearest SuperchargerSet the charge limit to 80% and start charging

11 tools available

ToolDescription
tesla_veiculosLista os carros da conta Tesla conectada: VIN, nome, modelo, se está online ou dormindo, e se a chave virtual do app já está pareada (sem ela os comandos não chegam ao carro).
tesla_estadoEstado do carro: bateria (%), autonomia (km), carga (conectado, carregando, limite, tempo restante), clima (temperaturas, ar ligado), travas, portas e janelas, odômetro e software.
tesla_localizacaoLocalização atual do carro: latitude, longitude, direção e velocidade, e o destino ativo na navegação quando houver.
tesla_acordarAcorda o carro (sai do modo dormindo) e espera até ~30 s ficar online.
tesla_definir_destinoEnvia um destino para a navegação do carro, que começa a rota na tela.
tesla_ir_superchargerInicia a navegação do carro até o Supercharger mais próximo.
tesla_travarTrava as portas do carro. Acorda o carro se precisar.
tesla_destravarDESTRAVA as portas do carro, com efeito físico imediato: qualquer pessoa ao lado do carro consegue abri-lo.
tesla_climaLiga ou desliga o ar-condicionado do carro e, opcionalmente, define a temperatura (°C, motorista e passageiro).
tesla_cargaControla a carga: iniciar ou parar a carga (o cabo precisa estar conectado) e/ou ajustar o limite de carga em % (50 a 100).
tesla_buzinar_piscarBuzina ou pisca os faróis do carro, para achá-lo num estacionamento.

Details for each tool: docs/ferramentas.md (PT-BR)


What you can ask

AreaCoverageWrites
NavigationSend a street address or coordinates to the car's navigation, route to the nearest SuperchargerWrite
Vehicle stateBattery, range, charging status and limit, climate and temperatures, locks, doors and windows, odometer, software versionRead
LocationCoordinates, heading, speed, active route destination and ETARead
ClimateOn/off and driver/passenger temperatureWrite
ChargingStart/stop charging, charge limit (50 to 100%)Write
Security and finding the carLock, unlock, honk, flash the lightsWrite
FleetEvery car on the account, online or asleep, and whether the virtual key is pairedRead

Before connecting, three honest notes

  1. Commands need the virtual key. After you authorize, open https://www.tesla.com/_ak/api.mcp.ai on your phone (Tesla app installed) and approve the key for each car. Reads work without it; commands do not.
  2. Regions. The Tesla Fleet API serves accounts in North America/Asia-Pacific and Europe. Accounts in other regions (for example Brazil) may not connect.
  3. Sleeping cars. Reads never wake the car on their own, because waking costs more and uses battery. Ask for it (acordar: true) or just send a command, which wakes the car when it has to.

Pricing

Prepaid credit wallet, pay per use. See docs/precos.md (PT-BR).


Privacy & data protection

  • Sub-processors: Tesla, Inc., the LLM host you choose (Claude, ChatGPT, Cursor, your own agent). Full list in docs/privacidade-lgpd.md.
  • Data returned by the tools is sent to the LLM host you choose, a sub-processor outside our control. We recommend plans with training opt-out.

FAQ

Is this Tesla's official MCP? No. This is an independent MCP that talks to Tesla's official Fleet API with your own Tesla account. It is not affiliated with Tesla and does not imply a partnership. Tesla is a trademark of its owner, cited here nominatively.

Is there a third party between me and my car? No relay service like Tessie or Teslemetry. Calls go from the mcp.ai server straight to the Tesla Fleet API, and commands are signed with Tesla's Vehicle Command Protocol using our app key, which you approve on your phone.

Why does a command fail on my car? Almost always the virtual key is not paired yet. Open https://www.tesla.com/_ak/api.mcp.ai on your phone with the Tesla app installed and approve it for that car. The tool returns this link when it happens.

Where are my tokens stored? Encrypted, and used only to call the Tesla Fleet API. They never show up in a tool response or in logs. You can revoke access anytime in your Tesla account.

How much does it cost? Pay per use with prepaid credits, priced on Tesla's own per-request fees (data, command, wake). Your first calls are free to try it.


Support


License

MIT — see LICENSE. The MCP server at api.mcp.ai/p_tesla is proprietary (hosted); this repo (manifests, docs, skills) is MIT.

来源:README.md,提交 b74690e

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.1.0最新Oct 11, 2026