MCP server for the BrainFuck programming language
MCP server for the Brainfuck programming language that allows your favourite LLM to debug Brainfuck programs.
Use this command to run the MCP server:
npx brainfaq-mcp
To use it in VS Code, add the following JSON snippet to .vscode/mcp.json (create the file if you don't have it):
{
"servers": {
"brainfaq-mcp": {
"command": "npx",
"args": ["brainfaq-mcp"]
}
}
}The MCP can be added to other IDEs with LLM agents support (e.g. Cursor) in similar ways. Check their documentation and configure them to run npx brainfaq-mcp. It will start the MCP server in stdio mode.
>, <, +, -, ., ,, [, ])Setup:
npm i
Build:
npm run build
Tests:
npm run test
Tests are inspired by the Brainfuck test suite by Daniel Cristofani.
Build first the source code using the command above.
Login to NPM:
npm login
Publish to NPM:
npm publish
All work in this repos is licensed under "Creative Commons Attribution-ShareAlike 4.0 International License".