原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MCP Tesla

作者:MyTeslaMate版本 1.0.0i★ –i在云端运行
注册名称io.github.jlestel/mcp-tesla

安装

概览

作者提供的说明(英文原文)

MCP server wrapping the Tesla Fleet API and TeslaMate API

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://mcp.myteslamate.com/mcp

在终端中运行这条命令

claude mcp add --transport http tesla https://mcp.myteslamate.com/mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "tesla": {
      "url": "https://mcp.myteslamate.com/mcp"
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "tesla": {
      "type": "http",
      "url": "https://mcp.myteslamate.com/mcp"
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://mcp.myteslamate.com/mcp

菜单名称可能因套餐和版本不同而略有差异。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ! 注意

    作者与仓库一致

    发布者(jlestel)不是仓库所有者(MyTeslaMate);可能是其他人代为上架的

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    端点有响应

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    使用 OAuth 登录

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18871 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18871 个服务器的 5% 更新
  • 基础检查结果等于或优于此分类中其他 18871 个服务器的 13%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

MCP Tesla 安全吗?

它在 1 项适用的基础检查中通过了 0 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.0)于7个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, NotebookLM MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2114天前更新

在云端运行✓ desktopcommander.app

NotebookLM MCP

Google Gemini Notebook (ex NotebookLM) over MCP + a local REST API — cited answers, Studio, history

作者:roomi-fields起步阶段↓ 1331/周今天更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Tesla MCP Server: https://mcp.myteslamate.com/mcp

This repository provides a Model Context Protocol server that wraps both the Tesla Fleet API and the TeslaMate API. It includes vehicle endpoints, vehicle commands, energy endpoints (Powerwall/Solar), and charging endpoints. The implementation is modular and fully featured, exposing 98 MCP tools for the Tesla Fleet API and 9 MCP tools for the TeslaMate API.


✨ What You Can Do

This isn't just remote control — it's a conversational interface to your entire Tesla ecosystem. Express your use cases directly to your AI — describe what you want in plain language and let it figure out which tools to call, in what order, and with what parameters. No app to open, no menu to navigate.

⚡ Energy Optimization

*"My Powerwall is at 40%. Should I charge my car now or wait for solar production this afternoon?"*

*"Analyze my last 30 days of energy data — am I losing money by exporting to the grid while paying to charge at night?"*

*"Set the Powerwall backup reserve to 20% and schedule the car to charge from 2am to 6am at 16A."*

The AI can cross-reference your solar production, Powerwall state, grid rates, and vehicle battery level to give you a recommendation — and act on it immediately.

🚗 Smart Vehicle Management

*"I have a road trip to Lyon next Thursday. Based on my usual efficiency, will I need to stop for charging? Find the best Supercharger on the route."*

*"Compare my energy consumption this month vs last month. What changed?"*

*"Pre-condition the car at 7:45am every weekday and set the charge limit back to 80% — it's currently at 100% from the trip."*

📊 Data & Insights (with TeslaMate API)

*"What's my average km/kWh over the last 3 months? Is it getting worse?"*

*"Show me my most expensive charging sessions this year and where they happened."*

*"How many hours per week is the car sitting with climate running? What's the energy cost?"*

🔐 Security & Peace of Mind

*"Is my car locked and is Sentry mode on? I forgot to check before my flight."*

*"My car is parked downtown. Turn on Sentry mode and send me the current location."*


🎨 Generative UI — Custom dashboards on demand

Beyond pre-built widgets, the server exposes a Generative UI capability so the AI can build interactive Prefab UI components on the fly to answer with charts, tables and metric cards — not just text.

*"Show me a bar chart of my charging cost per location for last month."*

*"Build a dashboard for this car: current SoC, last 7 drives, and battery health degradation."*

*"Compare my efficiency this winter vs last summer with two side-by-side metric cards."*

The AI uses generative_generate_prefab_ui to author Python code in a sandbox (Pyodide + Deno on the server); the resulting widget is rendered directly in your chat through a Skybridge-mime iframe — no template authoring on your side, no extra round-trip. The companion generative_search_prefab_components lookup tool keeps the LLM honest about component signatures.

It works equally well for Tesla Fleet API and TeslaMate users — the same generative tool is gated by either subscription.

Skills — pre-framed analytical workflows

