Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

dmang-dev/mcp-ppsspp MCP server](https://glama.ai/mcp/servers/dmang-dev/mcp-ppsspp/badges/score.svg)](https://glama.ai/mcp/servers/dmang-dev/mcp-ppsspp) πŸ“‡ 🏠 🍎 πŸͺŸ 🐧 - Drive PSP games through PPSSPP's built-in WebSocket debugger interface β€” no plugin needed.

README.md

mcp-ppsspp

![npm version](https://www.npmjs.com/package/mcp-ppsspp) ![npm downloads](https://www.npmjs.com/package/mcp-ppsspp) ![CI](https://github.com/dmang-dev/mcp-ppsspp/actions/workflows/ci.yml) ![License: MIT](LICENSE) ![Snyk](https://snyk.io/test/npm/mcp-ppsspp) ![Socket](https://socket.dev/npm/package/mcp-ppsspp) ![Bundlephobia](https://bundlephobia.com/package/mcp-ppsspp) ![npmgraph](https://npmgraph.js.org/?q=mcp-ppsspp)

An MCP server that exposes PPSSPP β€” the PlayStation Portable emulator β€” to any MCP-compatible client (Claude Desktop, Claude Code, etc.) via PPSSPP's built-in WebSocket debugger interface.

Read and write PSP memory, drive games with button input, capture screenshots, set CPU breakpoints, inspect MIPS Allegrex registers β€” all through a clean tool interface. No bridge plugin needed; PPSSPP's debugger is built into the emulator.

How it works

+------------------+    stdio     +------------------+   WebSocket    +------------------+
|   MCP client     |   JSON-RPC   |    mcp-ppsspp    |   JSON-RPC     |     PPSSPP       |
| (Claude / etc.)  | ===========> |     (Node.js)    | =============> |    (debugger)    |
+------------------+              +------------------+                +------------------+

Unlike the mcp-bizhawk / mcp-mgba bridges (which need a Lua plugin loaded into the emulator), PPSSPP ships with its own debugger WebSocket interface β€” we just speak JSON to it. No plugin to install.

The connection uses subprotocol debugger.ppsspp.org on PPSSPP's debugger port.

Requirements

  • PPSSPP (recent version with WebSocket debugger β€” 1.7+)
  • Node.js 22+
  • "Allow remote debugger" enabled in PPSSPP

Install

npm install -g mcp-ppsspp

Or npx -y mcp-ppsspp.

Set up PPSSPP's debugger

  1. Launch PPSSPP, load any PSP ISO/EBOOT
  2. Settings β†’ Tools β†’ Developer Tools β†’ Allow remote debugger (check the box)
  3. PPSSPP will show the active host:port (e.g. ws://192.168.1.10:12345/debugger)
  4. Note the port number β€” you'll set it as an environment variable for the MCP server

Register with your MCP client

Claude Code (CLI)

claude mcp add ppsspp --scope user --env PPSSPP_PORT=12345 mcp-ppsspp

Replace 12345 with your actual port. Verify:

claude mcp list
# ppsspp: mcp-ppsspp - βœ“ Connected

Claude Desktop

Edit claude_desktop_config.json:

{
  "mcpServers": {
    "ppsspp": {
      "command": "mcp-ppsspp",
      "env": { "PPSSPP_PORT": "12345" }
    }
  }
}

Restart Claude Desktop after editing.

Configuration

| Env var | Default | Purpose | |----------------|---------------|--------------------------------------------------| | PPSSPP_HOST | 127.0.0.1 | WebSocket host to dial | | PPSSPP_PORT | (required) | WebSocket port β€” see PPSSPP's debugger settings |

Tools

| Tool | Description | |------|-------------| | ppsspp_ping | Verify connectivity (returns version) | | ppsspp_get_info | Title, disc ID, version, run state | | ppsspp_read8 / ppsspp_read16 / ppsspp_read32 | Read u8 / u16-LE / u32-LE from PSP memory | | ppsspp_write8 / ppsspp_write16 / ppsspp_write32 | Write to PSP memory | | ppsspp_read_range | Read up to 64 KiB as a byte array | | ppsspp_write_range | Write byte array to memory | | ppsspp_read_string | Read null-terminated UTF-8 string | | ppsspp_press_buttons | Set persistent PSP button state | | ppsspp_press_button | Press a button for N frames + auto-release | | ppsspp_send_analog | Set analog stick position | | ppsspp_pause / ppsspp_resume | Pause / resume emulation | | ppsspp_step | Step one MIPS instruction | | ppsspp_reset | Soft-reset the loaded game | | ppsspp_screenshot | Capture framebuffer as inline PNG | | ppsspp_get_registers | Read all MIPS Allegrex registers | | ppsspp_breakpoint_add / _remove / _list | CPU execution breakpoints |

PSP memory map (cheat sheet)

| Range | Region | |--------------------------|---------------------------------| | 0x00010000 - 0x00013FFF | Scratchpad (fast 16 KiB SRAM) | | 0x04000000 - 0x041FFFFF | VRAM (2 MiB GE video memory) | | 0x08000000 - 0x087FFFFF | Kernel RAM (8 MiB, low half) | | 0x08800000 - 0x09FFFFFF | User RAM (24 MiB, where most game state lives) | | 0xBC000000+ | Hardware registers |

PSP is little-endian (MIPS Allegrex). Kernel-mode mirrors at 0x88xxxxxx map to the same physical RAM as 0x08xxxxxx.

PSP buttons

cross, circle, triangle, square, up, down, left, right, start, select, ltrigger, rtrigger, home.

Troubleshooting

| Symptom | Cause / Fix | |---|---| | PPSSPP_PORT must be set on startup | Set the env var to the port shown in PPSSPP's Developer Tools dialog | | WebSocket connection failed | PPSSPP isn't running, "Allow remote debugger" isn't checked, or you have the wrong port | | Tool calls hang / time out | Check the PPSSPP UI is responding; the WebSocket request requires PPSSPP's main loop to dispatch | | Invalid address on memory ops | Address is outside the PSP's mapped regions (user RAM is 0x08800000+, not 0x00000000+) | | Screenshot returns no data | No game loaded β€” boot an ISO/EBOOT first | | Buttons don't seem to do anything | PPSSPP's input has the buttons but they may not "feel" right via remote input if the game polls fast; try ppsspp_press_button with a longer duration |

Limitations

  • No savestate API β€” PPSSPP's WebSocket debugger doesn't expose savestate.save / load. Use PPSSPP's keybinds (F1-F8 for slots) via the UI for now. Could be hacked by using input.buttons.press to trigger the keybind, but not native.
  • Frame-advance is instruction-level only (cpu.stepInto). To advance a whole frame, set a breakpoint at the vblank handler and resume.
  • Analog stick is shared state β€” ppsspp_send_analog updates the persistent stick position; not auto-released.

Development

npm install
npm run dev      # tsc --watch β€” autobuilds on src/ changes

Debugging with the MCP Inspector

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

PPSSPP_PORT=<port> npm run inspector

Build first if you've edited src/ since your last npm install (npm run build, or keep npm run dev running). mcp-ppsspp has no default port β€” read the active one off PPSSPP's Developer Tools β†’ Allow remote debugger dialog and pass it as PPSSPP_PORT. tools/list works even without PPSSPP connected; calling a tool needs PPSSPP running with the remote debugger enabled.

License

MIT

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Vector & Memory servers.