MCP server to control and program the Commodore 64 Ultimate, Ultimate 64, Ultimate II, or VICE.
- ✓License: GPL-2.0
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
- !Install pipes a remote script into a shell (curl | sh)
claude mcp add c64bridge -- npx -y c64bridge{
"mcpServers": {
"c64bridge": {
"command": "npx",
"args": ["-y", "c64bridge"]
}
}
}MCP Servers overview
# C64 Bridge

Your AI Command Bridge for the Commodore 64.
[](https://www.npmjs.com/package/c64bridge)
[](https://github.com/chrisgleissner/c64bridge/actions/workflows/ci.yaml)
[](https://codecov.io/github/chrisgleissner/c64bridge)
[](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
[](doc/developer.md)
[](https://vscode.dev/redirect/mcp/install?name=io.github.chrisgleissner%2Fc64bridge&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22c64bridge%22%5D%2C%22env%22%3A%7B%22C64_MODE%22%3A%22c64u%22%2C%22C64U_HOST%22%3A%22c64u%22%2C%22VICE_BINARY%22%3A%22%2Fusr%2Flocal%2Fbin%2Fx64sc%22%2C%22VICE_DIRECTORY%22%3A%22%2Fusr%2Flocal%2Fshare%2Fvice%22%2C%22VICE_VISIBLE%22%3A%22true%22%2C%22VICE_WARP%22%3A%22false%22%7D%7D)
[](https://insiders.vscode.dev/redirect/mcp/install?name=io.github.chrisgleissner%2Fc64bridge&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22c64bridge%22%5D%2C%22env%22%3A%7B%22C64_MODE%22%3A%22c64u%22%2C%22C64U_HOST%22%3A%22c64u%22%2C%22VICE_BINARY%22%3A%22%2Fusr%2Flocal%2Fbin%2Fx64sc%22%2C%22VICE_DIRECTORY%22%3A%22%2Fusr%2Flocal%2Fshare%2Fvice%22%2C%22VICE_VISIBLE%22%3A%22true%22%2C%22VICE_WARP%22%3A%22false%22%7D%7D&quality=insiders)
[](https://vs-open.link/mcp-install?%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22c64bridge%22%5D%2C%22env%22%3A%7B%22C64_MODE%22%3A%22c64u%22%2C%22C64U_HOST%22%3A%22c64u%22%2C%22VICE_BINARY%22%3A%22%2Fusr%2Flocal%2Fbin%2Fx64sc%22%2C%22VICE_DIRECTORY%22%3A%22%2Fusr%2Flocal%2Fshare%2Fvice%22%2C%22VICE_VISIBLE%22%3A%22true%22%2C%22VICE_WARP%22%3A%22false%22%7D%7D)
[](https://cursor.com/en/install-mcp?name=io.github.chrisgleissner%2Fc64bridge&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImM2NGJyaWRnZSJdLCJlbnYiOnsiQzY0X01PREUiOiJjNjR1IiwiQzY0VV9IT1NUIjoiYzY0dSIsIlZJQ0VfQklOQVJZIjoiL3Vzci9sb2NhbC9iaW4veDY0c2MiLCJWSUNFX0RJUkVDVE9SWSI6Ii91c3IvbG9jYWwvc2hhcmUvdmljZSIsIlZJQ0VfVklTSUJMRSI6InRydWUiLCJWSUNFX1dBUlAiOiJmYWxzZSJ9fQ==)
[](#claude-code)
C64 Bridge is an MCP server for controlling and working with a Commodore 64 from an AI client.
It lets you run programs, read and write memory, render graphics, and play sound on a [C64 Ultimate](https://www.commodore.net/), [Ultimate 64](https://ultimate64.com/), or [U2](https://1541u-documentation.readthedocs.io/en/latest/quick_guide.html)-family cartridge. You can also switch to a [VICE](https://vice-emu.sourceforge.io/) emulator session, so one MCP conversation can span hardware and emulation.
It is built on the official TypeScript `@modelcontextprotocol/sdk` and supports both `stdio` for local AI integration and an optional HTTP bridge for manual inspection.
C64 Bridge is listed in the [Official MCP Registry](https://registry.modelcontextprotocol.io/?q=c64bridge).
## Contents
- [C64 Bridge](#c64-bridge)
- [Contents](#contents)
- [Overview](#overview)
- [Features](#features)
- [Quick Start](#quick-start)
- [1. Install Node.js 24+ and npm](#1-install-nodejs-24-and-npm)
- [2. Start the Server](#2-start-the-server)
- [3. Add Backend Configuration](#3-add-backend-configuration)
- [4. Connect from an MCP Client](#4-connect-from-an-mcp-client)
- [Configuration](#configuration)
- [Configuration File Order](#configuration-file-order)
- [Configuration Merge Rules](#configuration-merge-rules)
- [Backend Configuration: C64 Ultimate](#backend-configuration-c64-ultimate)
- [Backend Configuration: U2-family](#backend-configuration-u2-family)
- [Backend Configuration: VICE](#backend-configuration-vice)
- [VICE Window Modes](#vice-window-modes)
- [Recommended VICE Configurations](#recommended-vice-configurations)
- [Runtime Backend Switching](#runtime-backend-switching)
- [VS Code MCP Setup](#vs-code-mcp-setup)
- [Enable the C64 Agent](#enable-the-c64-agent)
- [Optional Overrides](#optional-overrides)
- [Environment Variables in MCP Client Configs](#environment-variables-in-mcp-client-configs)
- [Runtime Environment Variable Reference](#runtime-environment-variable-reference)
- [Server Runtime](#server-runtime)
- [C64 Ultimate](#c64-ultimate)
- [VICE Runtime](#vice-runtime)
- [VICE Audio Capture](#vice-audio-capture)
- [SID Playback](#sid-playback)
- [RAG](#rag)
- [Testing](#testing)
- [Claude Code](#claude-code)
- [Example Workflow](#example-workflow)
- [HTTP Invocation](#http-invocation)
- [Build and Test](#build-and-test)
- [Documentation](#documentation)
- [Static MCP Interface](#static-mcp-interface)
- [MCP API Reference](#mcp-api-reference)
- [Tools](#tools)
- [c64\_batch](#c64_batch)
- [c64\_config](#c64_config)
- [c64\_debug](#c64_debug)
- [c64\_disk](#c64_disk)
- [c64\_drive](#c64_drive)
- [c64\_extract](#c64_extract)
- [c64\_graphics](#c64_graphics)
- [c64\_input](#c64_input)
- [c64\_memory](#c64_memory)
- [c64\_printer](#c64_printer)
- [c64\_program](#c64_program)
- [c64\_rag](#c64_rag)
- [c64\_select\_backend](#c64_select_backend)
- [c64\_sound](#c64_sound)
- [c64\_stream](#c64_stream)
- [c64\_system](#c64_system)
- [c64\_vice](#c64_vice)
- [Resources](#resources)
- [Prompts](#prompts)
## Overview
C64 Bridge gives an AI agent one place to drive program execution, memory access, graphics, sound, storage, printer workflows, and knowledge retrieval for a Commodore 64 environment.
The core workflow is simple:
1. Start the MCP server.
2. Point it at C64U/U64 hardware, a U2-family cartridge, VICE, or any configured combination.
3. Let the client call grouped MCP tools such as `c64_program`, `c64_memory`, `c64_graphics`, and `c64_sound`.
4. Switch backends at runtime with `c64_select_backend` when both are configured.
## Features
- Program runners for BASIC, 6510 assembly, and PRG or CRT execution
- Full memory access, including raw reads and writes plus screen polling
- System integration for drives, files, printers, and task orchestration
- SID music tools for playback, composition, generation, and verification
- Built-in knowledge resources and prompts for safer LLM workflows
- Mixed runtime support for `c64u` (C64U/U64), `u2` (U2/U2+/U2+L), and `vice`
## Quick Start
If you want the shortest path, do these four things:
1. Install Node.js 24+ and npm.
2. Start the server.
3. Add backend configuration for C64U/U64, U2-family, VICE, or any combination.
4. Connect from VS Code or another MCP client.
### 1. Install Node.js 24+ and npm
Linux (Ubuntu or Debian):
Recommended:
```bash
sudo apt update
sudo apt install -y curl ca-certificates
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt install -y nodejs
```
Fallback:
```bash
sudo apt install -y nodejs npm
```
macOS:
```bash
brew install node@24
brew link --overwrite node@24
```
Windows:
```powershell
# winget
winget install OpenJS.NodeJS.LTS
# or Chocolatey
choco install nodejs-lts -y
```
Verify the installation:
```bash
node --version
```
Expected result: `v24.x`
### 2. Start the Server
Use one of the following entry points.
Run from `npx` with zero setup:
```bash
npx -y c64bridge@latest
```
Run from a local npm install:
```bash
mkdir -p ~/c64bridge && cd ~/c64bridge
npm init -y
npm install c64bridge
node ./node_modules/c64bridge/dist/index.js
```
Run from source for development or testing:
```bash
git clone https://github.com/chrisgleissner/c64bridge.git
cd c64bridge
./build install
npm start
```
On startup, the server probes the selected target, performs connectivity checks, and then announces that it is running on stdio.
### 3. Add Backend Configuration
The server can run against one or more of:
- C64U/U64 hardware (`c64u`)
- U2, U2+, or U2+L (`u2`)
- VICE (`vice`)
The detailed lookup order, merge rules, backend examples, and override model are in the [Configuration](#configuration) section below.
### 4. Connect from an MCP Client
C64 Bridge ships a single canonical `stdio` entry point that every MCP client uses:
- **VS Code (GitHub Copilot)** — see [VS Code MCP Setup](#vs-code-mcp-setup).
- **Claude Code (CLI and VS Code plugin)** — see [Claude Code](#claude-code).
- **Cursor, Visual Studio, VS Code Insiders** — use the install badges at the top of this README.
- **Any other MCP client** — point it at the same `stdio` server, with the environment variables documented in [Runtime Environment Variable Reference](#runtime-environment-variable-reference) and the registry manifest in [mcp.json](./mcp.json).
The startup command is the same across clients: `npx -y c64bridge@latest` for the published package, or `node scripts/start.mjs` from a local checkout. Select `c64u`, `u2`, or `vice` in the shared [Configuration](#configuration); clients only need the command.
## Configuration
### Configuration File Order
The server reads What people ask about c64bridge
What is chrisgleissner/c64bridge?
+
chrisgleissner/c64bridge is mcp servers for the Claude AI ecosystem. MCP server to control and program the Commodore 64 Ultimate, Ultimate 64, Ultimate II, or VICE. It has 39 GitHub stars and its last recorded update is dated 2026-10-14.
How do I install c64bridge?
+
You can install c64bridge by cloning the repository (https://github.com/chrisgleissner/c64bridge) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is chrisgleissner/c64bridge safe to use?
+
Our security agent has analyzed chrisgleissner/c64bridge and assigned a Trust Score of 77/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains chrisgleissner/c64bridge?
+
chrisgleissner/c64bridge is maintained by chrisgleissner. The last recorded GitHub activity is dated 2026-10-14, with 0 open issues.
Are there alternatives to c64bridge?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy c64bridge to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/chrisgleissner-c64bridge)<a href="https://claudewave.com/repo/chrisgleissner-c64bridge"><img src="https://claudewave.com/api/badge/chrisgleissner-c64bridge" alt="Featured on ClaudeWave: chrisgleissner/c64bridge" width="320" height="64" /></a>More MCP Servers
Reverse engineer anything with agents, from app behavior down to native binaries.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev