Commodore 64 Ultimate Computer MCP Server

Commodore 64 Ultimate Computer MCP Server

Enables 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.

Category
访问服务器

README

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

cd c64u-mcp-server
uv sync

Configuration

Set the C64U_URL environment variable to your device's IP address:

export C64U_URL="http://192.168.200.157"

Default: http://192.168.200.157

Running the Server

uv run python server.py

Claude Desktop Configuration

Add to your Claude Desktop claude_desktop_config.json:

{
  "mcpServers": {
    "commodore64": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/c64u-mcp-server", "python", "server.py"],
      "env": {
        "C64U_URL": "http://192.168.200.157"
      }
    }
  }
}

Available Tools

About

  • get_version - Get REST API version

Runners (SID/MOD/PRG/CRT)

  • sidplay_file - Play SID file from device filesystem
  • sidplay_upload - Upload and play SID file (base64)
  • modplay_file - Play MOD file from device filesystem
  • modplay_upload - Upload and play MOD file (base64)
  • load_prg_file - Load PRG without executing
  • load_prg_upload - Upload and load PRG (base64)
  • run_prg_file - Load and run PRG from filesystem
  • run_prg_upload - Upload and run PRG (base64)
  • run_crt_file - Start cartridge from filesystem
  • run_crt_upload - Upload and start cartridge (base64)

Configuration

  • list_config_categories - List all config categories
  • get_config_category - Get items in a category
  • get_config_item - Get specific config item
  • set_config_item - Set config item value
  • batch_set_config - Set multiple config items
  • load_config_from_flash - Restore config from flash
  • save_config_to_flash - Save config to flash
  • reset_config_to_default - Reset to factory defaults

Machine Control

  • machine_reset - Reset the C64
  • machine_reboot - Reboot Ultimate device
  • machine_pause - Pause CPU via DMA
  • machine_resume - Resume from pause
  • machine_poweroff - Power off (U64 only)
  • write_memory - Write hex data to C64 memory
  • write_memory_binary - Write binary data to memory (base64)
  • read_memory - Read C64 memory
  • read_debug_register - Read debug register (U64)
  • write_debug_register - Write debug register (U64)
  • capture_screen - Capture C64 screen as PNG image
  • type_text - Type text into keyboard buffer (supports special keys)
  • send_key - Send a special key to keyboard buffer

Floppy Drives

  • list_drives - List all drives and mounted images
  • mount_disk_file - Mount disk from filesystem
  • mount_disk_upload - Upload and mount disk (base64)
  • drive_reset - Reset drive
  • drive_remove - Unmount disk
  • drive_on - Enable drive
  • drive_off - Disable drive
  • drive_load_rom_file - Load custom ROM
  • drive_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 stream
  • stream_stop - Stop active stream

File Operations

  • get_file_info - Get file metadata
  • create_d64 - Create D64 disk image
  • create_d71 - Create D71 disk image
  • create_d81 - Create D81 disk image
  • create_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 frontmatter
  • references/ - Optional detailed documentation
  • scripts/ - Optional executable code
  • assets/ - Optional templates and files

Creating a .skill File

  1. Navigate to the skill folder:

    cd claude-skills/c64-basic
    
  2. Create a ZIP archive with .skill extension (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

  1. Open Claude Desktop
  2. Go to File → Settings → Capabilities → Skills
  3. Click Add and select the .skill file
  4. The 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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选