技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
dmang-dev/mcp-mgba

dmang-dev/mcp-mgba

Control the mGBA Game Boy Advance emul
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add mcp-mgba -- npx -y mcp-mgba
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
3 ★ · dmang-dev/mcp-mgba · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 3 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 dmang-dev/mcp-mgba;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

mcp-mgba

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

An MCP server that exposes the mGBA Game Boy Advance emulator to any MCP-compatible client (Claude Desktop, Claude Code, etc.).
Lets your model **read and write GBA memory, inject button presses, take screenshots, and step the emulator** — all through a clean tool interface.
*Claude driving an in-development homebrew side-scroller through mgba_press_buttons — Start to begin, A to confirm New Game, then Right to walk and A to jump. Each frame is captured via mgba_screenshot.*
How it works
Two pieces:
- **lua/bridge.lua** — runs *inside* mGBA's scripting engine, opens a loopback TCP server on port 8765
- **dist/index.js** — Node.js MCP server, talks to the Lua bridge over TCP, exposes tools over stdio
Requirements
- mGBA **0.10 or newer** (with Lua scripting)
- **Node.js 22+** (for the MCP server)
Install
Option A — install from npm (recommended)
Puts mcp-mgba on your PATH. Verify with mcp-mgba --help (it'll print a startup line and wait for stdio — Ctrl+C to exit).
Option B — npx (no install)
Run on demand. Good for trying it out without committing to a global install.
Option C — clone and develop
Then reference the absolute path to dist/index.js when registering, or npm install -g . to symlink the bin globally.
Set up the mGBA bridge
1. Launch mGBA and load any GBA ROM.
2. Open **Tools > Scripting…**
3. Click **File > Load script** and select lua/bridge.lua from this repo.
You should see in the scripting console:
If you see a bind failed error, the previous instance's socket is still held — quit and relaunch mGBA.
Register with your MCP client
Claude Code (CLI)
(if you used Option B without global install, replace mcp-mgba with node /absolute/path/to/dist/index.js)
Verify:
Claude Desktop
Edit claude_desktop_config.json:
| Platform | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Add (assuming Option A — globally installed):
Or with explicit Node + path (Option B):
Restart Claude Desktop after editing.
Other MCP clients
The server speaks standard MCP over stdio. Run mcp-mgba (or node dist/index.js) and connect any MCP client to its stdio.
Configuration
| Env var | Default | Purpose |
|-------------|---------------|------------------------|
| MGBA_HOST | 127.0.0.1 | Bridge host to dial |
| MGBA_PORT | 8765 | Bridge port to dial |
Tools
| Tool | Description |
|------|-------------|
| mgba_ping | Verify bridge connectivity (returns pong) |
| mgba_get_info | Game title, code, frame count |
| mgba_read8 / mgba_read16 / mgba_read32 | Read memory at an address |
| mgba_write8 / mgba_write16 / mgba_write32 | Write to RAM |
| mgba_read_range | Read up to 4096 bytes as a byte array |
| mgba_write_range | Write up to 4096 bytes from a byte array |
| mgba_press_buttons | Queue a button press (FIFO; consecutive calls produce distinct events) |
| mgba_advance_frames | Step the emulator N frames |
| mgba_pause / mgba_unpause | Pause / resume emulation |
| mgba_reset | Reset the loaded ROM |
| mgba_screenshot | Save a PNG of the current display |
| mgba_save_state / mgba_load_state | Save/load emulator state to a slot or path |
See docs/RECIPES.md for end-to-end examples (RAM hunting, snapshot-experiment-restore, side-scroller automation, etc.).
来源
awesome · https://github.com/dmang-dev/mcp-mgba
按领域浏览
MCP 服务
Traction
3 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引