Skip to content
VS Code

C64 Bridge for VS Code

io.github.chrisgleissner/c64bridge

MCP server for Commodore 64 Ultimate hardware and VICE emulator control.

client:VS Code transport:stdio runtime:npm

Install C64 Bridge in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "log-level",
      "description": "LOG_LEVEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "c64bridge-config",
      "description": "C64BRIDGE_CONFIG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "c64-mode",
      "description": "C64_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "c64u-host",
      "description": "C64U_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "c64u-port",
      "description": "C64U_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "c64u-password",
      "description": "C64U_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vice-binary",
      "description": "VICE_BINARY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vice-visible",
      "description": "VICE_VISIBLE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vice-warp",
      "description": "VICE_WARP",
      "password": true
    },
    {
      "type": "promptString",
      "id": "github-token",
      "description": "GITHUB_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "c64bridge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "c64bridge"
      ],
      "env": {
        "LOG_LEVEL": "${input:log-level}",
        "C64BRIDGE_CONFIG": "${input:c64bridge-config}",
        "C64_MODE": "${input:c64-mode}",
        "C64U_HOST": "${input:c64u-host}",
        "C64U_PORT": "${input:c64u-port}",
        "C64U_PASSWORD": "${input:c64u-password}",
        "VICE_BINARY": "${input:vice-binary}",
        "VICE_VISIBLE": "${input:vice-visible}",
        "VICE_WARP": "${input:vice-warp}",
        "GITHUB_TOKEN": "${input:github-token}"
      }
    }
  }
}

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

C64 Bridge in other clients