Hyundai Bluelink / Kia Connect

v0.6.1
io.github.mattoddie/bluelink-mcp Checked 3 days ago Published 8 days ago

Check your Hyundai or Kia's charge, range, locks and location, pre-heat it and manage charging.

Values you need

VariableWhat it is
MCP_TRANSPORToptional Run over stdio. The image defaults to HTTP.
BLUELINK_USERNAMErequired The email address you log in to the Bluelink, Kia Connect or Genesis Connect app with.
BLUELINK_PASSWORDrequired secret Your app password.
BLUELINK_PINoptional secret Your 4-digit app PIN. Europe and Canada need it for commands; reads work without it.
BLUELINK_REGIONoptional Where your account was created. europe includes the UK; try europe-cci if europe fails. Default: europe
BLUELINK_BRANDoptional hyundai (Bluelink), kia (Kia Connect, formerly UVO) or genesis (Genesis Connect). Default: hyundai
BLUELINK_ALLOW_WRITESoptional Allow commands to the car, such as locking, climate, charging, the horn and lights. Unlock has its own setting. Default: false
BLUELINK_ALLOW_UNLOCKoptional Also allow unlocking, after you confirm each time. Needs BLUELINK_ALLOW_WRITES. Default: false
BLUELINK_ALLOW_LOCATIONoptional Share where the car is parked. This reveals where you live, work and park. Default: false
BLUELINK_AUDIT_LOGoptional Record every command as JSON lines: stderr, or a path in the container such as /data/audit.jsonl.

Docker

Requires Docker

Run in a terminal
claude mcp add bluelink-mcp -e 'BLUELINK_PASSWORD=<BLUELINK_PASSWORD>' -e 'BLUELINK_USERNAME=<BLUELINK_USERNAME>' -- docker run -i --rm -e BLUELINK_PASSWORD -e BLUELINK_USERNAME ghcr.io/mattoddie/bluelink-mcp:0.6.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "bluelink-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BLUELINK_PASSWORD",
        "-e",
        "BLUELINK_USERNAME",
        "ghcr.io/mattoddie/bluelink-mcp:0.6.1"
      ],
      "command": "docker",
      "env": {
        "BLUELINK_PASSWORD": "<BLUELINK_PASSWORD>",
        "BLUELINK_USERNAME": "<BLUELINK_USERNAME>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "bluelink-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BLUELINK_PASSWORD",
        "-e",
        "BLUELINK_USERNAME",
        "ghcr.io/mattoddie/bluelink-mcp:0.6.1"
      ],
      "command": "docker",
      "env": {
        "BLUELINK_PASSWORD": "<BLUELINK_PASSWORD>",
        "BLUELINK_USERNAME": "<BLUELINK_USERNAME>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "BLUELINK_PASSWORD",
      "id": "bluelink-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "BLUELINK_USERNAME",
      "id": "bluelink-username",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "bluelink-mcp": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BLUELINK_PASSWORD",
        "-e",
        "BLUELINK_USERNAME",
        "ghcr.io/mattoddie/bluelink-mcp:0.6.1"
      ],
      "command": "docker",
      "env": {
        "BLUELINK_PASSWORD": "${input:bluelink-password}",
        "BLUELINK_USERNAME": "${input:bluelink-username}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.bluelink-mcp]
command = "docker"
args = ["run", "-i", "--rm", "-e", "BLUELINK_PASSWORD", "-e", "BLUELINK_USERNAME", "ghcr.io/mattoddie/bluelink-mcp:0.6.1"]
env = { "BLUELINK_PASSWORD" = "<BLUELINK_PASSWORD>", "BLUELINK_USERNAME" = "<BLUELINK_USERNAME>" }

For AI agents

  1. Ask the user for: BLUELINK_USERNAME, BLUELINK_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json