teslamate-mcp
Verified Safeby cobanov
Overview
Connects a TeslaMate PostgreSQL database to AI assistants, enabling natural language queries about Tesla vehicle data and analytics.
Installation
docker-compose up -dEnvironment Variables
- DATABASE_URL
- AUTH_TOKEN
- QUERIES_DIR
Security Notes
The server implements robust SQL validation (`src/validators.py`) to ensure only read-only `SELECT` queries are executed, preventing common SQL injection attacks. Environment variables are used for sensitive configurations like `DATABASE_URL` and `AUTH_TOKEN`, avoiding hardcoded secrets. Optional bearer token authentication is available for remote deployments (`main_remote.py` includes `BearerAuthMiddleware`), which is crucial for securing the API. The primary security consideration is to ensure authentication is enabled and correctly configured when deploying the server remotely, as without it, the API would be publicly accessible over HTTP.
Similar Servers
mcp-server-neon
Enables natural language interaction with Neon Postgres databases, facilitating database management, migrations, and query optimization via an LLM agent.
tiger-docs-mcp-server
An MCP server and Claude plugin providing AI assistants with advanced PostgreSQL knowledge through semantic documentation search and curated best practice skills.
greptimedb-mcp-server
Enables AI assistants to securely query, analyze, and manage time-series data, logs, and metrics in GreptimeDB using SQL, TQL (PromQL-compatible), and prompt templates.
metabase-ai-assistant
An AI-powered assistant for Metabase and PostgreSQL databases, facilitating natural language SQL generation, dashboard creation, and direct DDL operations via Model Context Protocol for Claude Desktop/Code.