I Built an MCP Server That Lets AI Agents Debug Running Ruby Processes
girb-mcp is an MCP server that gives LLM agents access to running Ruby processes. rira100000000 / girb-mcp girb-mcp 日本語版 (Japanese) MCP (Model Context Protocol) server that gives LLM agents access to the runtime context of executing Ruby processes. LLM agents can connect to a paused Ruby process, inspect variables, evaluate code, set breakpoints, and control execution — all through MCP tool calls. What it does Existing Ruby/Rails MCP servers only provide static analysis or application-level APIs. girb-mcp goes further: it connects to running Ruby processes via the debug gem and exposes their runtime state to LLM agents. Agent → connect(host: "localhost", port: 12345) Agent → get_context() → local variables, instance variables, call stack Agent → evaluate_code(code: "user.valid?") → false Agent → evaluate_code(code: "user.errors.full_messages") → ["Email can't be blank"] Agent → continue_execution() Installation gem "girb-mcp" Or install directly: gem install girb-mcp Requires Ruby >= 3
Continue reading on Dev.to
Opens in a new tab



