ultimate-mcp-tools

ultimate-mcp-tools is a cursor rule for Cursor from mbosschaart/Ultimate64MCP. It costs 0 tokens per session (1,750 once invoked), scanned A, original, MIT.

Instructions for using an Ultimate MCP Server to control a real Commodore 64 through its Ultimate 64 or II+ device. They explain how to connect, run programs stored on the device, and upload programs from another location.

In plain words
What is it for?
Use them to set and verify the C64 connection, test the server, run files from USB or SD storage, or upload and run a local or remote PRG program.
Why use it?
They prevent connection and file-transfer mistakes when sending programs to the computer or running them remotely.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/mbosschaart/ultimate64mcp/ultimate-mcp-tools
Clone the repo
git clone --depth 1 https://github.com/mbosschaart/Ultimate64MCP

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ultimate-mcp-tools

README.md
[![agentmods](https://agentmods.dev/badge/rules/mbosschaart/ultimate64mcp/ultimate-mcp-tools.svg)](https://agentmods.dev/rules/mbosschaart/ultimate64mcp/ultimate-mcp-tools)
Your own site
<a href="https://agentmods.dev/rules/mbosschaart/ultimate64mcp/ultimate-mcp-tools"><img src="https://agentmods.dev/badge/rules/mbosschaart/ultimate64mcp/ultimate-mcp-tools.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,750 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01750
Opus 5 $0.00000 $0.00875
Sonnet 5 $0.00000 $0.00350
Haiku 4.5 $0.00000 $0.00175

Measured 4d ago against content hash 2794971c902f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ultimate-mcp-tools scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST <mcp-server-url>/upload-prg \
.cursor/rules/ultimate-mcp-tools.mdc · 264 lines

How it starts

The opening of the file, as written. The whole thing — 264 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Commodore 64 Ultimate MCP Server - Tool Guide

This MCP server controls real Commodore 64 hardware via the Ultimate 64/II+ REST API.

Connection Management

Setting Up Connection

Always ensure connection is established before using other tools:

ultimate_set_connection: Set the C64's IP address
  - hostname: "192.168.1.64" (required)
  - port: 80 (optional, default)

ultimate_get_connection: Verify current connection
ultimate_version: Test API connectivity

Running Programs

For files ON the Ultimate device (USB/SD):

ultimate_run_program:
  - file: "/Usb0/Games/game.prg"  # Path on Ultimate filesystem

For files NOT on the device (remote upload):

ultimate_run_prg_binary:
  - prg_data_base64: "AQgLCJ4A..."  # Base64-encoded PRG
  - url: "https://example.com/demo.prg"  # OR download from URL
  - file_path: "/local/path/demo.prg"  # OR local server file (path on the SERVER filesystem)
  
  Use ONE of the above parameters, not multiple.

Direct Upload (Recommended for Local Files)

If you have a PRG file on your local machine and want to run it via the MCP server (bypassing MCP protocol limits or path issues):

curl -X POST <mcp-server-url>/upload-prg \
  -H "Content-Type: application/octet-stream" \
  --data-binary @path/to/demo.prg

PRG File Format

PRG files start with 2-byte load address (little-endian):

  • Byte 0: Low byte of load address
  • Byte 1: High byte of load address
  • Remaining bytes: Program data

Example: 01 08 ... = Load at $0801 (BASIC start)

Playing Music

SID Files (C64 native music)

ultimate_play_sid:
  - file: "/Usb0/Music/Commando.sid"
  - song_number: 1  # Optional, for multi-song SIDs

MOD Files (Amiga tracker music)

ultimate_play_mod:
  - file: "/Usb0/Music/track.mod"

Memory Operations

Reading Memory

ultimate_read_memory:
  - address: "D020"  # Hex address (border color)
  - length: 16       # Bytes to read (max 256)

Writing Memory

ultimate_write_memory:
  - address: "D020"  # Hex address
  - data: "00"       # Hex data (blue border)
  
ultimate_write_memory_binary:
  - address: "C000"  # Hex address
  - file_path: "/path/to/data.bin"

Read the full file on GitHub · 264 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 264 lines · 1,750 tokens per session scan A 2794971c902f

Subscribe to this mod's changes

ultimate-mcp-tools is a cursor rule published in the GitHub repository mbosschaart/Ultimate64MCP (21 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,750 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.