Tesla
Tesla Fleet API for AI: send navigation destinations, read battery and location, run car commands.
我该使用它吗
质量与安全性
发现(9)
- LOW在 tesla_localizacao 中
- LOW在 tesla_definir_destino 中
- LOW在 tesla_ir_supercharger 中
- LOW在 tesla_travar 中
- LOW在 tesla_destravar 中
- LOW在 tesla_clima 中
- LOW在 tesla_carga 中
- LOW在 tesla_buzinar_piscar 中
- LOW在 connect 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"tesla-mcp": {
"url": "https://api.mcp.ai/p_tesla"
}
}
}远程端点
https://api.mcp.ai/p_teslastreamable-http它能做什么
工具清单
工具(17)
🟢tesla_veiculos(account)
Lista 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). Não acorda o carro.
输入模式
{
"type": "object",
"properties": {
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢tesla_estado(veiculos, acordar, account)
Estado do carro: bateria (%), autonomia (km), carga (conectado, carregando, limite, tempo restante), clima (temperaturas, ar ligado), travas, portas e janelas, odômetro e software. Se o carro estiver dormindo, devolve só que está dormindo, a não ser que `acordar` seja true.
输入模式
{
"type": "object",
"properties": {
"veiculos": {
"type": "array",
"items": {
"type": "string"
}
},
"acordar": {
"type": "boolean"
},
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢tesla_localizacao(veiculos, acordar, account)
Localização atual do carro: latitude, longitude, direção e velocidade, e o destino ativo na navegação quando houver. Não acorda o carro salvo `acordar: true`.
输入模式
{
"type": "object",
"properties": {
"veiculos": {
"type": "array",
"items": {
"type": "string"
}
},
"acordar": {
"type": "boolean"
},
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪tesla_acordar(veiculos, account)
Acorda o carro (sai do modo dormindo) e espera até ~30 s ficar online. Use antes de ler o estado de um carro dormindo. Tem custo maior que uma leitura e gasta um pouco de bateria.
输入模式
{
"type": "object",
"properties": {
"veiculos": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪tesla_definir_destino(veiculos, endereco, latitude, longitude, account)
Envia um destino para a navegação do carro, que começa a rota na tela. Passe `endereco` (texto livre, como no app da Tesla) OU `latitude` + `longitude`. Acorda o carro se precisar.
输入模式
{
"type": "object",
"properties": {
"veiculos": {
"type": "array",
"items": {
"type": "string"
}
},
"endereco": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪tesla_ir_supercharger(veiculos, account)
Inicia a navegação do carro até o Supercharger mais próximo. Acorda o carro se precisar.
输入模式
{
"type": "object",
"properties": {
"veiculos": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪tesla_travar(veiculos, account)
Trava as portas do carro. Acorda o carro se precisar.
输入模式
{
"type": "object",
"properties": {
"veiculos": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪tesla_destravar(veiculos, account)
DESTRAVA as portas do carro, com efeito físico imediato: qualquer pessoa ao lado do carro consegue abri-lo. Só use quando o dono pedir explicitamente. Acorda o carro se precisar.
输入模式
{
"type": "object",
"properties": {
"veiculos": {
"type": "array",
"items": {
"type": "string"
}
},
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪tesla_clima(veiculos, ligar, temperatura_c, account)
Liga ou desliga o ar-condicionado do carro e, opcionalmente, define a temperatura (°C, motorista e passageiro). Ex.: ligar a 21 °C antes de sair.
输入模式
{
"type": "object",
"properties": {
"veiculos": {
"type": "array",
"items": {
"type": "string"
}
},
"ligar": {
"type": "boolean"
},
"temperatura_c": {
"type": "number"
},
"account": {
"type": "string"
}
},
"required": [
"ligar"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪tesla_carga(veiculos, acao, limite_percent, account)
Controla a carga: `iniciar` ou `parar` a carga (o cabo precisa estar conectado) e/ou ajustar o limite de carga em % (50 a 100).
输入模式
{
"type": "object",
"properties": {
"veiculos": {
"type": "array",
"items": {
"type": "string"
}
},
"acao": {
"type": "string",
"enum": [
"iniciar",
"parar"
]
},
"limite_percent": {
"type": "number"
},
"account": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪tesla_buzinar_piscar(veiculos, acao, account)
Buzina ou pisca os faróis do carro, para achá-lo num estacionamento. Faz barulho/luz de verdade no local do carro.
输入模式
{
"type": "object",
"properties": {
"veiculos": {
"type": "array",
"items": {
"type": "string"
}
},
"acao": {
"type": "string",
"enum": [
"buzinar",
"piscar"
]
},
"account": {
"type": "string"
}
},
"required": [
"acao"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢show_version
Show the current MCP platform and adapter versions.
输入模式
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡report_bug(message, context, conversation)
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
输入模式
{
"type": "object",
"properties": {
"message": {
"type": "string"
},
"context": {
"default": "",
"type": "string"
},
"conversation": {
"default": "[]",
"type": "string"
}
},
"required": [
"message"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢connect
Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.
输入模式
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢toolkit_info
Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
输入模式
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡marketplace(action, query, mcp_id, limit, tier_slug, ...)
The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.
输入模式
{
"type": "object",
"properties": {
"action": {
"default": "search",
"type": "string",
"enum": [
"search",
"describe",
"install",
"uninstall",
"subscribe",
"cancel",
"resume",
"report_bug",
"request_mcp",
"list_tools",
"invoke",
"search_prompts",
"get_prompt",
"publish_prompt"
]
},
"query": {
"default": "",
"type": "string"
},
"mcp_id": {
"default": "",
"type": "string"
},
"limit": {
"default": 10,
"type": "number"
},
"tier_slug": {
"default": "",
"type": "string"
},
"immediate": {
"default": false,
"type": "boolean"
},
"cancel_reason": {
"type": "string",
"enum": [
"too_expensive",
"missing_features",
"switched_service",
"unused",
"customer_service",
"too_complex",
"low_quality",
"other"
]
},
"cancel_comment": {
"default": "",
"type": "string"
},
"message": {
"default": "",
"type": "string"
},
"report_context": {
"default": "",
"type": "string"
},
"conversation": {
"default": "[]",
"type": "string"
},
"request_name": {
"default": "",
"type": "string"
},
"request_details": {
"default": "",
"type": "string"
},
"tool_id": {
"default": "",
"type": "string"
},
"arguments": {
"default": "{}",
"type": "string"
},
"prompt_slug": {
"default": "",
"type": "string"
},
"prompt_vars": {
"default": "{}",
"type": "string"
},
"prompt_category": {
"default": "",
"type": "string"
},
"prompt_tool": {
"default": "",
"type": "string"
},
"prompt_title": {
"default": "",
"type": "string"
},
"prompt_description": {
"default": "",
"type": "string"
},
"prompt_body": {
"default": "",
"type": "string"
},
"prompt_targets": {
"default": [],
"type": "array",
"items": {
"type": "string",
"enum": [
"claude",
"chatgpt",
"cursor",
"lovable"
]
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡authenticate(token)
MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据