Tesla MCP Server
About
MCP Server for Tesla Products, specifically using the Owner API
Details
- Author
- robcerda
- Downloads
- 224
- Categories
- Other
Jump to
- Integrates Claude Desktop with the Tesla Owner API
- OAuth2 authentication with browser-based login
- Retrieve vehicle and solar system data
- Send commands to vehicles
- Local development with mcp run src/tesla_mcp_server/server.py
- Refresh token persistence across sessions
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Tesla MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install dependencies with uv, clone the repo, create a virtual environment, and sync. Configure Claude Desktop by running mcp install src/tesla_mcp_server/server.py --name "Tesla" --with-editable . then restart Claude. On first use, authenticate via a browser; a refresh_token.txt file is created for future sessions.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"tesla mcp server": {
"tesla-mcp-server": {
"command": "uv",
"args": [
"venv"
]
}
}
}
}
McpServers
{
"tesla-mcp-server": {
"command": "uv",
"args": [
"venv"
]
}
}
Tesla MCP Server
Model Context Protocol (MCP) server for connecting Claude with the Tesla Owner API. It provides tools for authentication and data retrieval for Tesla vehicles and solar systems.
Requirements
Python 3.12 or higher
Model Context Protocol (MCP) Python SDK
httpx
python-dotenv
Setup
1. Install uv (recommended)
curl -LsSf https://astral.sh/uv/install.sh | sh
2. Clone this repository
git clone https://github.com/yourusername/tesla-mcp-server.git
cd tesla-mcp-server
3. Create and activate a virtual environment
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



