Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Server configuration port for SSE mode | 3001 |
| ROM_PATH | No | Path to the GameBoy ROM file (must be an absolute path for many MCP clients) | ./roms/dangan.gb |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| press_up | Press the UP button on the GameBoy |
| press_down | Press the DOWN button on the GameBoy |
| press_left | Press the LEFT button on the GameBoy |
| press_right | Press the RIGHT button on the GameBoy |
| press_a | Press the A button on the GameBoy |
| press_b | Press the B button on the GameBoy |
| press_start | Press the START button on the GameBoy |
| press_select | Press the SELECT button on the GameBoy |
| wait_frames | Wait for a specified number of frames |
| load_rom | Load a GameBoy ROM file |
| get_screen | Get the current GameBoy screen (advances one frame) |
| is_rom_loaded | Check if a ROM is currently loaded in the emulator |
| list_roms | List all available GameBoy ROM files |