The server also ships MCP Skills: markdown workflows the LLM reads on demand to chain tools into a coherent answer. The first one available is drive-efficiency-coach:

*"Run the drive efficiency coach for the last 30 days and show it as a report."*

The skill walks the AI through fetching your TeslaMate drives, computing Wh/km percentiles, identifying outliers, cross-referencing speed/temperature/trip-length, and rendering a Generative UI report (metric cards + outliers table + 1–3 actionable coaching insights anchored in your own numbers).

🤝 Contribute a skill

Skills are the easiest way to extend this server without touching Python. Pull requests welcome — drop a new directory under tesla_mcp/skills/ and SkillsDirectoryProvider picks it up automatically.

A good skill is:

  1. Specific — answers one concrete question well rather than trying to do everything (e.g. *"summarize my charging cost by location for a period"* beats *"manage my charging"*).
  2. Tool-aware — names the exact MCP tools to call (teslamate_get_car_drives, energy_live_status, …) and the right arguments.
  3. Numerically anchored — the coaching/insights step quotes numbers derived from the user's own data, not generic platitudes.
  4. Visual when it helps — wraps up with a generative_generate_prefab_ui render for analytics/reports; plain text for one-shot questions.
  5. Honest about pitfalls — calls out unit ambiguities, data gaps, edge cases the LLM should handle.

Minimal layout:

tesla_mcp/skills/your-skill-name/

└── SKILL.md

SKILL.md starts with YAML frontmatter (name, description) followed by the workflow. See drive-efficiency-coach/SKILL.md as a reference.

Ideas waiting for an author:

  • charging-cost-breakdown — group last month's charges by location, surface cost-per-100km
  • weekly-tesla-digest — drives + charges + battery snapshot + software updates as a Monday-morning email-style report
  • range-anxiety-checker — given a destination, cross-reference SoC, weather, elevation and recent efficiency to call out a stop or reassure
  • home-charging-window-finder — using TOU settings + recent charge sessions, find the cheapest 4-hour window to plug in tonight

Available capabilities (98 tools for Tesla Fleet API + 9 for TeslaMate API + 2 Generative UI tools + skills):

  • Vehicle control: lock/unlock, climate, trunk, windows, lights, horn
  • Charging: start/stop, set limits, schedule, charging amps, charge history
  • Powerwall & Solar: live status, energy history, backup reserve, storm mode, grid import/export, time-of-use settings
  • Navigation: send destinations, find nearby Superchargers
  • Security: Sentry mode, valet mode, speed limits, PIN to drive
  • Data & analytics: vehicle data, trip history, drive statistics *(TeslaMate API)*
  • Generative UI: on-demand Prefab dashboards (charts, metrics, tables) authored by the AI in a sandboxed Pyodide runtime
  • Skills: pre-framed analytical workflows (e.g. drive-efficiency-coach) the AI reads on demand to chain tools into a coherent answer

🔐 One-Click SSO — Connect with Your Tesla Account

The hosted server supports OAuth 2.0 Single Sign-On via Tesla's official authorization server. Compatible clients (ChatGPT, Claude.ai, VS Code…) trigger an automatic sign-in flow — no token copy-paste required.

MCP server URL: https://mcp.myteslamate.com/mcp

The server proxies the OAuth flow to auth.tesla.com, then exchanges your Tesla token for a MyTeslaMate token transparently. Your Tesla credentials never touch this server.


🤖 Setup on ChatGPT (Apps / MCP Connector)

ChatGPT supports native MCP connectors via Settings → Apps.

  1. In chat.openai.com, open Settings → Apps.
  2. Click Create app.
  3. Enter the MCP server URL:
   https://mcp.myteslamate.com/mcp
  1. ChatGPT will auto-discover the OAuth metadata and prompt you to Connect.
  2. Sign in with your Tesla account — the authorization is handled automatically.
  3. The connector appears in your Enabled apps list and is available in all your chats.

🧠 Setup on Claude.ai (MCP Connector)
  1. Open claude.ai → Settings → Connectors.
  2. Click Add custom connector.
  3. Enter a name (e.g. Tesla) and the MCP server URL:
   https://mcp.myteslamate.com/mcp
  1. Click Add — Claude will auto-discover the OAuth metadata and show a Connect button.
  2. Click Connect — you'll be redirected to Tesla's login page.
  3. After authorization, Claude will have access to all Tesla MCP tools.

