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".
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y brainfaq-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-labarilem-brainfaq-mcp": {
"command": "npx",
"args": [
"-y",
"brainfaq-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencebrainfaq-mcpnpmio.github.labarilem/brainfaq-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.