Skip to main content
Glama
subaru-mcp

subaru-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SUBARU_PINNoYour MySubaru account PIN. Optional; required for waking the car and remote commands.
SUBARU_MCP_PORTNoLoopback port for HTTP mode. Default `8765`.
SUBARU_PASSWORDYesYour MySubaru account password.
SUBARU_USERNAMEYesYour MySubaru account username.
SUBARU_MCP_BASE_URLNoThe tunnel's public URL, e.g. `https://<machine>.<tailnet>.ts.net`. Required for HTTP mode.
SUBARU_MCP_ENV_FILENoPath to the secrets environment file. Defaults to `~/.config/subaru-mcp/secrets.env`.
SUBARU_ENABLE_UNLOCKNoSet to `true` (with SUBARU_ENABLE_CONTROLS) to enable the unlock tool.
SUBARU_WAKE_DAILY_CAPNoMaximum wakes per rolling 24 hours. Default 3; 0 disables waking.
SUBARU_ENABLE_CONTROLSNoSet to `true` to enable control tools (lock, remote_start, etc.).
SUBARU_MCP_GITHUB_LOGINNoThe allowed GitHub account login. Required for HTTP mode.
OP_SERVICE_ACCOUNT_TOKENNo1Password service account token, used with `op read` to fetch secrets.
SUBARU_COMMAND_DAILY_CAPNoMaximum commands per day. Default 20.
SUBARU_MCP_ALLOW_GROKBOTNoSet to `true` to accept Grok Bot's callback addresses.
SUBARU_MCP_GITHUB_USER_IDNoThe allowed GitHub account numeric ID. Required for HTTP mode.
SUBARU_MCP_GITHUB_CLIENT_IDNoGitHub OAuth app client ID. Required for HTTP mode.
SUBARU_WAKE_COOLDOWN_MINUTESNoMinimum minutes between wakes. Default 120, minimum 5.
SUBARU_MCP_EXTRA_REDIRECT_URISNoComma-separated exact callback URLs for other clients.
SUBARU_COMMAND_COOLDOWN_SECONDSNoMinimum seconds between commands. Default 30, minimum 10.
SUBARU_MCP_GITHUB_CLIENT_SECRETNoGitHub 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 focused fuel, 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_activity and valet_and_alerts also read Subaru's servers only and never wake the car.

  • refresh_status and locate wake 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. UNSUPPORTED means 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

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 data_freshness before calling it locked.

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 status. Limited by a wake budget; can take a few minutes.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 13 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness3/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues