tesla-mcp-server

robcerda/tesla-mcp-server

3.2

If you are the rightful owner of tesla-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Tesla MCP Server is a Model Context Protocol server designed to connect Claude with the Tesla Owner API, facilitating authentication and data retrieval for Tesla vehicles and solar systems.

The Tesla MCP Server is a specialized server that leverages the Model Context Protocol (MCP) to seamlessly integrate with the Tesla Owner API. This server is designed to provide a secure and efficient way to authenticate and interact with Tesla vehicles and solar systems. By implementing a robust OAuth2 authentication flow, the server ensures that user credentials are protected while allowing access to a wide range of Tesla data and functionalities. The server is built using Python 3.11 and relies on several key libraries, including the MCP Python SDK, httpx, and python-dotenv, to manage HTTP requests and environment variables. Users can easily set up the server by following a series of straightforward steps, including installing necessary dependencies, configuring authentication, and integrating with Claude Desktop. Once configured, the server offers a suite of tools to interact with Tesla systems, such as retrieving vehicle information, sending commands, and accessing solar system data. The server is also designed with development and testing in mind, providing options for running tests and starting the server locally for debugging purposes.

Features

  • Secure OAuth2 authentication flow for Tesla API access
  • Integration with Claude Desktop for seamless user experience
  • Comprehensive toolset for interacting with Tesla vehicles and solar systems
  • Support for development and testing with local server execution
  • Easy setup and configuration process

Tools

  1. tesla_auth_status

    Check Tesla authentication status

  2. get_vehicles

    Get a list of all your vehicles

  3. get_vehicle

    Get detailed information about a specific vehicle

  4. send_command

    Send a command to a vehicle

  5. get_solar_system

    Get status of a solar system

  6. get_solar_history

    Get history of a solar system

  7. get_system_summary

    Get a summary of all Tesla systems