mGBA MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mgba_runA | Run a GB/GBC/GBA ROM for a specified number of frames and capture a screenshot |
| mgba_read_memoryC | Read memory at specified addresses after running for some frames |
| mgba_read_rangeC | Read a contiguous range of memory addresses |
| mgba_dump_oamB | Dump OAM (Object Attribute Memory) sprite data - shows all 40 sprites with position, tile, flags, and palette |
| mgba_dump_entitiesC | Dump entity/actor data from WRAM - useful for analyzing game objects |
| mgba_run_luaA | Run a custom Lua script in the emulator. The script can use emu:read8(), emu:write8(), emu:screenshot(), callbacks:add(), etc. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/struktured-labs/mgba-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server