概要
Recaf is a plugin designed to integrate Recaf 4.x, a powerful Java bytecode analysis and editing application, with AI assistants via the Model Context Protocol (MCP). It employs a dual-process architecture: a Recaf plugin acts as an HTTP bridge server, exposing Recaf's services, while a standalone MCP server communicates with AI clients using STDIO JSON-RPC. This setup allows AI workflows to seamlessly perform complex bytecode operations such as decompilation, search, analysis, editing, compilation, and assembly, enabling advanced automation for tasks typically requiring manual interaction with a decompiler.