C64 Bridge
Provides tools for controlling a Commodore 64 environment, including running BASIC and assembly programs, reading and writing memory, rendering graphics, playing sound, managing disks and drives, and switching between C64 Ultimate, U2-family hardware, and VICE emulator backends.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
C64 Bridge
Give your coding agent a C64 it can test on.
C64 Bridge is a Model Context Protocol (MCP) server that connects coding agents such as Claude Code and Codex to VICE or Ultimate hardware. Your agent can run a PRG, read the screen or RAM, and use the results to debug.
A built-in, searchable knowledge base gives it access to C64 programming and hardware expertise.

Contents
Related MCP server: VICE C64 Emulator MCP Server
Quick start
You need Node.js 24 or later with npm, an MCP client, and either VICE or a reachable Ultimate device. Node.js downloads
Install C64 Bridge by registering it with your client. The client launches npx -y c64bridge@latest, which fetches the npm package as needed and starts the local server over stdio.
1. Choose a target
C64 Bridge connects your coding agent to VICE or Ultimate hardware.
Target | Requirements |
C64 Ultimate / Ultimate 64 | Device reachable at hostname |
U2 / U2+ / U2+L | Cartridge reachable at hostname |
VICE | VICE with C64 ROMs installed, or an existing Binary Monitor endpoint. VICE |
The installation examples assume these hostnames. If your hardware uses a different hostname or IP address, set C64U_HOST or U2_HOST accordingly in your MCP configuration. For password-protected devices, also set C64U_PASSWORD or U2_PASSWORD.
2. Install and start
Choose your client and target. All methods run the latest published C64 Bridge using npx -y c64bridge@latest.
Installation shortcuts
The editor installation badges configure C64 Ultimate. For other targets, adjust the installed configuration as described below.
Terminal clients
Copy the command matching your client and target:
Client | C64 Ultimate | U2 / U2+ / U2+L | VICE |
|
|
| |
|
|
| |
|
|
|
Verify with claude mcp list, codex mcp list, or copilot mcp list.
Claude Code commands use --scope user for availability across projects. Omit it for the current project only.
This repository's .mcp.json launches the local checkout and takes precedence over Copilot CLI's user-level configuration.
Editor and desktop clients
Configure C64 Bridge as a local stdio server with command npx, arguments -y and c64bridge@latest, and the appropriate environment variables:
Target | Environment |
C64 Ultimate |
|
U2 / U2+ / U2+L |
|
VICE |
|
Client | Setup |
Settings → Developer → Edit Config. Update | |
Use the badge above or Customize → MCP. Alternatively, edit | |
Uses MCP servers configured for Copilot CLI or the current repository. Alternatively, select Customize → MCP → Add custom server. | |
Use the badge above or Copilot Agent mode → Tools → + → Add custom MCP server. | |
Use the badge above or Chat: Open Customizations → MCP Servers → Add Server → Command (stdio). Select Copilot Global for use across compatible Copilot clients on the same machine. |
For manual JSON configuration in Claude Desktop or Cursor, use:
{
"mcpServers": {
"c64bridge": {
"type": "stdio",
"command": "npx",
"args": ["-y", "c64bridge@latest"],
"env": {
"C64_MODE": "c64u"
}
}
}
}Change the env values according to the target table above. If your client cannot find npx, use its absolute path.
3. Run Hello World
Open your coding agent and give it a target, a task, and a result to check.
Use C64 Bridge on VICE. Run a short BASIC program that clears the screen, prints HELLO VICE, and reads the text screen back to confirm it.
For a C64 Ultimate or Ultimate 64, ask for the c64u backend. For a U2-family cartridge, ask for u2. You can change the greeting to match.

