Skip to content
VS Code

Peykan for VS Code

io.github.farzadnadiri/peykan

Talk to your car from AI: OBD-II, UDS, CAN and J1939 via ELM327 dongles, CAN adapters or a simulator

client:VS Code transport:stdio runtime:pypi

Install Peykan in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "peykan-can-interface",
      "description": "PEYKAN_CAN_INTERFACE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "peykan-can-channel",
      "description": "PEYKAN_CAN_CHANNEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "peykan-allow-transmit",
      "description": "PEYKAN_ALLOW_TRANSMIT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "peykan-dbc-path",
      "description": "PEYKAN_DBC_PATH",
      "password": true
    }
  ],
  "servers": {
    "peykan": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "peykan"
      ],
      "env": {
        "PEYKAN_CAN_INTERFACE": "${input:peykan-can-interface}",
        "PEYKAN_CAN_CHANNEL": "${input:peykan-can-channel}",
        "PEYKAN_ALLOW_TRANSMIT": "${input:peykan-allow-transmit}",
        "PEYKAN_DBC_PATH": "${input:peykan-dbc-path}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Peykan in other clients