Note: OAuth-based SSO requires a MyTeslaMate account. The server validates your Tesla token and links it to your MTM subscription automatically.


🤖 Claude Code Skills

Ready-to-use Claude Code skills for this MCP server are available in [myteslamate/tesla-skills](https://github.com/MyTeslaMate/tesla-skills).

Install the /tesla slash command in one step:

Then in Claude Code:

/tesla what is my battery level?

/tesla lock my car /tesla how much did I charge last month?


🚀 Quick Start - Use Directly in VS Code, Claude Desktop, etc.

No installation required! Use the hosted MCP server directly. Two authentication options:

Option A — SSO (Recommended for Claude.ai & ChatGPT)

Simply provide the server URL and let the client handle the OAuth flow automatically (see sections above).

Option B — Manual Token (VS Code, Cursor, Claude Desktop)

For clients that don't support OAuth, use your MyTeslaMate API token directly in the Authorization header.

For VS Code / Cursor (with MCP Extension) and Other MCP Clients

Add both endpoints to your .vscode/mcp.json configuration to choose your preferred integration:

{

"servers": { "tesla": { "type": "http", "url": "https://mcp.myteslamate.com/mcp" } } }

  • Use tesla_fleet_api for direct access to Tesla's official Fleet API.
  • Use teslamate for integration via TeslaMate API.
For Claude Desktop

Add endpoints in the MCP Connector configuration with the same URLs and headers as above.:

claude mcp add --transport http tesla-api "https://mcp.myteslamate.com/mcp"

Select the server according to your authentication method and API preference.

🔑 Getting Your Token (Manual Mode Only)
  1. Visit MyTeslaMate.com
  2. Sign in with your Tesla account
  3. Navigate to the API section in your dashboard
  4. Copy your personal API token
  5. Use it in your MCP configuration

🔧 Self-Hosting (Advanced)

If you prefer to run your own instance, this repository also support TeslaMate API and Tesla Fleet API (Requires Tesla Developer Account and proper Fleet API registration).

Features

  • Modular package under tesla_mcp with a reusable TeslaClient.
  • Vehicle endpoints (29 read-only endpoints):
  • Core Vehicle Info:
  • GET /api/1/vehicles - List vehicles
  • GET /api/1/vehicles/{vehicle_tag} - Get vehicle metadata
  • GET /api/1/vehicles/{vehicle_tag}/vehicle_data - Get live vehicle data
  • POST /api/1/vehicles/{vehicle_tag}/wake_up - Wake sleeping vehicle
  • POST /api/1/vehicles/fleet_status - Fleet status
  • GET /api/1/vehicles/{vehicle_tag}/mobile_enabled - Check mobile access
  • GET /api/1/vehicles/{vehicle_tag}/nearby_charging_sites - Nearby charging
  • GET /api/1/vehicles/{vehicle_tag}/service_data - Service data
  • GET /api/1/vehicles/{vehicle_tag}/release_notes - Firmware release notes
  • GET /api/1/vehicles/{vehicle_tag}/recent_alerts - Recent alerts
  • GET /api/1/dx/vehicles/options?vin={vin} - Vehicle options
  • GET /api/1/dx/vehicles/upgrades/eligibility?vin={vin} - Eligible upgrades
  • GET /api/1/dx/vehicles/subscriptions/eligibility?vin={vin} - Eligible subscriptions
  • Drivers & Sharing (6 endpoints):
  • GET /api/1/vehicles/{vehicle_tag}/drivers - List allowed drivers (owner only)
  • DELETE /api/1/vehicles/{vehicle_tag}/drivers - Remove driver access
  • GET /api/1/vehicles/{vehicle_tag}/invitations - List active share invites (paginated)
  • POST /api/1/vehicles/{vehicle_tag}/invitations - Create share invite (24hr expiry, single-use)
  • POST /api/1/invitations/redeem - Redeem share invite
  • POST /api/1/vehicles/{vehicle_tag}/invitations/{id}/revoke - Revoke share invite
  • Fleet Telemetry (4 endpoints):
  • GET /api/1/vehicles/{vehicle_tag}/fleet_telemetry_config - Get fleet telemetry config

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx