Brainfaq
JSON →MCP server for the Brainfuck programming language that allows your favourite LLM to debug Brainfuck programs.
Install
npx brainfaq-mcp Tools · 6
- load_code Reset the debugger and load new Brainfuck source code. Supports configurable tape size, min/max cell values, and initial input.
- step Execute a specified number of instructions (default 1) with detailed state output.
- run Run the program until it finishes or waits for input, with optional instruction limit.
- add_input Append characters to the input buffer when the program is waiting for input.
- get_state Get the current interpreter state (memory, pointers, output) with optional windowing.
- read_output Get the complete output string generated so far.