Skip to main content

Tesla AI MCP Client - Control your Tesla via MCP

Project description

Tesla AI MCP Client

Tesla AI 的官方 MCP 客户端。通过 Model Context Protocol 将您的 Tesla 车辆控制能力接入 Claude、Cursor 等 AI 工具。

安装

建议使用 uv 进行安装:

uv tool install tesla-ai-mcp

或者使用 pip:

pip install tesla-ai-mcp

配置

获取 API Key

  1. 下载 小特 App 并绑定 Tesla 车辆。
  2. 在 App 设置中获取 API Key

配置 AI 工具

Claude Desktop

编辑配置文件(macOS: ~/Library/Application Support/Claude/claude_config.json, Windows: %APPDATA%\Claude\claude_config.json):

{
  "mcpServers": {
    "tesla-ai": {
      "command": "uvx",
      "args": ["tesla-ai-mcp"],
      "env": {
        "TESLA_MCP_API_KEY": "xte_xxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

注意: 请将 xte_xxxxxxxxxxxxxxxxxxxxx 替换为您从小特 App 获取的完整 API Key(API Key 必须以 xte_ 开头)。

Cursor

在 Cursor 设置 -> MCP 中添加:

  • 名称: tesla-ai
  • 类型: command
  • 命令: uvx tesla-ai-mcp (或 tesla-ai-mcp 如果已安装)
  • 环境变量: TESLA_MCP_API_KEY=xte_xxxxxxxxxxxxxxxxxxxxx(请替换为您的完整 API Key,必须以 xte_ 开头)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tesla_ai_mcp-0.2.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tesla_ai_mcp-0.2.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file tesla_ai_mcp-0.2.2.tar.gz.

File metadata

  • Download URL: tesla_ai_mcp-0.2.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for tesla_ai_mcp-0.2.2.tar.gz
Algorithm Hash digest
SHA256 e60449babd7f559ad49606205ef4e3c7543699d6a3a9a50d34eb95783551c227
MD5 ff93349fd80fdf454a3c91f5ec723c3c
BLAKE2b-256 68d09699562b81be98003bba68556e0abb5e792faea05984a0943a02387ffa88

See more details on using hashes here.

File details

Details for the file tesla_ai_mcp-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: tesla_ai_mcp-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for tesla_ai_mcp-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7d812153308bebb021c325b030da890e7bffe6e84e6c3abdce9c00112058d637
MD5 5f8fab3dfdf1b0ff31f4a1b0f324b180
BLAKE2b-256 2920ddeb7c06eceb70987fca6e95f1a46d2b52e9ae9d9fcfb7912b4f0bd0254e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page