Getting started
This guide takes you from nothing to asking your assistant about your car. It takes about five minutes.
What you need
Section titled “What you need”- A Hyundai with Bluelink or a Kia with Kia Connect (formerly UVO), and an account that works in the official app. Genesis Connect works in some regions too. See Compatibility for brands and regions.
- Your account email, password and PIN. The PIN is the 4-digit code the app asks for before remote commands.
- An MCP client such as Claude Code or Claude Desktop.
- One of Homebrew (macOS or Linux), uv (from a clone) or Docker (to run it as a service).
1. Check your account in the app
Section titled “1. Check your account in the app”Open the Bluelink app (or the Kia Connect app for a Kia) and make sure you can see your car’s status and send a command, such as locking it. If the app works, the server will too. If you’ve just changed your password or the app wants you to accept new terms, do that first, because the server can’t click through those screens.
2. Run the server
Section titled “2. Run the server”Choose one of the options below. Whichever you pick, the default region is Europe and the brand Hyundai. For a Kia, set BLUELINK_BRAND=kia (or genesis for a Genesis). For other regions, set BLUELINK_REGION=usa (or canada, australia and so on). See Configuration.
Option A: Homebrew (macOS or Linux)
Section titled “Option A: Homebrew (macOS or Linux)”Your MCP client starts the server when it needs it, over stdio. There’s nothing to keep running and nothing listens on the network. Put your app password in a file only you can read, such as ~/.config/bluelink-mcp/password, then:
brew install mattoddie/tap/bluelink-mcp
claude mcp add bluelink \ --env BLUELINK_PASSWORD_FILE=/path/to/bluelink-password \ --env BLUELINK_PIN=1234 \ -- "$(brew --prefix)/bin/bluelink-mcp"For a Kia, add --env BLUELINK_BRAND=kia. brew upgrade picks up new releases. For Claude Desktop without the bundle, see Without the extension. Other stdio clients use the same command and environment variables (see Connecting MCP clients).
Option B: uv (from a clone)
Section titled “Option B: uv (from a clone)”Your MCP client starts the server when it needs it. Nothing listens on the network.
git clone https://github.com/mattoddie/bluelink-mcpcd bluelink-mcpclaude mcp add bluelink \ -e BLUELINK_PASSWORD='your-password' \ -e BLUELINK_PIN=1234 \ -- uv run --directory "$PWD" bluelink-mcpFor a Kia, add -e BLUELINK_BRAND=kia.
Option C: Docker (a long-running service)
Section titled “Option C: Docker (a long-running service)”One long-running container that several clients and machines can share, over Streamable HTTP.
mkdir bluelink-mcp && cd bluelink-mcpcurl -fsSLO https://raw.githubusercontent.com/mattoddie/bluelink-mcp/main/compose.yamlcurl -fsSL https://raw.githubusercontent.com/mattoddie/bluelink-mcp/main/example.env -o .env# Edit .env: set BLUELINK_USERNAME, BLUELINK_PASSWORD, BLUELINK_PIN,# BLUELINK_BRAND=kia for a Kia, and a random MCP_AUTH_TOKEN (openssl rand -hex 32)docker compose up -dThen connect Claude Code:
claude mcp add --transport http bluelink http://<docker-host>:8080/mcp \ --header "Authorization: Bearer <MCP_AUTH_TOKEN>"For Claude Desktop, VS Code, Cursor and others, see Connecting MCP clients.
3. Ask your first questions
Section titled “3. Ask your first questions”Start Claude Code and try:
- “What’s the car’s status?”
- “How much electric range do I have, and is it plugged in?”
- “Where did I park?”
- “How far did I drive this month?”
The first request logs in to Bluelink or Kia Connect, which takes a few seconds. After that the login token is cached (see Configuration), so later requests are quick and don’t log in again.
Answers come from the state the car last sent to Bluelink. The assistant tells you when that was. If you need it to be current, ask it to “refresh from the car”. That wakes the car, so it’s rate limited.
4. Turn on commands (optional)
Section titled “4. Turn on commands (optional)”Out of the box the assistant can look but not touch. To let it lock the car, pre-heat the cabin and start or stop charging, set:
BLUELINK_ALLOW_WRITES=trueWith Homebrew or uv, add --env BLUELINK_ALLOW_WRITES=true to the claude mcp add command. With Docker, add it to .env and run docker compose up -d. Then try “Warm the car up to 21 degrees for 15 minutes”.
Unlocking is separate and needs BLUELINK_ALLOW_UNLOCK=true as well. Read Security before turning it on.
Next steps
Section titled “Next steps”- Using bluelink-mcp: what to ask, and how commands and refreshes work
- Configuration: every setting
- Troubleshooting: if login fails