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_YOUR_API_KEY_HERE"
      }
    }
  }
}

Cursor

在 Cursor 设置 -> MCP 中添加:

  • 名称: tesla-ai
  • 类型: command
  • 命令: uvx tesla-ai-mcp (或 tesla-ai-mcp 如果已安装)
  • 环境变量: TESLA_MCP_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.0.tar.gz (3.8 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.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tesla_ai_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 3.8 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.0.tar.gz
Algorithm Hash digest
SHA256 18187c1948a350bd175b203ff8e2aba2d90376b29ff416455bf0495e09243fc2
MD5 225d5aa61dae5cb0319ad5601bc2a895
BLAKE2b-256 faabfcee6f2f0004213f3a2cb1e21d02bf4e5277d593fb0cbe208d849a6e1a3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tesla_ai_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0175fbb1d8b4556ce4dd3df391c2e9cb14337d19dcb1a622dfad81b7ab7af1d1
MD5 6bfc1a4633bf498b1ffb8d5c2bdf4832
BLAKE2b-256 37b089d25f47f13dd289e1f2c37ec669e119fdcf431496d475fcfd174ae31d59

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