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
- 下载 小特 App 并绑定 Tesla 车辆。
- 在 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
Metadata
Release files for tesla-ai-mcp 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tesla_ai_mcp-0.2.2.tar.gz | 4.2 kB | Without provenance | Details for tesla_ai_mcp-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tesla_ai_mcp-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for tesla_ai_mcp-0.2.2-py3-none-any.whl |
Total release size: 8.0 kB
Release files / tesla_ai_mcp-0.2.2.tar.gz
| Download URL | tesla_ai_mcp-0.2.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e60449babd7f559ad49606205ef4e3c7543699d6a3a9a50d34eb95783551c227
|
|
BLAKE2b-256 checksum How to use checksums |
68d09699562b81be98003bba68556e0abb5e792faea05984a0943a02387ffa88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / tesla_ai_mcp-0.2.2-py3-none-any.whl
| Download URL | tesla_ai_mcp-0.2.2-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d812153308bebb021c325b030da890e7bffe6e84e6c3abdce9c00112058d637
|
|
BLAKE2b-256 checksum How to use checksums |
2920ddeb7c06eceb70987fca6e95f1a46d2b52e9ae9d9fcfb7912b4f0bd0254e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for tesla-ai-mcp 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.