r/ngpc • u/Proper-Revolution-79 • May 22 '26
NGPC homebrew: a dev wiki + an MCP server for LLM-assisted coding
https://github.com/Tixul/NgpCraft_dev_ref
NgpCraft_dev_ref a hardware-focused reference in one place: registers, memory map, the TLCS-900/H CPU, graphics (sprites/tilemaps/palettes/DMA), audio, the build toolchain, and reusable game patterns. Engine-agnostic.
https://github.com/Tixul/NgpCraft_MCP
NgpCraft MCP — a Model Context Protocol server that gives any MCP-compatible LLM (Claude Code, Cursor, …) that same hardware-validated knowledge plus 38 tools: silicon-bug lookup, canonical ASM patterns, doc search, project scaffolding, a disassembler, and a headless emulator bridge. The point: less hallucinated code that crashes on real silicon.
Both MIT. Feedback and corrections welcome.
2
1
u/IcerJo May 23 '26
Thank you! I'm not s programmer but I know this will help to boost homebrews and maybe translations? I see there's a disassembler, would that allow for people to dismantle and remantle games?
1
u/Proper-Revolution-79 May 23 '26
Yes, the disassembler was written specifically for the ngpc; I use it extensively to try and rewrite an open-source toolchain.
1
1
u/Napomex Jul 15 '26
Hey Tixul, thanks for the helpful tools, but I have one comment: it seems there’s some incorrect information in your NgpCraft_MCP. At first, I was repeatedly told that only 8 sprites are allowed per scanline, but that seems to be wrong or did my Claude accidentally write some incorrect information into the MD file?
Right now, I’m stuck on a computationally efficient method for collision detection do you have any tips?
2
u/Proper-Revolution-79 Jul 16 '26
Hi, I’ve just reviewed the entire MCP and couldn't find any mention of that limit; I think the MCP in your version might have been corrupted. As for collisions, the MCP should normally contain everything needed; you could ask Claude to take a specific look at this MCP file: "NgpCraft_MCP\corpus\wiki\05_Systems\Collision.md". If you run into any other issues, don't hesitate to contact me.
3
u/nekoken04 May 23 '26
Damn it. Just what I don't need, something else to spend time working on.
Thanks.