Repository navigation
Releases
Releases · SwapShaOnline/hkconnect
0.1.5 - 2026-11-24
Release Notes
Removed
- Railway deployment support added in 0.1.4: the "Deploy on Railway"
template and button,railway.json,docs/railway.md, the Railway
defaults inhkc-mcp serve(PORT,RAILWAY_PUBLIC_DOMAIN, proxy
trust),HKC_MCP_PASSWORD, and theghcr.io/swapshaonline/hkc-mcp
image workflow. Railway's network blocked outbound connections to port
8080, which the Hyundai India API uses, so the server could not reach the
car from there. Set the sign-in password withhkc-mcp set-password.
Changed
- The Dockerfile declares
VOLUME /dataagain.
hkc-mcp 0.1.5
Install hkc-mcp 0.1.5
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.5/hkc-mcp-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.5/hkc-mcp-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install SwapShaOnline/tap/hkc-mcpDownload hkc-mcp 0.1.5
| File | Platform | Checksum |
|---|---|---|
| hkc-mcp-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| hkc-mcp-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| hkc-mcp-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| hkc-mcp-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| hkc-mcp-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
hkc 0.1.5
Install hkc 0.1.5
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.5/hkc-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.5/hkc-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install SwapShaOnline/tap/hkcDownload hkc 0.1.5
| File | Platform | Checksum |
|---|---|---|
| hkc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| hkc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| hkc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| hkc-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| hkc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
0.1.4 - 2026-11-24
Release Notes
Added
hkc-mcp servetakes the sign-in password fromHKC_MCP_PASSWORD: it is
hashed and stored at startup, and a changed value replaces the stored
password and revokes every token.- On Railway,
hkc-mcp serveneeds no flags: it listens on0.0.0.0:$PORT,
useshttps://$RAILWAY_PUBLIC_DOMAINas its public URL and trusts
Railway's proxy for client addresses. Seedocs/railway.mdand the
"Deploy on Railway" button. - Releases publish a multi-arch (amd64, arm64) container image to
ghcr.io/swapshaonline/hkc-mcp. - A project icon (
docs/assets/icon.svg,icon.png), shown in the README
and listed undericonsinserver.jsonfor the MCP Registry.
Changed
- The Dockerfile no longer declares
VOLUME /data(Railway refuses it);
mount a volume at/dataas before.
hkc-mcp 0.1.4
Install hkc-mcp 0.1.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.4/hkc-mcp-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.4/hkc-mcp-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install SwapShaOnline/tap/hkc-mcpDownload hkc-mcp 0.1.4
| File | Platform | Checksum |
|---|---|---|
| hkc-mcp-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| hkc-mcp-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| hkc-mcp-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| hkc-mcp-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| hkc-mcp-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
hkc 0.1.4
Install hkc 0.1.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.4/hkc-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.4/hkc-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install SwapShaOnline/tap/hkcDownload hkc 0.1.4
| File | Platform | Checksum |
|---|---|---|
| hkc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| hkc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| hkc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| hkc-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| hkc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
0.1.2 - 2026-11-24
Release Notes
Added
hkc completions <shell>prints a tab-completion script for bash, zsh,
fish, elvish or PowerShell, andhkc manprints the manual page.- An agent skill,
skills/hkconnect-car/SKILL.md, that tells Claude Code
and other agents when and how to usehkc-mcp(orhkc): report how old
the data is, refresh sparingly, send commands once and check rather than
resend.
Changed
- Docs: remote start with climate (car confirmed in about 33 s) and stop
(about 15 s, with the PIN control token) are now verified on a 2024
Hyundai Creta.
hkc-mcp 0.1.2
Install hkc-mcp 0.1.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.2/hkc-mcp-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.2/hkc-mcp-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install SwapShaOnline/tap/hkc-mcpDownload hkc-mcp 0.1.2
| File | Platform | Checksum |
|---|---|---|
| hkc-mcp-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| hkc-mcp-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| hkc-mcp-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| hkc-mcp-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| hkc-mcp-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
hkc 0.1.2
Install hkc 0.1.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.2/hkc-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.2/hkc-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install SwapShaOnline/tap/hkcDownload hkc 0.1.2
| File | Platform | Checksum |
|---|---|---|
| hkc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| hkc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| hkc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| hkc-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| hkc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
0.1.1 - 2026-11-23
Release Notes
Added
- Prebuilt
hkcandhkc-mcpbinaries for macOS, Linux and Windows on
GitHub Releases, with shell and PowerShell installers, a Homebrew tap
(brew install SwapShaOnline/tap/hkc) andcargo binstallsupport.
Releases, including crates.io publishing, now run from a version tag. hkc-mcp:get_tripstakeswith_events=truewith a date to include
every trip's distance, top speed and harsh braking, rapid acceleration
and speeding counts (plus day totals) in one call. The trips are fetched
one at a time, at most 20 per call; the result says when it was cut short.hkc trips --day D --trip N --json --routeincludes the trip's GPS route.
Changed
hkc-mcp:get_tripswith a date and trip now leaves out the GPS route
unlessinclude_route=true, returningroute_points_totaland a hint
instead. A trip's totals and events drop from about 8 KB to about 0.6 KB.hkc trips --day D --trip N --jsonleaves out the route unless--route
is given, and reportsroute_points_totalinstead.
Fixed
- crates.io pages now link to the repository's new home,
https://github.com/SwapShaOnline/hkconnect. - The README describes
hkc-mcp.
hkc-mcp 0.1.1
Install hkc-mcp 0.1.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.1/hkc-mcp-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.1/hkc-mcp-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install SwapShaOnline/tap/hkc-mcpDownload hkc-mcp 0.1.1
| File | Platform | Checksum |
|---|---|---|
| hkc-mcp-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| hkc-mcp-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| hkc-mcp-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| hkc-mcp-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| hkc-mcp-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
hkc 0.1.1
Install hkc 0.1.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.1/hkc-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/SwapShaOnline/hkconnect/releases/download/v0.1.1/hkc-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install SwapShaOnline/tap/hkcDownload hkc 0.1.1
| File | Platform | Checksum |
|---|---|---|
| hkc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| hkc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| hkc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| hkc-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| hkc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
v0.1.0
Initial release: async Rust library, command-line app and MCP server for Hyundai Bluelink India and Kia Connect India.
- Library: https://crates.io/crates/hkconnect (docs: https://docs.rs/hkconnect)
- CLI:
cargo install hkc - MCP server for Claude:
cargo install hkc-mcp
Verified live on a 2024 Hyundai Creta: all reads, and lock (car confirmed in about 30 s). hkc bench measures API latency; results are in docs/performance.md.
Initial release.
Added
hkconnectlibrary: async client for Hyundai Bluelink India and Kia
Connect India (Client,Config::india,Brand,Credentials,
Session).- Login through device registration, OAuth authorize, sign-in and token
exchange; automatic token refresh; session persistence via
Client::sessionandClient::with_session. - PIN to control-token exchange for commands that need it, cached until
shortly before expiry. - Automatic recovery from an expired session (error 7501) and a rejected
device registration (error 4002) by logging in or re-registering and
retrying once. - Reads: vehicle list, cached status, forced status refresh, parking
location, remote capabilities, odometer and service intervals, and trip
history (monthly and daily summaries, trip routes and driving events). - Commands: lock, unlock, remote start with climate (
ClimateOptions:
temperature, duration, defrost, rear defrost, validated when built),
stop, hazard lights and horn, valet mode, and sending aDestinationto
the car's navigation. Each returns aCommandId;command_statusand
wait_forreport the car's result. - Typed errors for the server's known result codes (authentication, invalid
PIN, duplicate request, unsupported command, car timeout, service
unavailable, rate limited, no data).Error::may_have_been_received
tells whether a failed command might still reach the car. - Lenient parsing: unknown fields are ignored, missing, null and
string-typed values are tolerated, and list entries that cannot be read
are skipped, so differences between models do not break parsing. - Data types serialize and deserialize symmetrically (snake_case field
names), so they can be stored and read back; a storedTripstill works
withtrip_detail. SavedSessions carry a format version. - Newer CCS2-protocol vehicles are detected and rejected with a clear
error.
- Login through device registration, OAuth authorize, sign-in and token
hkccommand-line app:vehicles,status [--refresh],location,
info,trips,lock,unlock,start,stop,hazard,valet,
navigate,check,login,logout.- Global options
--json,-c/--vehicle,--brandand-v/--verbose. - Credentials from
HKC_*environment variables or a.envfile in the
OS config directory. - Session saved with owner-only permissions;
hkc logoutdeletes it. - Confirmation prompts for
unlock,start,hazard --horn,valetand
navigate(skip with--yes). - Commands wait for the car's result by default;
--no-waitand
hkc check <id>to look it up later.
- Global options
- Test suite against a local fake server replaying scrubbed real responses.
Fixed (pre-release review)
Client: login, refresh and PIN requests are single-flight with
remembered failure, so tasks queued behind a failed attempt get its error
instead of repeating it (no burst of sign-ins with a wrong password). A
PIN the server rejects is remembered for the life of theClientand
never submitted again; HTTP 4xx answers to the PIN request, and HTTP
401/403 right after a fresh login, count asError::InvalidPin.Error::may_have_been_receivedis precise for failures before a command
is sent (network errors while logging in or fetching the PIN token report
false), and a command answered with an authentication-looking error
that does not prove it was refused is reported as
Error::UnexpectedResponse(true). The exact rule is documented.- New
Error::InvalidVehicleId: vehicle ids are validated before being put
in a request path, so a hostile id cannot reach another endpoint. Error::Httpnow exposes its cause throughsource(); the URL (which
contains the vehicle id) is dropped from transport errors.- Leniency: token and control-token lifetimes sent as strings, numeric
resCodes,resMsgofnullor a string for status, maintenance,
location and trips, a missingtripInfo, and non-finite numbers
("NaN","inf", now read as missing). jiffandurlare re-exported.hkc: saving the session is best effort (a warning, never a changed exit
code); the.envfile is parsed literally without$VARsubstitution;
server-provided text is stripped of control characters before printing;
--jsoncommands announce{"event":"sent",...}on stderr as soon as
they are accepted; thecheckhint uses the vehicle id.
Known limitations
- Reads are verified on a 2024 Hyundai Creta (petrol, automatic). Remote
commands are tested against a fake server only and are experimental until
verified on a real car. - CCS2-protocol vehicles, EV charging features and regions other than India
are not supported. - API details deferred to 0.2 because changing them now would be breaking:
Brand'sFromStrerror is a plainString;
Error::UnsupportedVehiclecarries a&'static str; aSessionis not
bound to the brand or account it was created for (thehkcsession file
records both and checks them); andhkckeeps a singlesession.jsonper
machine, so switching accounts or brands logs in again.