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": {
        "API_KEY": "xte_YOUR_API_KEY_HERE"
      }
    }
  }
}

Cursor

在 Cursor 设置 -> MCP 中添加:

  • 名称: tesla-ai
  • 类型: command
  • 命令: uvx tesla-ai-mcp (或 tesla-ai-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.1.0.tar.gz (3.7 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.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tesla_ai_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 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.1.0.tar.gz
Algorithm Hash digest
SHA256 fd6ca54af9ae7245e523b94f11405c78c0d096c2b8e05dc24acad25b85a0294d
MD5 3cd13d81690994071e6ac1bdecb870f3
BLAKE2b-256 0c79dbc328db4d6d5e70026a017b9fc4f4a1b6a7fa932689e1e31aeb049a4ea0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tesla_ai_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d405f8f0f79ca332f717194f2c882624935da3b8f740578b570667e0e8293d2
MD5 54ce92b81bb629ca7764fc0a42c348f4
BLAKE2b-256 c036b9bb682a3fa21ab84a77f0b172704ba624bed0a8898b86319b0d5ca76cc6

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