Provides comprehensive control of Commodore 64 Ultimate Computer hardware via REST API, including running SID/MOD/PRG/CRT files, controlling floppy drives, managing machine state (reset, pause, power), reading/writing C64 memory, configuring device settings, creating disk images, and streaming video/audio/debug output on U64 devices.
Commodore 64 Ultimate Computer MCP Server
MCP (Model Context Protocol) server for the Commodore 64 Ultimate Computer REST API. This server exposes all Commodore 64 Ultimate Computer REST API endpoints as MCP tools.
Installation
Configuration
Set the C64U_URL environment variable to your device's IP address:
Default: http://192.168.200.157
Running the Server
Claude Desktop Configuration
Add to your Claude Desktop claude_desktop_config.json:
Available Tools
About
get_version- Get REST API version
Runners (SID/MOD/PRG/CRT)
sidplay_file- Play SID file from device filesystemsidplay_upload- Upload and play SID file (base64)modplay_file- Play MOD file from device filesystemmodplay_upload- Upload and play MOD file (base64)load_prg_file- Load PRG without executingload_prg_upload- Upload and load PRG (base64)run_prg_file- Load and run PRG from filesystemrun_prg_upload- Upload and run PRG (base64)run_crt_file- Start cartridge from filesystemrun_crt_upload- Upload and start cartridge (base64)
Configuration
list_config_categories- List all config categoriesget_config_category- Get items in a categoryget_config_item- Get specific config itemset_config_item- Set config item valuebatch_set_config- Set multiple config itemsload_config_from_flash- Restore config from flashsave_config_to_flash- Save config to flashreset_config_to_default- Reset to factory defaults
Machine Control
machine_reset- Reset the C64machine_reboot- Reboot Ultimate devicemachine_pause- Pause CPU via DMAmachine_resume- Resume from pausemachine_poweroff- Power off (U64 only)write_memory- Write hex data to C64 memorywrite_memory_binary- Write binary data to memory (base64)read_memory- Read C64 memoryread_debug_register- Read debug register (U64)write_debug_register- Write debug register (U64)
Floppy Drives
list_drives- List all drives and mounted imagesmount_disk_file- Mount disk from filesystemmount_disk_upload- Upload and mount disk (base64)drive_reset- Reset drivedrive_remove- Unmount diskdrive_on- Enable drivedrive_off- Disable drivedrive_load_rom_file- Load custom ROMdrive_load_rom_upload- Upload custom ROM (base64)drive_set_mode- Change drive type (1541/1571/1581)
Streams (U64 only)
stream_start- Start video/audio/debug streamstream_stop- Stop active stream
File Operations
get_file_info- Get file metadatacreate_d64- Create D64 disk imagecreate_d71- Create D71 disk imagecreate_d81- Create D81 disk imagecreate_dnp- Create DNP disk image
Claude Skills
Skills are modular packages that extend Claude's capabilities with specialized knowledge. A .skill file is a ZIP archive containing:
SKILL.md- Core instructions with YAML frontmatterreferences/- Optional detailed documentationscripts/- Optional executable codeassets/- Optional templates and files
Creating a .skill File
Navigate to the skill folder:
cd claude-skills/c64-basicCreate a ZIP archive with
.skillextension (create archive using folder contents, not the folder itself to make sure SKILL.md file located in archive root):# Windows PowerShell Compress-Archive -Path * -DestinationPath c64-basic.skill # Linux/Mac zip -r c64-basic.skill *
Adding Skills to Claude Desktop
Open Claude Desktop
Go to File → Settings → Capabilities → Skills
Click Add and select the
.skillfileThe skill will be available in all conversations
Available Skills
c64-basic (claude-skills/c64-basic/)
Creates and runs C64 BASIC programs via MCP
Handles tokenization, memory pointers, and keyboard buffer injection
Trigger: Ask Claude to write C64 BASIC programs
API Reference
Based on: https://1541u-documentation.readthedocs.io/en/latest/api/api_calls.html