subaru-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SUBARU_PIN | No | Your MySubaru account PIN. Optional; required for waking the car and remote commands. | |
| SUBARU_MCP_PORT | No | Loopback port for HTTP mode. Default `8765`. | |
| SUBARU_PASSWORD | Yes | Your MySubaru account password. | |
| SUBARU_USERNAME | Yes | Your MySubaru account username. | |
| SUBARU_MCP_BASE_URL | No | The tunnel's public URL, e.g. `https://<machine>.<tailnet>.ts.net`. Required for HTTP mode. | |
| SUBARU_MCP_ENV_FILE | No | Path to the secrets environment file. Defaults to `~/.config/subaru-mcp/secrets.env`. | |
| SUBARU_ENABLE_UNLOCK | No | Set to `true` (with SUBARU_ENABLE_CONTROLS) to enable the unlock tool. | |
| SUBARU_WAKE_DAILY_CAP | No | Maximum wakes per rolling 24 hours. Default 3; 0 disables waking. | |
| SUBARU_ENABLE_CONTROLS | No | Set to `true` to enable control tools (lock, remote_start, etc.). | |
| SUBARU_MCP_GITHUB_LOGIN | No | The allowed GitHub account login. Required for HTTP mode. | |
| OP_SERVICE_ACCOUNT_TOKEN | No | 1Password service account token, used with `op read` to fetch secrets. | |
| SUBARU_COMMAND_DAILY_CAP | No | Maximum commands per day. Default 20. | |
| SUBARU_MCP_ALLOW_GROKBOT | No | Set to `true` to accept Grok Bot's callback addresses. | |
| SUBARU_MCP_GITHUB_USER_ID | No | The allowed GitHub account numeric ID. Required for HTTP mode. | |
| SUBARU_MCP_GITHUB_CLIENT_ID | No | GitHub OAuth app client ID. Required for HTTP mode. | |
| SUBARU_WAKE_COOLDOWN_MINUTES | No | Minimum minutes between wakes. Default 120, minimum 5. | |
| SUBARU_MCP_EXTRA_REDIRECT_URIS | No | Comma-separated exact callback URLs for other clients. | |
| SUBARU_COMMAND_COOLDOWN_SECONDS | No | Minimum seconds between commands. Default 30, minimum 10. | |
| SUBARU_MCP_GITHUB_CLIENT_SECRET | No | GitHub OAuth app client secret. Required for HTTP mode. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Access to the owner's Subaru through MySubaru Connected Services.
Use
status(or the focusedfuel,tire_pressure,odometer,lock_status) for every question. These read the snapshot cached on Subaru's servers and do not wake the car.capabilities,maintenance,software_updates,remote_activityandvalet_and_alertsalso read Subaru's servers only and never wake the car.refresh_statusandlocatewake the car and drain its 12V battery, which matters most on a car that sits for days. Only call them when the user explicitly asks for fresh data. They are limited by a wake budget.Always tell the user when the data was last reported by the car (
data_freshness). Cached data can be days old.Errors look like
[CODE] message.UNSUPPORTEDmeans the vehicle or its plan lacks the feature: say so, do not retry.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| statusA | Full cached snapshot of the car: fuel, odometer, tires, doors, windows, locks, last known location, warning lights, and when the car last reported. Does not wake the car. Use this by default. |
| fuelA | Cached fuel level, range and average MPG. Does not wake the car. |
| tire_pressureA | Cached tire pressures in PSI with the recommended values. Does not wake the car. Pressures only update while the car is moving. |
| odometerA | Cached odometer reading in miles. Does not wake the car. |
| lock_statusA | Cached door lock state as of the car's last report. Does not wake the
car, so it can be stale: check |
| list_climate_presetsA | List remote-start climate presets by exact name. Does not wake the car. Returns UNSUPPORTED if the plan has no remote engine start. |
| capabilitiesA | What this car and its MySubaru plan support: remote start, climate and seat options, valet mode, lock and window reporting. Does not wake the car. |
| maintenanceA | Next scheduled services with miles remaining and the work each includes, plus the dealer service history. Does not wake the car. |
| software_updatesA | Over-the-air software update campaigns for the car and whether each is installed. Does not wake the car. |
| remote_activityA | Log of remote actions on the car this month (lock, unlock, engine start, locate, alerts), from any app or device on the account. Use it to audit what was done remotely. Does not wake the car. |
| valet_and_alertsA | Valet mode status and settings, and the boundary, speed and curfew alerts configured for the car. Read-only. Does not wake the car. |
| refresh_statusA | WAKES THE CAR and drains its 12V battery. Asks the car to report fresh status, then returns the full snapshot. Only use when the user explicitly asks for fresh data. Limited by a wake budget; can take a few minutes. |
| locateA | WAKES THE CAR and drains its 12V battery. Returns its current location.
For the last known location without waking the car, use |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 13 tools
The aggregate `status` tool overlaps with `fuel`, `odometer`, `tire_pressure`, and `lock_status`, but the descriptions clearly position `status` as the default and the others as targeted cached reads. The two wake actions, `refresh_status` and `locate`, are also clearly distinguished from their cached equivalents.
All names use snake_case and are readable, with most being noun/resource names and a few action names (`list_climate_presets`, `refresh_status`, `locate`). This is mostly predictable, though it is not a strict verb_noun convention throughout.
The 13 tools sit comfortably in the appropriate range and each maps to a distinct vehicle data domain or wake action. The aggregate `status` tool does not make the targeted readers redundant, since they support narrower queries without waking the car.
The server covers a broad read-only surface: fuel, tires, locks, maintenance, software updates, valet mode, alerts, remote activity, and location. However, there are no remote command tools for locking, unlocking, remote start, or climate activation, so capabilities and climate presets can be listed but not acted upon, leaving notable gaps.