luadbg-mcp

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

luadbg-mcp is a Model Context Protocol (MCP) debug server for the luapure Lua VM: it lets an LLM agent set breakpoints, step, inspect frames and evaluate expressions in a running Lua program through MCP tool calls. It speaks MCP over stdio (newline-delimited JSON-RPC) with no external dependencies.

luadbg-mcp                       # programs are launched with inline source
luadbg-mcp -source-dir ./scripts # resolve a program id to scripts/<id>[.lua]
luadbg-mcp -sandbox              # run debuggees without io/os/load

An MCP client (e.g. Claude Desktop/Code) spawns the binary and drives it. The debuggee's source need not live with the client: launch a program by id and the server loads it (here from -source-dir; embed the debugmcp package with your own SourceResolver to load from a database). stdout carries the protocol only — diagnostics go to stderr.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL