MCP.so
ログイン

Tesla MCP Server

@robcerda

基本情報

カテゴリ

その他

トランスポート

stdio

作者

robcerda

Tesla MCP Server について

MCP Server for Tesla Products, specifically using the Owner API

#mcp#tesla#tesla-api#mcp-server

Tesla MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "tesla-mcp-server": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

Tesla MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Tesla MCP Server?

Tesla MCP Server is a Model Context Protocol (MCP) server that connects Claude with the Tesla Owner API. It provides tools for authentication and data retrieval for Tesla vehicles and solar systems, intended for developers using Claude Desktop.

How to use Tesla MCP Server?

Install dependencies with uv, clone the repo, create a virtual environment, and sync. Configure Claude Desktop by running mcp install src/tesla_mcp_server/server.py --name "Tesla" --with-editable . then restart Claude. On first use, authenticate via a browser; a refresh_token.txt file is created for future sessions.

Key features of Tesla MCP Server

  • Integrates Claude Desktop with the Tesla Owner API
  • OAuth2 authentication with browser-based login
  • Retrieve vehicle and solar system data
  • Send commands to vehicles
  • Local development with mcp run src/tesla_mcp_server/server.py
  • Refresh token persistence across sessions

Use cases of Tesla MCP Server

  • Ask Claude for your Tesla vehicle’s current status
  • Command your Tesla to start climate or charging
  • Check your Tesla solar system’s energy production
  • Retrieve historical solar generation data
  • Get a summary of all your Tesla systems in one query

よくある質問

1

What does Tesla MCP Server do?

It acts as a bridge between Claude and the Tesla Owner API, allowing Claude to read vehicle and solar system data and send commands.

2

How do I authenticate with Tesla?

On first run, the server opens a browser for Tesla OAuth2 login. After approval, a `refresh_token.txt` file is saved and reused automatically.

3

What are the system requirements?

Python 3.12 or higher, plus the MCP Python SDK, httpx, and python-dotenv. A virtual environment is recommended.

4

Is my refresh token safe?

The `refresh_token.txt` file should never be committed to version control. It contains credentials for continued access without re‑authentication.

5

Can I send commands to my car?

Yes, the `send_command` tool allows sending commands such as climate control or charging start/stop to a specified vehicle.

コメント

「その他」の他のコンテンツ