dmang-dev/mcp-dolphin

๐ŸŽฎ Gaming
0 Views
0 Installs

๐Ÿ“‡ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - Drive the Dolphin GameCube/Wii emulator from any MCP client: read/write PowerPC memory (MEM1/MEM2), GameCube + Wii Remote input (buttons, IR pointer, accelerometer, MotionPlus), reset, save/load state, and frame advance. Python bridge inside Felk's scripting fork + Node MCP server.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "dmang-dev-mcp-dolphin": {
      "command": "npx",
      "args": [
        "-y",
        "dmang-dev-mcp-dolphin"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

mcp-dolphin

npm version npm downloads CI License: MIT Snyk Socket Bundlephobia npmgraph

An MCP server for Dolphin (GameCube + Wii) โ€” drives memory r/w, controller input (GameCube + Wii Remote), pause/resume/reset, savestates, and frame advance from MCP-compatible clients (Claude Desktop, Claude Code, etc.).

What you can do with it

  • Read & write emulated PowerPC memory โ€” 8/16/32/64-bit, MEM1 + MEM2
  • Send controller input โ€” GameCube (digital + analog sticks + triggers), Wii Remote (buttons + IR pointer + accelerometer + MotionPlus angular velocity)
  • Reset the emulator (pause/resume not in v0.1.0 โ€” see Known limitations)
  • Save / load state to numbered slots (0-255; 1-10 map to F1-F10 in Dolphin)
  • Frame advance โ€” wait N frames synchronously for TAS-style precision

Not yet wired in v0.1.0 (deferred to a later release):

  • Wii Remote motion (pointer, accelerometer, swing, shake, tilt)
  • Nunchuk / Classic Controller / GBA-via-Wii input
  • Memory breakpoints, register access, screenshots

Architecture (and the hard prerequisite)

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Dolphin (Felk's fork โ€” required, not mainline)  โ”‚
โ”‚                                                 โ”‚
โ”‚   mcp_bridge.py loaded via Scripting panel      โ”‚
โ”‚   โ””โ”€ TCP server on 127.0.0.1:55355              โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                  โ†• TCP loopback (newline-delimited JSON)
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ mcp-dolphin (Node.js โ€” this package)            โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                  โ†• MCP stdio
              MCP client (Claude etc.)

Mainline Dolphin does not have Python scripting. mcp-dolphin talks to Felk's actively-maintained Dolphin fork which embeds Python with first-class access to memory, controllers, savestates, and the frame loop. Mainline Dolphin Python PRs (#7064) have been stuck since 2022; the Lua forks (dolphinWatch, SwareJonge/Dolphin-Lua-Core) are dead. Felk is the only living scripting path.

One-time setup

1. Install Felk's Dolphin fork

Grab a build from Felk/dolphin Releases โ€” currently Python Scripting Preview 4 (December 2025). Unzip it somewhere you can find. It's a regular Dolphin build plus a Scripting panel under the View menu.

If you see Python errors when loading the bridge, enable the Scripting log type: View โ†’ Show Log Configuration โ†’ check Scripting (set verbosity to "Info" or "Error"), then View โ†’ Show Log so the log window is visible.

2. Print the bridge script and load it

npx -y mcp-dolphin --print-bridge > mcp_bridge.py

Then in Felk's Dolphin:

  1. View โ†’ Scripting to open the scripting panel.
  2. Click Add New Script and pick the mcp_bridge.py you just wrote.
  3. Verify in Dolphin's Log window โ€” you should see [mcp-bridge] listening on 127.0.0.1:55355 (bridge v0.1.0).

The script keeps running as long as Dolphin is open. Remove it from the Scripting panel to stop the bridge.

3. Register mcp-dolphin in your MCP client

Claude Code:

claude mcp add dolphin --scope user mcp-dolphin

Claude Desktop โ€” edit claude_desktop_config.json:

{
  "mcpServers": {
    "dolphin": {
      "command": "npx",
      "args": ["-y", "mcp-dolphin"]
    }
  }
}

Restart your MCP client after editing.

4. Verify

Load a GameCube or Wii game in Dolphin, then ask the agent to call dolphin_ping. You should see OK โ€” bridge v0.1.0 (Felk Python fork).

Tools

ToolDescription
dolphin_pingLiveness probe + bridge-version sniff
dolphin_get_infoReport bridge version and Dolphin label
dolphin_read8/16/32/64Read PowerPC memory (big-endian)
dolphin_read_rangeBulk read up to 64 KiB as hex dump
dolphin_write8/16/32/64Write PowerPC memory
dolphin_press_gc_buttonsSet GameCube controller state (port + button/axis dict)
dolphin_press_wiimote_buttonsSet Wii Remote button state
dolphin_set_wiimote_pointerSet Wii Remote IR pointer position (port + x + y)
dolphin_set_wiimote_accelerationSet Wii Remote accelerometer (port + x + y + z, ~g units)
dolphin_set_wiimote_angular_velocitySet Wii MotionPlus angular velocity (port + x + y + z, rad/s)
dolphin_resetEmulation soft-reset (pause/resume deferred to v0.2 โ€” see Known limitations)
dolphin_frame_advanceWait N frames (TAS sequencing)
dolphin_save_state / dolphin_load_stateSlot-based savestate (0-255)

GameCube + Wii address space (cheat sheet)

RangeRegion
0x80000000-0x817FFFFFMEM1 main RAM (24 MiB) โ€” GC + Wii
0x80000020OS_GLOBALS โ€” disc ID, FST pointer, etc.
0x90000000-0x93FFFFFFMEM2 (64 MiB) โ€” Wii only
0xCC000000+Flipper / Hollywood I/O โ€” reads usually safe, writes can wedge
0xCD000000+Wii-only Hollywood registers

PowerPC is big-endian on hardware. The bridge handles byte-swap on read/write โ€” pass and receive the value the game logically sees, not the byte order.

Controller input

GameCube (dolphin_press_gc_buttons)

{
  "port": 0,
  "state": {
    "A": true, "B": false, "Start": true,
    "StickX": 200, "StickY": 128,
    "TriggerLeft": 0, "TriggerRight": 255
  }
}
  • Digital buttons: A, B, X, Y, Z, Start, L, R, Up, Down, Left, Right
  • Analog axes: StickX, StickY, CStickX, CStickY (0-255, 128 = center)
  • Triggers: TriggerLeft, TriggerRight (0-255, 0 = released)
  • Omitted keys default to released / center.

Wii Remote (dolphin_press_wiimote_buttons)

{ "port": 0, "state": { "A": true, "Plus": true, "Up": true } }
  • Buttons: A, B, One, Two, Plus, Minus, Home, Up, Down, Left, Right
  • v0.1.0 covers buttons only โ€” motion, pointer, Nunchuk, Classic Controller deferred to a future release.

Configuration

Env varDefaultPurpose
DOLPHIN_BRIDGE_HOST127.0.0.1Bridge host (the Dolphin process is local, so this rarely changes)
DOLPHIN_BRIDGE_PORT55355Bridge port (must match LISTEN_PORT in mcp_bridge.py)
DOLPHIN_TIMEOUT_MS10000Per-call timeout
MCP_DOLPHIN_DEBUGunsetSet to 1 to trace every TX message on stderr

If you change the port, edit both mcp_bridge.py (in your scripts dir) and set DOLPHIN_BRIDGE_PORT.

Troubleshooting

SymptomCause / Fix
Dolphin bridge not reachableDolphin not running, script not loaded in Scripting panel, or wrong port. Check Dolphin's Log window for [mcp-bridge] listening on ....
unknown method: <something> from bridgeBridge script is older than mcp-dolphin. Re-export with npx mcp-dolphin --print-bridge > mcp_bridge.py and reload in Dolphin.
Memory reads return 0xFFFFFFFF or errorAddress is unmapped on the current title. MEM2 (0x90000000+) is Wii-only; reading it on a GameCube game returns garbage.
Controller input has no effectGame expects input on a different port. Try port: 0 first, then 1-3. For Wii games requiring motion, this v0.1.0 doesn't cover Wii Remote pointer/accel yet.
Tool calls hang ~10 s then time outBridge script crashed inside Dolphin. Open Felk's Scripting panel, remove the script, re-add it.

Debugging with the MCP Inspector

Browse and call this server's tools interactively with the MCP Inspector:

npm run inspector

Build first if you've edited src/ since your last npm install (npm run build, or keep npm run dev running). Override the bridge address with DOLPHIN_BRIDGE_HOST / DOLPHIN_BRIDGE_PORT (default 127.0.0.1:55355). tools/list works even without Dolphin connected; calling a tool needs Felk's Dolphin running bridge/mcp_bridge.py.

License

MIT โ€” see LICENSE.

Related MCP Servers

3aKHP/prts-mcp

๐Ÿ ๐Ÿ“‡ โ˜๏ธ ๐Ÿ  - MCP Server for Arknights, querying the PRTS Wiki API and serving auto-synced operator archives and voice lines from game data. Designed for fan-creation (ๅŒไบบๅ‰ตไฝœ) AI agents. Python (stdio/Docker) and TypeScript (Streamable HTTP) implementations.

๐ŸŽฎ Gaming0 views
alex-gon/thegamecrafter-mcp-server

๐Ÿ“‡ โ˜๏ธ - Design, manage, and price tabletop games on The Game Crafter. Browse catalogs, create projects, upload artwork, get pricing.

๐ŸŽฎ Gaming0 views
antics-gg/antics-mcp

๐Ÿ“‡ โ˜๏ธ - Deploy a single-file HTML game to a shareable multiplayer URL with rooms, state sync, and leaderboards. No backend or player accounts.

๐ŸŽฎ Gaming0 views
beckettlab/beckett-godot-mcp

๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - Beckett โ€” MCP for Godot: a zero-sidecar GDScript editor addon that serves MCP over Streamable HTTP from inside the Godot 4 editor (no Node/Python sidecar). Reflection over any class, validate-before-write GDScript, scene/script/resource authoring, and a runtime play-test loop (play, screenshot, input, assert). MIT.

๐ŸŽฎ Gaming0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

Last checked: 7/28/2026, 10:17:00 PM

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.