tesla-mcp

tesla-mcp

5

The Tesla MCP Server is a Model Context Protocol (MCP) server that connects to the Tesla Fleet API to manage Tesla vehicles. It allows AI assistants like Claude to control and retrieve information from Tesla vehicles using specific vehicle management commands. Key features include waking up vehicles, getting vehicle information, and providing real-time updates.

Tesla MCP Server

A Model Context Protocol (MCP) server integrates with the Tesla Fleet API, enabling control of Tesla vehicles through AI assistants supporting MCP.

Features

  • Wake up vehicles
  • Retrieve detailed vehicle information
  • Real-time vehicle data updates
  • Debugging tools for troubleshooting

Requirements

  • Node.js 18+, pnpm or npm
  • Tesla account with vehicle
  • Tesla API credentials
  • Ngrok for development and registration

Authentication & Registration

  • Follow the OAuth 2.0 flow to connect your Tesla account
  • Register your application via Tesla API

Using with Claude

  • Integrate configuration to allow vehicle management commands in Claude

Available MCP Tools

  • "wake_up": Activate a vehicle
  • "refresh_vehicles": Update vehicle list
  • "debug_vehicles": Detailed vehicle info

Troubleshooting

  • Ensure environment variables and server connection are intact

API Limitations

Certain Tesla REST API endpoints have been deprecated; this server still supports the functional endpoints.

Future Enhancements

  • Integrating Tesla's Vehicle Command Protocol
  • Additional commands and interface improvements