Ktx Claude Bridge
Connects Claude Code to a running FiveM server, enabling real-time Lua execution, NUI control, console capture, and database queries.
Ktx Claude Bridge revolutionizes FiveM resource debugging by integrating Claude Code directly with your running server and connected clients. It eliminates the cumbersome alt-tabbing and manual command execution usually required for development, allowing an AI model to execute Lua code, control NUI elements via the Chrome DevTools Protocol, read logs, query databases, and even write files. This real-time interaction empowers developers to inspect resource internals through scoped Lua execution and thoroughly debug NUI interfaces, streamlining the entire development workflow.
Key Features
01Execute Lua on server or client, including scoped execution within other resources' VMs.
02Control and debug FiveM NUI (Chrome) frames via Chrome DevTools Protocol (CDP).
03Capture and read server and client console output and log files.
04Perform database queries through oxmysql and manage resource files (read/write).
05Monitor server info, connected players, resource states, and registered commands.
060 GitHub stars
Use Cases
01Inspecting the internal state and local variables of other FiveM resources without modifying their code directly.
02Automating diagnosis of NUI issues, such as unresponsive buttons, form submissions, or UI layout problems.
03Streamlining FiveM resource debugging and development cycles by eliminating manual interaction.