TeslaMate MCP Server
by 6547709
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TIMEZONE | No | IANA timezone | Asia/Shanghai |
| HTTP_HOST | No | HTTP binding address | 0.0.0.0 |
| HTTP_PORT | No | HTTP port | 8080 |
| MCP_DEBUG | No | Enable debug logging | false |
| AMAP_API_KEY | No | AMAP (Gaode) API key for geocoding | |
| TESLA_CAR_ID | No | Default car ID | 1 |
| MCP_TRANSPORT | No | Transport mode: stdio or streamable-http | streamable-http |
| TESLA_GAS_MPG | No | ICE vehicle MPG | 28 |
| TESLA_GAS_PRICE | No | Gas price per gallon | 3.50 |
| QWEATHER_API_KEY | No | QWeather API key | |
| TESLA_CAR_PARAMS | No | JSON object mapping car_id to {kwh, range_km} | |
| USE_METRIC_UNITS | No | Use metric units | true |
| QWEATHER_API_HOST | No | QWeather API host (e.g. xxxx.re.qweatherapi.com) | |
| TESLAMATE_DB_HOST | Yes | PostgreSQL host | |
| TESLAMATE_DB_NAME | Yes | Database name | |
| TESLAMATE_DB_PASS | Yes | Database password | |
| TESLAMATE_DB_PORT | No | PostgreSQL port | 5432 |
| TESLAMATE_DB_USER | Yes | Database user | |
| TESLA_BATTERY_KWH | No | Battery capacity in kWh (single car fallback) | 78.4 |
| TESLA_AMAP_TIMEOUT | No | AMAP request timeout (seconds) | 8 |
| TESLA_LIMIT_DRIVES | No | Max drives returned | 500 |
| TESLA_LIMIT_CHARGING | No | Max charging records | 500 |
| TESLA_BATTERY_RANGE_KM | No | Full range in km (single car fallback) | 675 |
| TESLA_QWEATHER_TIMEOUT | No | QWeather request timeout (seconds) | 8 |
| TESLA_LIMIT_TPMS_HISTORY | No | Max TPMS history records | 60 |
| TESLA_TPMS_MAX_THRESHOLD | No | High tire pressure threshold (bar) | 3.5 |
| TESLA_TPMS_MIN_THRESHOLD | No | Low tire pressure threshold (bar) | 2.5 |
| TESLA_WEATHER_SAMPLE_MAX | No | Max trips for weather efficiency analysis | 60 |
| TESLA_LIMIT_STATE_HISTORY | No | Max state transitions | 500 |
| TESLA_LIMIT_VAMPIRE_DRAIN | No | Max vampire drain events | 50 |
| TESLA_ELECTRICITY_RATE_RMB | No | Electricity rate in RMB per kWh | 0.6 |
| TESLA_ELECTRICITY_RATE_USD | No | Electricity rate in USD per kWh (fallback) | 0.12 |
| TESLA_LIMIT_BATTERY_HEALTH | No | Max battery health snapshots | 60 |
| TESLA_LIMIT_BATTERY_SAMPLES | No | Fallback battery samples | 30 |
| TESLA_LIMIT_TRIP_CATEGORIES | No | Max trips for categories analysis | 500 |
| TESLA_LIMIT_LOCATION_HISTORY | No | Max location clusters | 50 |
| TESLA_LIMIT_SOFTWARE_UPDATES | No | Max software updates | 30 |
| TESLA_LIMIT_CHARGING_BY_LOCATION | No | Max charging locations | 50 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/6547709/teslamate-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server