The agent should report seeing HELLO VICE on the emulated screen. The bridge runs the program and returns the observed text. The same run-and-check loop lets the agent catch a wrong value in RAM or confirm that a game reacts to input.
If the tools are missing, check that your client has enabled c64bridge and can find Node.js 24 or later. If a call fails, check the active backend in c64://platform/status. Troubleshooting
Project showcases
Try one of these after the tour. Each example gives the agent a concrete task and a way to inspect the result.
Develop a game
Tell your agent whether you’re targeting a stock PAL or NTSC C64, or an Ultimate with features such as turbo and REU. It can use the bundled game development manual to plan the frame budget, memory layout, and asset loading.
Start with a small 6510 routine or bring a PRG and its symbol file. In VICE, the agent can break at your labels, step through code, send joystick input, and inspect RAM. Switch to hardware to check raster timing and Ultimate features. Program tools · VICE debugger
Run my PRG in VICE with its symbol file. Break at the player update routine, then resume and check whether pressing fire spawns a projectile.
Compose for the SID
Give your agent a score or a musical idea. It can use the SIDWAVE manual to turn instruments, patterns, and sections into a playable arrangement. Compile to check the arrangement and lint findings before listening to it on your target. Sound tools
Export a PRG or PSID. Use PRG for layouts with more than three SIDs. A compatible Ultimate setup can address up to ten SIDs, depending on the model and fitted chips.
Play Stereo Echo on my Ultimate, then show me how the score places its lead and echoes across the two SIDs.
Listen to Arp Ballad, Drum and Bass, or Stereo Echo and open the matching YAML to see how each was built. Audio downloads · Example scores
Use Ultimate hardware
Tell your agent what you want the machine to do. It can use the hardware manuals to check what your program needs to detect and which settings to inspect before a run. Configuration tools
Feature | What you can build |
Turbo and REU | Use more CPU time per frame or transfer level data and graphics into C64 RAM. |
Ultimate Command Interface (UCI) | Load files, save high scores, or use the network from your C64 program. |
UPIC | Draw full-colour graphics into the border with timed colour changes. |
Add REU level loading to my game. Check for the REU at startup and test the loader on my C64 Ultimate.
You can also upload PRGs, launch CRTs, mount disks, and capture video or stereo audio on C64U/U64. Check the tool tables for platform support. Programs · Disks · Streaming
Configuration
Configuration files and overrides
The bridge uses the first readable, parseable JSON configuration in this order:
The file named by
C64BRIDGE_CONFIG..c64bridge.jsonin the server process's working directory.~/.c64bridge.json.A legacy
.c64bridge.jsonnext to the package or source checkout.
Keep all JSON backend profiles in the same file. An explicitly named file must exist and parse, or startup fails.
Environment variables override their corresponding JSON settings, with built-in defaults filling in the rest. See the runtime environment variable reference for the available settings.
The following config makes both Ultimate profiles and VICE available. Omit any unused profile. Replace the hosts as needed, and add "networkPassword": "your-password" to a hardware profile only if network protection is enabled.
{
"c64u": { "host": "c64u", "port": 80 },
"u2": { "host": "u2", "port": 80 },
"vice": {}
}Hardware settings can also come from C64U_HOST, C64U_PORT, and C64U_PASSWORD, or their U2_ counterparts. Give each device its own profile when using both hardware families.
Without a u2 section, the U2 backend can use C64U settings. If you supply a separate U2_HOST, supply that device’s password with U2_PASSWORD as needed.
Initial target and runtime switching
C64_MODE pins the initial target. Without it, the server prefers configured backends in this order: c64u, u2, vice. With none configured, it probes the default Ultimate endpoint at c64u:80 and selects VICE if the probe fails.
Use c64_select_backend to switch among the available backends without restarting. Include the target in each prompt when switching, for example u2: list drives or c64u: run this PRG. The c64://platform/status resource shows which backend is active and which are available.
The same screen check can run on hardware. C64 Ultimate greeting screenshot
VICE setup
C64 Bridge reuses a running Binary Monitor at the configured endpoint if one is available. For a local endpoint, it can launch VICE itself. The default Binary Monitor address is 127.0.0.1:6502. VICE starts or connects on first use by default. Set VICE_PREWARM=1 to do that in the background during startup.
For managed launches, the bridge looks for x64sc or x64 and tries to discover the resource directory.
Set VICE_BINARY and VICE_DIRECTORY (or vice.exe and vice.directory in JSON) when using a custom install. If an explicit executable cannot be found, managed startup reports an error.
Use VICE_HOST and VICE_PORT to select an existing monitor at another address. The Binary Monitor accepts one client at a time. VICE Binary Monitor guide · Supported operations
Window mode | Environment settings |
Desktop window |
|
Minimized desktop window |
|
Headless |
|
VICE_WARP overrides the default for any mode. On Linux, FORCE_XVFB=1 forces Xvfb and DISABLE_XVFB=1 disables the Xvfb fallback.
Ultimate firmware support
Read c64://platform/status before relying on a native firmware endpoint. The server can probe machine:input safely. It can confirm machine:menu_screen while the Ultimate menu is visible.
Physical input uses
machine:inputfor keyboard matrix events, held-input state, release, and hardware joystick. It needs supporting C64U firmware or U64 firmware 3.15+. For ordinary text input on other firmware, usec64_inputwithkeyorwrite_text.Menu capture uses
machine:menu_screenand needs supporting C64U firmware or U64/U2 firmware 3.15+. C64U/U64power_cycleuses this endpoint to verify Tool Menu navigation. The U2 operation uses REST reboot, and VICE starts a fresh emulator session.U2-family cartridges expose the shared REST subset. The MCP API reference shows availability per operation. Physical input, debug registers, power-off, and streaming are unavailable on U2.
Operation and file access
Set C64BRIDGE_ACCESS to control which operations a client can call.
full(default) allows every operation.no-destructiveallows regular writes and blocks destructive operations.read-onlylimits calls to read operations. Unknown values fall back to this mode.
The server checks each batch command and checks a background task’s operation when it starts. The active mode appears in c64://platform/status.
Host paths refer to files on the machine running C64 Bridge. Tools can use the server working directory (except the home or filesystem root), ~/.c64bridge, the configured state directory, and the system temporary directory.
Most reads are capped at 16 MiB, with 64 MiB for disk images.
The server resolves symlinks, blocks hidden path components by default, and protects internal configuration and state files.
Add roots with
C64BRIDGE_ALLOWED_DIRS. Separate entries with:on Linux/macOS or;on Windows. A lone*disables the root restriction. Hardening behavior
After poweroff on C64U/U64, restore power at the outlet. The machine starts automatically only if its power-restoration setting allows it.
HTTP invocation
Use the optional loopback HTTP transport for manual inspection. Start it with npx -y c64bridge@latest --http 3000 or npm start -- --http 3000 from a checkout.
The default HTTP port is 3000, and the bridge listens on 127.0.0.1 with loopback-only Host and Origin checks.
Set C64BRIDGE_HTTP_TOKEN and send Authorization: Bearer <token> to require authentication. Without a token, local processes that can reach the port can call the tools allowed by the access mode.
Send MCP JSON-RPC requests to /mcp. Pass the operation as params.arguments.op in a tools/call request. Responses arrive as server-sent events.
curl -s http://127.0.0.1:3000/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"c64_memory","arguments":{"op":"read_screen"}}}'To discover tools, send {"jsonrpc":"2.0","id":2,"method":"tools/list"} with the same headers. Set C64BRIDGE_VERBOSE_SCHEMA=1 to include the full per-operation schemas.
Build and test
From a checkout with Bun 1.3 or later, use the build wrapper to install dependencies, compile, and run the test suite.
./build --skip-tests # install and build
npm start # launch the local stdio serverTask | Command |
Install, build, and run the full test matrix |
|
Run mock-backed tests |
|
Run the VICE mock test leg |
|
Test against Ultimate hardware |
|
See ./build --help for coverage, RAG rebuilds, package checks, and release commands. To run a local npm installation, use npx c64bridge from the project where you installed it.
The checked-in VS Code configuration and Claude Code project configuration launch the source checkout. In VS Code, the C64 custom agent is available for the project’s C64 workflows. In Claude Code, approve the project server when prompted. To start a stdio session by hand, run npm start from the checkout or npx -y c64bridge@latest for the published package. It waits for MCP requests on stdin.
npm run build regenerates the contents list, the two reference sections below, and the static MCP interface. Commit updated generated files alongside MCP server changes. The package check in CI rebuilds and fails if the committed files are stale. Developer guide
Documentation
Setup and troubleshooting
First run · Choose a target, connect your client, and run a greeting. Hello World tour
Startup and connection issues · Check the session logs in
~/.c64bridge/diagnostics/. SetLOG_LEVEL=debugfor more detail. Troubleshooting guide
Bundled manuals
Your agent can consult these manuals through MCP while it works. The links below are there for when you want to look up a detail yourself.
Game development · Reading plan by game type · Frame timing and memory layout · Toolchains
SID composition · SIDWAVE format · SID registers · Multi-SID layouts
Ultimate hardware · Turbo and board settings · REU · UCI · UPIC
VICE debugging · Binary Monitor
Integration and internals
Agent setup · Integration guide · Agent primer
MCP interface · Interface files · MCP manifest · MCP Registry
Ultimate REST APIs · C64U/U64 specification · U2 specification
Server architecture · DeepWiki overview
Runtime environment variable reference
Every runtime environment variable documented in mcp.json can be set in your MCP client configuration, including .vscode/mcp.json under servers.c64bridge.env.
Server Runtime
Variable | Default | JSON Config Key | Description |
| auto | — | Pin the initial backend to c64u, u2, or vice. When unset, select from configuration or probe the default hardware endpoint |
| auto | — | Override the path used to persist MCP background-task state |
| full | — | Access mode limiting which operations may be called (full, no-destructive, read-only) |
| — | Set to 1 to allow hidden host path components; protected configuration and task-state files remain inaccessible | |
| — | Additional directories allowed for host file paths in tool arguments, separated by the path delimiter; * disables the check | |
| config path | Explicit configuration JSON path. When unset, search the working directory, home directory, then package directory | |
| ~/.c64bridge/diagnostics | — | Override the directory where persistent MCP diagnostics files are written |
| 200 | — | Number of diagnostics files kept at startup; files older than 30 days are always removed |
| 0 | — | Set to 1 to disable persistent diagnostics logging |
| — | Bearer token required by the optional HTTP transport (--http) | |
| 200 | — | Interval between screen polls during program-output validation in normal runtime mode |
| 2000 | — | Maximum time to poll for program-output validation before timing out in normal runtime mode |
| 100 | — | Extra settle time after a successful poll match before considering output stable |
| ~/.c64bridge | — | Root directory for task state, run artifacts and diagnostics |
| — | Set to 1 to include full per-operation schemas in tools/list | |
| info | — | Logger verbosity (debug, info, warn, error) |
C64 Ultimate
Variable | Default | JSON Config Key | Description |
| c64u | c64u.host | Override the C64 Ultimate host name or IP address |
| c64u.networkPassword | Override the C64 Ultimate network password sent as X-Password | |
| 80 | c64u.port | Override the C64 Ultimate REST port |
U2-family
Variable | Default | JSON Config Key | Description |
| u2.host | Override the U2/U2+/U2+L host name or IP address | |
| u2.networkPassword | Override the U2-family network password sent as X-Password | |
| u2.port | Override the U2-family REST port |
VICE Runtime
Variable | Default | JSON Config Key | Description |
| 0 | — | Set to 1 to disable Xvfb fallback and use the current display only |
| 0 | — | Set to 1 to force managed VICE launches to use Xvfb even when a graphical session is detected |
| vice.args | Extra command-line arguments forwarded to managed VICE launches, such as -minimized for a visible window that starts iconified | |
| x64sc | vice.exe | VICE executable for managed sessions and audio capture. A missing executable at an explicit setting prevents a managed launch |
| auto-detect | vice.directory | Override the VICE resource directory used for ROM and UI asset discovery; automatic search is used only when this override is missing or invalid |
| 127.0.0.1 | vice.host | Override the VICE Binary Monitor host |
| 6502 | vice.port | Override the VICE Binary Monitor port |
| 0 | vice.prewarm | Set to 1 to start/connect VICE in the background during MCP startup; disabled by default so VICE starts lazily on first use |
| true | vice.visible | Launch VICE as a desktop window when true; use headless/Xvfb managed launch when false |
| false when visible, true when headless | vice.warp | Enable warp mode for managed VICE sessions |
| :99 | — | Display number to use when managed VICE launches under Xvfb |
VICE Audio Capture
Variable | Default | JSON Config Key | Description |
| 120000000 | — | Maximum CPU cycles to render when VICE generates audio |
| ntsc | — | Default video standard for VICE audio capture (ntsc|pal) |
| 10000 | — | Timeout for headless VICE runs in milliseconds |
SID Playback
Variable | Default | JSON Config Key | Description |
| sidplayfp | — | sidplayfp binary to launch when generating audio |
| 120000000 | — | Maximum CPU cycles to render when sidplayfp generates audio |
| ntsc | — | Default SID playback mode (ntsc|pal) |
| — | Legacy alias for SIDPLAY_BINARY (sidplayfp executable name) |
RAG
Variable | Default | JSON Config Key | Description |
| — | Personal access token used for optional RAG discovery against GitHub | |
| 0 | — | Set to 1 to rebuild embeddings on server start |
| 0 | — | Set to 1 to ignore cached discovery results when fetching external docs |
| — | Comma-separated extra docs to include in RAG | |
| data | — | Directory containing RAG embedding JSON files |
| 0 | — | Periodic reindex interval in ms (0 disables) |
Testing
Variable | Default | JSON Config Key | Description |
| — | Overrides integration tests to hit mock or real hardware (mock|real) |
MCP API Reference
This MCP server exposes 17 tools, 53 resources, and 11 prompts for controlling your Commodore 64.
See the hardening behavior guide for host path restrictions, argument limits, task retention, cancellation and verification semantics.
Tools
Address range convention: address + length means start address plus byte count; startAddress + endAddress means inclusive bounds.
c64_batch
Execute multiple c64bridge tool calls in a single request. Reduces latency for multi-step workflows.
No operations defined.
c64_config
Grouped entry point for configuration reads/writes, diagnostics, and snapshots.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Apply several configuration updates at once. Pass | — |
| ✅ | ✅ | ✅ |
| Compare configuration with a snapshot. |
| — | ✅ | ✅ | ✅ |
| Read a configuration category or specific item. |
|
| ✅ | ✅ | ✅ |
| Retrieve Ultimate hardware information and status. | — | — | ✅ | ✅ | ✅ |
| List configuration categories reported by the firmware. | — | — | ✅ | ✅ | ✅ |
| Load configuration from flash. | — |
| ✅ | ✅ | |
| Read the Ultimate debug register ($D7FF). | — | — | ✅ | ||
| Reset configuration to factory defaults. | — |
| ✅ | ✅ | |
| Restore configuration from a snapshot file. Writes only items that differ from the device; if the device refuses a category (e.g. 403 for a wrong network password), the others are still restored and the error names the failed categories. |
|
| ✅ | ✅ | ✅ |
| Persist the configuration to flash. | — |
| ✅ | ✅ | |
| Write a configuration value in the selected category. |
| — | ✅ | ✅ | ✅ |
| Discover PRG/CRT files and run each, optionally capturing the screen. | — |
| ✅ | ✅ | |
| Snapshot configuration to disk. |
| — | ✅ | ✅ | ✅ |
| Fetch firmware version details. | — | — | ✅ | ✅ | ✅ |
| Write a hex value to the Ultimate debug register ($D7FF). |
| — | ✅ |
c64_debug
Grouped entry point for VICE debugger operations (breakpoints, registers, stepping).
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Exit the Binary Monitor and resume CPU execution (BM 0xAA Exit). | — | — | ✅ | ||
| Create a new checkpoint (breakpoint) in VICE. |
|
| ✅ | ||
| Remove a checkpoint by id. |
| — | ✅ | ||
| Fetch a single checkpoint by id. |
| — | ✅ | ||
| Read CPU registers and return the current monitor state. | — |
| ✅ | ||
| Read register values, optionally filtered by name or id. | — |
| ✅ | ||
| List all active VICE checkpoints (breakpoints). | — | — | ✅ | ||
| List available registers (metadata). | — |
| ✅ | ||
| Kill and restart the VICE process (managed instances only). | — | — | ✅ | ||
| Attach a conditional expression to a checkpoint. |
| — | ✅ | ||
| Write register values. |
|
| ✅ | ||
| Single-step CPU execution. | — |
| ✅ | ||
| Continue execution until the current routine returns. | — | — | ✅ | ||
| Enable or disable a checkpoint by id. |
| — | ✅ | ||
| Wait until the CPU is stopped (checkpoint hit or step) and, with expectedPC, PC equals it, or the timeout elapses. Without a debug session the registers are polled. | — |
| ✅ |
c64_disk
Grouped entry point for disk mounts, listings, image creation, and program discovery.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Create a blank disk image of the specified format. An existing file at the path is not overwritten; the call fails and a different path (or deleting the file first) is needed. |
|
| ✅ | ✅ | |
| Inspect a file on the Ultimate filesystem. |
| — | ✅ | ✅ | |
| Search for a PRG/CRT by name substring and run the first match. |
|
| ✅ | ✅ | |
| Search Ultimate storage for paths containing a name substring, without running anything. |
|
| ✅ | ✅ | |
| List drive slots and mounted images. | — | — | ✅ | ✅ | ✅ |
| Mount a disk image with optional verification/retries. Supports verification. |
|
| ✅ | ✅ | ✅ |
| Unmount the image from a drive slot. |
| — | ✅ | ✅ |
c64_drive
Grouped entry point for drive power, mode, reset, and ROM operations.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Temporarily load a custom ROM into an Ultimate drive slot. |
| — | ✅ | ✅ | |
| Power off a specific Ultimate drive slot. |
| — | ✅ | ✅ | ✅ |
| Power on a specific Ultimate drive slot. |
| — | ✅ | ✅ | ✅ |
| Issue an IEC reset for the selected drive slot. |
| — | ✅ | ✅ | ✅ |
| Set the emulation mode for a drive slot (1541/1571/1581). |
| — | ✅ | ✅ | ✅ |
c64_extract
Grouped entry point for sprite/charset extraction, memory dumps, filesystem stats, and firmware health checks.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Locate and extract 2KB character sets from RAM. | — |
| ✅ | ✅ | ✅ |
| Run firmware readiness checks and report status metrics. | — | — | ✅ | ✅ | ✅ |
| Per-extension size statistics for one directory (no recursion); the firmware returns at most one file per extension. | — |
| ✅ | ✅ | |
| Dump a RAM range to hex or binary files with manifest metadata. |
|
| ✅ | ✅ | ✅ |
| Scan RAM for sprites and optionally export .spr files. |
|
| ✅ | ✅ | ✅ |
c64_graphics
Grouped entry point for frame capture and graphics rendering workflows.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Capture one or more complete video frames from the active backend. | — |
| ✅ | ✅ | |
| Read VIC-II and CIA2 registers to determine the current graphics mode and memory layout. | — | — | ✅ | ✅ | ✅ |
| Convert an image file to VIC-II bitmap memory, write it to RAM and display it. |
|
| ✅ | ✅ | ✅ |
| Create PETSCII art from a prompt, text or bitmap data, optionally displaying it. | — |
| ✅ | ✅ | ✅ |
| Display PETSCII text with optional border and background colours. |
|
| ✅ | ✅ | ✅ |
| Display 63-byte sprite data at a position and colour by writing memory and VIC-II registers. |
|
| ✅ | ✅ | ✅ |
c64_input
Cross-platform PETSCII typing plus native Ultimate keyboard and joystick events.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Simulate joystick input. On C64U/U64 this uses machine:input. On VICE it attaches the joyport simulation device, which also pulls CIA lines 5-7 low: port 1 produces phantom keys and port 2 reads $1E for up instead of $7E. Prefer port 2 on VICE and test bits 0-4. |
|
| ✅ | ✅ | |
| Press one key one or more times, optionally with a delay. |
|
| ✅ | ✅ | ✅ |
| Send physical C64 keyboard matrix events through machine:input (needs firmware support; U64 3.15+). |
| — | ✅ | ||
| Release every key and joystick control injected through machine:input. | — | — | ✅ | ||
| Read the keys and joystick controls held through machine:input. | — | — | ✅ | ||
| Send a text string to the keyboard buffer, with PETSCII token expansion. |
|
| ✅ | ✅ | ✅ |
c64_memory
Grouped entry point for memory I/O, screen reads, and screen polling.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Compare two memory regions byte-by-byte and report differences. |
|
| ✅ | ✅ | ✅ |
| Copy a RAM region to another address. |
|
| ✅ | ✅ | ✅ |
| Disassemble a memory region into annotated 6502/6510 instructions, including undocumented opcodes. Labels from loaded |
|
| ✅ | ✅ | ✅ |
| Fill a memory range with a repeating byte pattern. |
| — | ✅ | ✅ | ✅ |
| List the BASIC program in memory as text: reads the $2B-$2E pointers, walks the line links and detokenises. | — | — | ✅ | ✅ | ✅ |
| Read a range of bytes and return a hex dump with address metadata. |
|
| ✅ | ✅ | ✅ |
| Return the current 40x25 text screen converted to ASCII. | — | — | ✅ | ✅ | ✅ |
| Dump a memory range to a local file, with an optional PRG load-address header. |
|
| ✅ | ✅ | ✅ |
| Search for a byte pattern within a memory range and return matching addresses. |
|
| ✅ | ✅ | ✅ |
| Poll the screen until a substring or regex appears, or timeout elapses. |
|
| ✅ | ✅ | ✅ |
| Write a hexadecimal byte sequence into RAM. Supports verification. |
|
| ✅ | ✅ | ✅ |
c64_printer
Grouped entry point for Commodore and Epson printing helpers.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Define custom printer characters (Commodore DLL mode). |
|
| ✅ | ✅ | |
| Print a bitmap row via Commodore (BIM) or Epson ESC/P workflows. |
|
| ✅ | ✅ | |
| Generate BASIC that prints text to device 4. |
|
| ✅ | ✅ |
c64_program
Grouped entry point for program upload, execution, and batch workflows.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Run multiple PRG/CRT programs with post-run assertions. |
|
| ✅ | ✅ | ✅ |
| Capture screen, memory and debug registers into a bundle. |
|
| ✅ | ✅ | ✅ |
| Show a platform-specific greeting on configured backends, capture screenshots and verify. Supports verification. | — |
| ✅ | ✅ | ✅ |
| Load a PRG into memory without running it (Ultimate path, host path on VICE, or location host). |
|
| ✅ | ✅ | ✅ |
| Run a CRT cartridge image from an Ultimate path, or upload a host file with location host (c64u/u2). |
|
| ✅ | ✅ | |
| Load and run a PRG: Ultimate path on c64u/u2 (location host uploads a host file), host path on VICE. |
|
| ✅ | ✅ | ✅ |
| Assemble 6502/6510 source (ACME, ca65 and 64tass directive spellings; .include/.incbin read host files), upload and run it. Supports verification. |
|
| ✅ | ✅ | ✅ |
| Tokenize BASIC v2 source, upload and run it; verify:true reports BASIC errors with their line. Supports verification. |
|
| ✅ | ✅ | ✅ |
c64_rag
Grouped entry point for BASIC, assembly and curated-docs RAG lookups.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Retrieve 6502/6510 assembly references from the local knowledge base. |
|
| ✅ | ✅ | ✅ |
| Retrieve BASIC references and snippets from the local knowledge base. |
|
| ✅ | ✅ | ✅ |
| Search all curated docs (hardware, Ultimate features, game development, specs) with no BASIC/assembly filter. |
|
| ✅ | ✅ | ✅ |
c64_select_backend
Switch the active backend between C64U/U64 hardware, U2-family cartridges, and the VICE emulator at runtime.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Switch the active runtime backend without restarting the MCP server. |
| — | ✅ | ✅ | ✅ |
c64_sound
SID control, playback, composition and audio analysis.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Analyze SID playback or a host WAV. | — |
| ✅ | ✅ | ✅ |
| Capture Ultimate stereo PCM. | — |
| ✅ | ||
| Compile and optionally play SIDWAVE. | — |
| ✅ | ✅ | ✅ |
| Compose and play a seeded SIDWAVE PRG. Replaces the program in memory. | — |
| ✅ | ✅ | ✅ |
| Release a SID voice. |
| — | ✅ | ✅ | ✅ |
| Start a SID voice. | — |
| ✅ | ✅ | ✅ |
| Compile, play and analyze SIDWAVE. Supports verification. | — |
| ✅ | ✅ | ✅ |
| Play an Ultimate MOD file. |
| — | ✅ | ✅ | |
| Compile and play a built-in SID preset. Supports verification. | — |
| ✅ | ✅ | ✅ |
| Play an Ultimate SID file. |
|
| ✅ | ✅ | |
| Analyze a recording from the Ultimate stream or host microphone on other backends. |
|
| ✅ | ✅ | ✅ |
| Reset SID registers. | — |
| ✅ | ✅ | ✅ |
| Render a SIDWAVE sample to WAV. | — |
| ✅ | ✅ | ✅ |
| Set SID volume ($D418). |
|
| ✅ | ✅ | ✅ |
| Silence all SID voices. Supports verification. | — |
| ✅ | ✅ | ✅ |
c64_stream
Grouped entry point for starting and stopping Ultimate streaming sessions.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Start an Ultimate streaming session. The device sends an unencrypted UDP stream to the target (IPv4 address or hostname, optional :port). |
| — | ✅ | ||
| Stop an active Ultimate streaming session. |
| — | ✅ |
c64_system
Grouped entry point for power, reset, menu, and background task control.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Delete a finished task and its artifacts; stop running tasks first. |
| — | ✅ | ✅ | ✅ |
| List background tasks with status. | — | — | ✅ | ✅ | ✅ |
| Toggle the Ultimate menu button. | — | — | ✅ | ✅ | |
| Pause the machine until resumed. | — | — | ✅ | ✅ | ✅ |
| Summarize diagnostics spans and tool latencies of the current or latest session. | — |
| ✅ | ✅ | ✅ |
| Return the backend to a fresh state. C64U/U64 Tool Menu verification needs machine:menu_screen (U64 3.15+ or supporting C64U firmware); U2-family reboots through REST. | — |
| ✅ | ✅ | ✅ |
| Shut down C64U/U64 or quit VICE. U2-family hardware cannot power off. On C64U/U64 software cannot restart it: power must be restored at the outlet, and it starts by itself only if automatic startup on power restoration is enabled. | — | — | ✅ | ✅ | |
| Read the active Ultimate menu's raw character and colour matrix through machine:menu_screen (needs firmware support; U64/U2 3.15+). | — | — | ✅ | ✅ | |
| Trigger a firmware reboot to recover from faults. | — |
| ✅ | ✅ | ✅ |
| Issue a soft reset without cutting power. | — |
| ✅ | ✅ | ✅ |
| Resume CPU execution after a pause. | — | — | ✅ | ✅ | ✅ |
| Start a named interval task. |
|
| ✅ | ✅ | ✅ |
| Stop all running tasks and persist state. | — | — | ✅ | ✅ | ✅ |
| Stop a background task. |
| — | ✅ | ✅ | ✅ |
c64_vice
VICE resources, snapshots.
Operation | Description | Required Inputs | Optional Inputs | C64U | U2 | VICE |
| Read a VICE configuration resource (safe prefixes only). |
| — | ✅ | ||
| Write a VICE configuration resource (safe prefixes only). |
| — | ✅ | ||
| Restore snapshot. |
| — | ✅ | ||
| Save snapshot. |
| — | ✅ | ||
| VICE version. | — | — | ✅ |
Resources
Name | Summary |
| Explains how to approach each knowledge bundle and when to consult it. |
| Step-by-step rules for safe automation, verification, and rollback on the C64. |
| Condensed routing guide for one-call demos, backend switching, and when to prefer orchestration over manual tool composition. |
| Target decision, reading plan by game type, resource table with sizes, and the c64bridge dev loop for games. |
| Frame-synchronous loop, state machine, frame and cycle budgets, memory-map templates for stock and REU-streaming games. |
| Compact 6502 recipes for the techniques most C64 games need, each with reference projects to study. |
| Assembler and compiler choice, Makefile build, Exomizer packing, VICE and hardware test loop, .cfg and REU image for modern releases. |
| Modern Ultimate projects and classic C64 games mapped to techniques, with licence cautions for reuse. |
| Turbo, SID layout, video and palette, REU/UCI presence, model detection and config settings, with fallbacks for stock machines. |
| UCI register protocol, command targets, file and REU loading, network, palette, safe use and detection. |
| REU registers, tested level-load and detection routines, DMA behaviour, enabling and preloading an image, streaming levels, graphics and samples. |
| Cycle-exact border-colour technique for 384x256 16-colour graphics, framebuffer, palette use and limits. |
| Verified control recipe per owner configuration (8 SIDs, or 10 with a chip in each socket), address map, range split and mirroring, mixer and pan, UCI LOAD_CONFIG setup and restore, ENV3 detection, sound differences. |
| Benchmark programs, result block layout, decoding formulas and a step-by-step rerun recipe using only c64bridge tools. |
| Transport framing, single-client constraints, command semantics, and monitor side effects that shape all VICE-backed operations. |
| Token definitions, syntax rules, and device I/O guidance for BASIC v2. |
| Quickref covering quotation handling, line length, tokenization, variable names, and other BASIC traps. |
| Official opcode matrix, addressing modes, and zero-page strategy for the 6510 CPU. |
| Register map, waveform behaviour, and ADSR envelopes for expressive SID playback. |
| Defines the SIDWAVE interchange format used by the SID composer workflow. |
| Music presets with annotated SIDWAVE scores. |
| Chip arpeggios, gliding pulse lead and drum break |
| Slow pads, filtered bass and ring modulated bells |
| Syncopated filter bass, chord chops and sync accents |
| Acid bass, resonance accents and slides over a four-on-the-floor kick |
| Minor ballad with chord arpeggios and a connected PWM lead |
| Breakbeats and a pair of detuned Reese bass oscillators |
| CIA2 volume digis with syncopated synth bass and arpeggios |
| Hard sync, ring modulation, double kick and power chords |
| Two SIDs with stereo echo, ping-pong arpeggios and unison pads |
| Three independent voices in 3/4 with no percussion |
| Short filtered brass fanfare with timpani and a held cadence |
| Eight SIDs with divided strings, twin echo leads, arps and a drum kit |
| Nine SIDs and a gradual build to a 27-voice finale |
| Legacy three-voice arrangement of Beethoven’s Bagatelle |
| Explains PSID/RSID headers, metadata blocks, and compatibility notes for imported music. |
| Captures proven waveforms, ADSR presets, phrasing, and verification workflow for pleasant SID music. |
| Covers raster timing, sprite control, colour RAM, and bitmap modes on the VIC-II. |
| Character code table mapping PETSCII codes to screen codes, glyphs, and keyboard input. |
| Documents colour palette, readability presets, dithering patterns, and best practices for creating artistic and readable PETSCII displays. |
| Documents sprite and charset workflows, memory layout, VIC-II configuration, common pitfalls, and proven techniques for hardware-accelerated graphics. |
| Page-by-page breakdown of the 64 KB address space with hardware, ROM, and RAM regions. |
| Documents zero-page variables, BASIC pointers, and KERNAL workspace addresses. |
| Maps BASIC ROM landmarks, reusable interpreter routines, numeric helpers, string helpers, and C64-specific BASIC continuation entries. |
| Maps KERNAL ROM vectors, jump table entries, internal routines, serial/tape/screen services, and reset handlers. |
| Covers VIC-II, SID, CIA, and system control registers with address ranges and usage notes. |
| Details CIA 1/2 registers, timers, interrupts, and keyboard matrix layout. |
| Covers device setup, control codes, and Ultimate 64 integration for printers. |
| Character sets, control codes, and formatting for Commodore MPS text output. |
| Details bitmap modes, graphics commands, and data layout for MPS bitmap printing. |
| Lists ESC/P control codes and formatting advice for Epson FX text output. |
| Explains bit-image modes, density options, and data packing for Epson bitmap jobs. |
| Reusable prompt templates that drive complex printer jobs through the MCP server. |
Prompts
Name | Description |
| Route 6502/6510 routine requests to the canonical assembly skill. |
| Route bespoke Commodore BASIC v2 requests to the canonical BASIC skill. |
| Route quick visible demo requests to the cross-platform demo skill. |
| Route disk-image and drive-state requests to the canonical drive skill. |
| Route requests to write, port or extend a C64 game to the game development skill and the c64://gamedev/index reading plan. |
| Route graphics requests to the canonical graphics skill. |
| Route ultra-fast hello-world and smoke-test requests to the canonical greeting skill. |
| Route reversible memory inspection or patching work to the canonical memory skill. |
| Route quick recognizable tune requests to the SID music skill. |
| Route printer work to the canonical printer skill. |
| Route SID playback and composition work to the canonical SID skill. |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control Commodore 64 Ultimate hardware via REST API, supporting program execution, memory operations, disk management, audio playback, and device configuration through natural language commands.22MIT
- AlicenseAqualityDmaintenanceEnables autonomous debugging of Commodore 64 programs through the VICE emulator with semantic interpretation of C64-specific data structures, memory layouts, VIC-II states, and PETSCII encoding for AI-assisted 6502 assembly debugging.261MIT
- FlicenseBqualityDmaintenanceEnables control and interaction with Commodore 64 Ultimate Computer devices through their REST API, allowing users to play SID/MOD files, load and run programs, manage disk images, configure settings, and control the C64 machine through natural language.4922-
- AlicenseAqualityDmaintenanceEnables AI-powered control and debugging of Commodore 64 programs via the VICE emulator, supporting memory operations, breakpoints, register access, and program loading.188 npmMIT