# tescmd MCP server

> Allows AI agents to query and control Tesla vehicles via the Fleet API, including climate, security, navigation, and real-time telemetry.

- Repository: https://github.com/Oceanswave/tescmd
- Page: https://hostedmcp.org/servers/oceanswave/tescmd
- Transport: —
- Stars: 2
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `TESLA_CLIENT_ID` | no | no |  |
| `TESLA_CLIENT_SECRET` | no | no |  |
| `TESLA_DISTANCE_UNIT` | no | no |  |
| `TESLA_PRESSURE_UNIT` | no | no |  |
| `TESLA_REGION` | no | no |  |
| `TESLA_TEMP_UNIT` | no | no |  |
| `TESLA_VIN` | no | no |  |

## FAQ

### Can I stream live vehicle data without polling?

Yes, you can use the serve command to stream telemetry directly via Tailscale Funnel, which avoids per-request charges.

### How do I set up tescmd for the first time?

You can use the interactive setup wizard by running the command `tescmd setup` after installation.

### Does it support AI agent integration?

Yes, every command can function as an MCP tool, allowing frameworks like Claude Desktop to query vehicles and send commands via structured JSON.
