Changelog
All notable changes to this project are documented here. The format is based on Keep a Changelog, and the project follows Semantic Versioning.
For bluelink-mcp, the “public API” is the set of tool names, their arguments and the configuration variables. Renaming or removing any of these is a breaking change.
0.6.1 - 2026-11-26
Section titled “0.6.1 - 2026-11-26”This release updates dependencies. Tools, arguments and settings are unchanged: bluelink-mcp still has 24 tools (7 read, 16 write and 1 unlock).
- Updated
hyundai_kia_connect_apito 5.2.1, which fixes several things for European cars: whether an EV is charging, the plug state when the connector lock is idle, seat and steering wheel heating on older climate commands, and the time of the last update, which now comes from the car instead of the server’s clock. In the USA, vented Hyundai windows now show as open.
0.6.0 - 2026-11-17
Section titled “0.6.0 - 2026-11-17”This release renames every tool with a bluelink_ prefix and aligns arguments, output and the token file with the other mattoddie MCP servers ahead of 1.0. bluelink-mcp has 24 tools (7 read, 16 write and 1 unlock). Read the Breaking entries before upgrading.
Changed
Section titled “Changed”- Breaking: every tool name now starts with
bluelink_, so the names stay distinct next to other MCP servers:list_vehicles→bluelink_list_vehicles,get_vehicle_status→bluelink_get_vehicle_status,refresh_vehicle_status→bluelink_refresh_vehicle_status,get_vehicle_location→bluelink_get_vehicle_location,get_trips→bluelink_get_trips,get_energy_usage→bluelink_get_energy_usage,get_command_status→bluelink_get_command_status,lock_vehicle→bluelink_lock_vehicle,unlock_vehicle→bluelink_unlock_vehicle,start_climate→bluelink_start_climate,stop_climate→bluelink_stop_climate,start_charging→bluelink_start_charging,stop_charging→bluelink_stop_charging,set_charge_limits→bluelink_set_charge_limits,start_battery_conditioning→bluelink_start_battery_conditioning,stop_battery_conditioning→bluelink_stop_battery_conditioning,open_charge_port→bluelink_open_charge_port,close_charge_port→bluelink_close_charge_port,set_charging_current→bluelink_set_charging_current,set_charging_schedule→bluelink_set_charging_schedule,set_departure_schedule→bluelink_set_departure_schedule,close_windows→bluelink_close_windows,flash_hazard_lights→bluelink_flash_hazard_lights,sound_horn_and_flash_lights→bluelink_sound_horn_and_flash_lights. - Breaking:
bluelink_get_energy_usagetakeshours(a number, default 168, up to 744) instead ofdays. The car reports whole days, so it is rounded up to whole days. - Breaking:
bluelink_list_vehiclesandbluelink_get_energy_usagereturn{total, returned, items}instead of a bare list. - Breaking: the default
BLUELINK_TOKEN_FILEis now$XDG_CONFIG_HOME/bluelink-mcp/tokens.json(falling back to~/.config/bluelink-mcp/tokens.json) instead of$XDG_STATE_HOME/bluelink-mcp/token.json, and/data/tokens.jsoninstead of/data/token.jsonin the Docker image. The old file isn’t read, so the server logs in once more after upgrading; delete the old file.
0.5.0 - 2026-11-15
Section titled “0.5.0 - 2026-11-15”This release applies a code review and adds nine command tools, for 24 tools in all (7 read, 16 write and 1 unlock). It has breaking changes: check the Breaking: entries under Changed, especially the Host/Origin check on the HTTP transport.
set_charging_scheduleandset_departure_schedulechange scheduled off-peak charging and the two departure times (needsBLUELINK_ALLOW_WRITES). Settings you leave out keep their current values.close_windowscloses all four windows (needsBLUELINK_ALLOW_WRITES). There is deliberately no tool to open them.start_battery_conditioningandstop_battery_conditioningwarm or cool the high-voltage battery, ineurope-cci(needsBLUELINK_ALLOW_WRITES).open_charge_port,close_charge_portandset_charging_current(100, 90 or 60% of the AC current) (needBLUELINK_ALLOW_WRITES). The status shows the current limit ascharging_current_percent, replacingcharging_current_level.sound_horn_and_flash_lightssounds the horn and flashes the hazard lights (needsBLUELINK_ALLOW_WRITES).
Changed
Section titled “Changed”- Breaking: the HTTP transport now always checks the
HostandOriginheaders. WithoutMCP_ALLOWED_HOSTS, a server listening on loopback accepts onlylocalhost,127.0.0.1and[::1]; on any other address (such as0.0.0.0in the Docker image) it accepts anyHostbut refuses every browser request (anyOriginheader, including empty andnullones) and logs a warning. SetMCP_ALLOWED_HOSTSto the names clients use. - Breaking:
get_command_statusaccepts onlyaction_idvalues of up to 128 letters, digits and_ . : + / = -. get_vehicle_statusgives units for the outside, cabin, battery and departure temperatures (°F in the USA), the service distances and the charging times. The charging times are nowtime_to_full,time_to_full_fast,time_to_full_portableandtime_to_full_station, replacing theminutes_to_full*fields.get_tripswithout a date uses today in the car’s time zone instead of the server’s.- The HTTP server accepts at most 32 connections at a time and closes idle keep-alive connections after 5 seconds.
MCP_ALLOWED_ORIGINSentries may give the default port (https://claude.ai:443), and bare IPv6 addresses inMCP_ALLOWED_HOSTSmatch bracketedHostheaders. - Requires hyundai-kia-connect-api 5.1.2 or later (below 6).
flash_hazard_lights(and the new horn tool) are refused without contacting the car in regions whose API lacks them (Canada, and Kia in the USA), and commands the library hasn’t enabled for a region or brand report that clearly instead of an unexpected error, without counting against the command rate limit.- The seat arguments of
start_climatenow say that in the USA and Canada a seat left out is turned off.
- After a failed login or network error,
get_vehicle_statuscould return a status with most fields missing until the cache expired, because the new session’s empty state counted as fresh. - The server no longer checks the Bluelink session before every request. In Canada and
europe-ccithat check is a real request, so waiting for a command made one every 5 seconds. It now checks every 5 minutes, when the token is about to expire, or after a failed request. - Unlocks refused before the user was asked (rate limit, unknown or ambiguous car, login failure) are now in the audit log, and VINs in audit log errors and in tool errors are shortened to their last 6 characters.
- Vehicle state is now formatted while the client lock is held, so a status can’t mix data from before and after a concurrent update.
0.4.0 - 2026-11-13
Section titled “0.4.0 - 2026-11-13”- Each release now has a wheel and a hash-locked
requirements.txt, so you can install bluelink-mcp without Docker, with Homebrew (brew install mattoddie/tap/bluelink-mcp) or pip. See Running without Docker. bluelink-mcp versionprints the version.- Genesis cars in
BLUELINK_REGION=europe-cci, from hyundai-kia-connect-api 5.1.2.
Security
Section titled “Security”- Updated opentelemetry-api to 1.45.2 (CVE-2026-126360) and soupsieve to 4.1 (CVE-2026-126190).
0.3.1 - 2026-10-22
Section titled “0.3.1 - 2026-10-22”- MCP Registry listing. Stable releases are published to the MCP Registry as
io.github.mattoddie/bluelink-mcp, with the Docker image (run over stdio) and the Claude Desktop bundle as packages. The entry is described byserver.json; the image carries theio.modelcontextprotocol.server.namelabel the registry checks.
0.3.0 - 2026-10-22
Section titled “0.3.0 - 2026-10-22”- Claude Desktop extension. Each release has a
bluelink-mcp-X.Y.Z.mcpbbundle that installs bluelink-mcp into Claude Desktop with a settings form for the login, region, brand, the three switches and the audit log. It uses the MCPB uv runtime, so one bundle works on macOS, Windows and Linux. Build it withuv run python scripts/mcpb.py pack <version>. - Audit log.
BLUELINK_AUDIT_LOG(a file path orstderr) appends a JSON line for every command and live refresh, including failed and refused ones: the time, tool, arguments (unlock confirmation redacted, VINs shortened), the car’s name,action_idand status, and the outcome. The file is created with mode0600.
Changed
Section titled “Changed”- An empty variable, or one holding only a
${user_config.<key>}placeholder, counts as not set. Previously an emptyBLUELINK_REGION,BLUELINK_BRANDorMCP_TRANSPORTstopped the server.
0.2.0 - 2026-10-20
Section titled “0.2.0 - 2026-10-20”This release follows a security review. It has breaking changes; check the first section before upgrading.
Breaking changes
Section titled “Breaking changes”- Location is off by default.
get_vehicle_locationis only registered withBLUELINK_ALLOW_LOCATION=true. Add it to keep asking where the car is. BLUELINK_GEOCODE=trueneedsBLUELINK_ALLOW_LOCATION=true, or the server refuses to start.- Coordinates are rounded to
BLUELINK_LOCATION_PRECISIONdecimal places, 4 by default (about 10 m). Set a higher value for more precision. unlock_vehicleneeds confirmation. The server asks the user through MCP elicitation when the client supports it. Otherwise the call fails until the assistant passes the newconfirmargument with the car’s name or the last 6 characters of its VIN.- Commands are rate limited: the same command can’t be sent to the same car again within
BLUELINK_MIN_COMMAND_SECONDS(default 60). MCP_AUTH_TOKENmust be at least 16 characters in HTTP mode, or the server refuses to start.BLUELINK_MIN_REFRESH_MINUTESmust be at least 1./mcpaccepts onlyPOSTwith a JSON body of up to 4 MiB (405,400or413otherwise).- With
MCP_ALLOWED_HOSTSset, anOriginheader that is empty ornullis now rejected, and origins on an allowed host (on its default port, or the port listed) are accepted without being listed inMCP_ALLOWED_ORIGINS.
BLUELINK_ALLOW_LOCATIONandBLUELINK_LOCATION_PRECISION.BLUELINK_MIN_COMMAND_SECONDS(default 60): minimum gap before the same command goes to the same car again. Failed attempts count, as they may still have reached the car.BLUELINK_PASSWORD_FILE,BLUELINK_PIN_FILEandMCP_AUTH_TOKEN_FILE, to read secrets from files such as Docker secrets.LOG_LEVEL(debug,info,warning,error; defaultinfo). The troubleshooting docs already told users to turn on debug logging, which wasn’t possible.bluelink-mcp healthcheck, used by the image’sHEALTHCHECK. It checksMCP_HTTP_HOSTandMCP_HTTP_PORT, using loopback when the server listens on all addresses.- CI audits every locked dependency with
pip-audit.
Changed
Section titled “Changed”refresh_vehicle_statusis no longer annotated read-only, since it wakes the car, so clients ask before running it.- The
Bearerscheme inAuthorizationis matched case-insensitively, and a401response carriesWWW-Authenticate: Bearer. MCP_ALLOWED_HOSTSentries without a port match any port in theHostheader.- The Docker base images are pinned by digest.
- After Bluelink asked for a one-time passcode, every tool call made a new full password login, which risks getting the account locked. The server now waits
BLUELINK_LOGIN_RETRY_MINUTESbefore trying again, as after a rejected login. - Only a rejected login (or a passcode request) starts the login wait. Network errors no longer lock the server out for five minutes, and get their own message.
Security
Section titled “Security”- The token cache no longer stores the Bluelink password and PIN. Caches written by older versions are rewritten without them on the next request.
- The Bluelink library’s logging, which includes whole responses with tokens, the VIN and the location (some at error level), is only shown with
LOG_LEVEL=debug. unlock_vehicleis confirmed on the server side, commands are rate limited, and location is opt-in and rounded (see above).- Host and Origin checks follow the same rules as the other mattoddie MCP servers, and reject empty,
nulland malformed origins. - The security docs now call out car nicknames, OpenStreetMap addresses and Bluelink’s warning texts as untrusted input.
0.1.3 - 2026-10-16
Section titled “0.1.3 - 2026-10-16”Changed
Section titled “Changed”- The README, docs, website and server instructions now say that bluelink-mcp supports Kia Connect (formerly UVO) as well as Hyundai Bluelink, and Genesis Connect in some regions. This already worked with
BLUELINK_BRAND=kiaorgenesis; only the wording was Hyundai-only. The compatibility page has a new table of brands by region, and lists Genesis in Australia, which the library supports. Names, settings and tools are unchanged.
0.1.2 - 2026-10-15
Section titled “0.1.2 - 2026-10-15”MCP_ALLOWED_ORIGINS, anOriginallow-list for HTTP. Before, settingMCP_ALLOWED_HOSTSmade every request with anOriginheader fail with 403.BLUELINK_LOGIN_RETRY_MINUTES(default 5): how long to wait after a failed login before trying again.
- In the USA,
start_climatenow sends the temperature in °F (62-82), as Bluelink USA expects. It was sent as °C, so 21 °C asked for 21 °F (Kia: the lowest setting). The tool still takes °C. - Waiting for a command no longer blocks every other tool. The server polls for the car’s answer without holding its lock, for up to about 60 s instead of 90 s, and returns
pendingwith theaction_idif the car hasn’t answered. fuel_rangein the vehicle status now includes its unit.- A blank
vehicleargument is treated as not given, instead of matching an arbitrary car. - A corrupt or unexpected token cache is ignored with a warning instead of breaking every request, and an unsupported region and brand combination is reported at startup.
- Concurrent server processes no longer share a temporary file when writing the token cache.
Security
Section titled “Security”- The token cache’s copy of the password and PIN is always replaced with the configured ones. After a password change, the library’s fallback login used the stale password from the cache on every request, which risked getting the account locked.
- After a failed login, the server deletes the token cache and doesn’t try to log in again for
BLUELINK_LOGIN_RETRY_MINUTES. - A failed
refresh_vehicle_statusnow counts against its rate limit, so failures can’t wake the car repeatedly. - Errors from the Bluelink library are reported as fixed messages with the error type, instead of passing through text that could include parts of Bluelink’s responses. Details are logged at debug level.
- With several cars on the account,
unlock_vehicleneeds the exact name, VIN or ID; part of a name no longer matches. - The documentation now says that the token cache contains the PIN as well as the password.
0.1.1 - 2026-10-15
Section titled “0.1.1 - 2026-10-15”Changed
Section titled “Changed”- The Docker image now runs on Python 3.14, and CI tests on Python 3.12, 3.13 and 3.14.
0.1.0 - 2026-10-15
Section titled “0.1.0 - 2026-10-15”- MCP server for Hyundai Bluelink (and Kia Connect and Genesis Connect), built on
hyundai_kia_connect_api, with 15 tools: vehicle status, live refresh, location, trips, daily energy use, command status, lock and unlock, climate, start/stop charging, charge limits and hazard lights. - Three access levels: read-only by default,
BLUELINK_ALLOW_WRITESfor commands andBLUELINK_ALLOW_UNLOCKfor unlocking. - Regions Europe (classic and CCI), USA, Canada, Australia, New Zealand, India, China and Brazil, and the brands Hyundai, Kia and Genesis.
- A cached login token (
BLUELINK_TOKEN_FILE) to avoid repeated logins, a short status cache (BLUELINK_CACHE_SECONDS) and a per-car rate limit on waking the car (BLUELINK_MIN_REFRESH_MINUTES). - Commands that wait for the car to confirm, or return an action ID to check later.
- Streamable HTTP (stateless) and stdio transports, with bearer-token auth and a
Hostheader allow-list for HTTP. - Multi-arch Docker image (
linux/amd64,linux/arm64) published to GHCR on each release, with SBOM and provenance attestation. - Documentation and website, including a tool reference generated from the code.