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.1.tar.gz (4.1 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.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tesla_ai_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 4.1 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.1.tar.gz
Algorithm Hash digest
SHA256 c8b925038667fa56c31b9cfc26b1902d1ca3f58898b161b492fe0a7b0ee9ac12
MD5 df4846af5cf908b2a78c4acebbd248e2
BLAKE2b-256 80eee8d65f4dbb7e31e8f6f1c720cdf424e450a63bde551f222ef7f24dad0c65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tesla_ai_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0dcab4c953ed61b1a51b08797bffbbb458bc84c4e5ec7c3f28cd8d7d3bd5919
MD5 2f21ebe0ca019bc0412cd1e8db5bd356
BLAKE2b-256 59fd685c70535dfe0f01dd8dc9383ab1f99eb5fe38d7a6422b3040034bfcd423

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