
sniperrich/recafmcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP를 사용하여 Recaf4.0를 제어하여 decompile/rename과 같은 방법을 달성하십시오
개요
DataPlus는 수천개의 금속 및 비금속 소재의 부식 데이터, 소재 접합 관련 정보, 소재 치수 및 공차 및 코팅 정보를 제공하는 부가적인 데이터 모듈입니다. 플러그인은 Recaf의 강력한 bytecode 분석 엔진과 함께 Bridge AI Assistants에 듀얼 프로세스 아키텍처를 사용합니다. - — Recaf의 프로세스 내부 실행. CDI (Jakarta)를 통해 Recaf 서비스를 주사하고 Localhost:9847에 HTTP 엔드 포인트로 노출합니다. - - AI 클라이언트가 출시 한 독립 지방 JAR. STDIO JSON-RPC를 통해 AI와 통신하고 HTTP를 통해 Bridge Server에 도구 통화를 전달합니다. 이 분리는 Recaf가 자체 모듈 시스템과 함께 JavaFX 데스크톱 응용 프로그램으로 실행되기 때문에 MCP는 AI 클라이언트가 스팸 및 관리 할 수있는 STDIO 기반 프로세스를 요구합니다. - — Recaf 4.x에 의해 요구되는. JDK 22 이상의 PATH 포인트에 Java를 확인하십시오. - - - 이 플러그인은 스냅 샷에 내장 d07958a5c7.
개요(AI 번역)
DataPlus는 수천개의 금속 및 비금속 소재의 부식 데이터, 소재 접합 관련 정보, 소재 치수 및 공차 및 코팅 정보를 제공하는 부가적인 데이터 모듈입니다.
English한국어
그것이 작동하는 방법
플러그인은 Recaf의 강력한 bytecode 분석 엔진과 함께 Bridge AI Assistants에 듀얼 프로세스 아키텍처를 사용합니다.
- **Recaf Plugin (Bridge Server) ** - Recaf의 프로세스 내부 실행. CDI (Jakarta)를 통해 Recaf 서비스를 주사하고
localhost:9847]에 HTTP 엔드포인트로 노출합니다. - MCP Server - AI 클라이언트가 출시한 독립형 지방 JAR. STDIO JSON-RPC를 통해 AI와 통신하고 HTTP를 통해 Bridge Server에 도구 통화를 전달합니다.
이 분리는 Recaf가 자체 모듈 시스템과 함께 JavaFX 데스크톱 응용 프로그램으로 실행되기 때문에 MCP는 AI 클라이언트가 스팸 및 관리 할 수있는 STDIO 기반 프로세스를 요구합니다.
유효한 MCP 공구 (28)
작업 공간 관리
| 도구 | 설명 | 키 매개 변수 |
|---|---|---|
open_jar |
분석을위한 JAR, APK, 클래스 파일을 여십시오 | [T2]] - 절대 파일 경로. 반환 workspaceId. · |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Recaf MCP Plugin
Enable AI assistants to control Recaf 4.x through the Model Context Protocol (MCP) — decompile, search, analyze, edit bytecode, compile Java, assemble/disassemble JASM, diff classes, patch workspaces, deobfuscate, and export Java bytecode directly from your AI workflow.
How It Works
The plugin uses a dual-process architecture to bridge AI assistants with Recaf’s powerful bytecode analysis engine:
┌─────────────────┐ STDIO / JSON-RPC ┌─────────────────┐ HTTP :9847 ┌─────────────────┐
│ AI Assistant │ ◄──────────────────────► │ MCP Server │ ◄────────────────► │ Recaf Plugin │
│ (Claude Code, │ │ (Standalone JAR) │ │ (Bridge Server) │
│ Cursor, etc.) │ └─────────────────┘ └────────┬────────┘
└─────────────────┘ │
┌────────┴────────┐
│ Recaf 4.x │
│ (Analysis Engine)│
└─────────────────┘
- Recaf Plugin (Bridge Server) — Runs inside Recaf’s process. Injects Recaf services via CDI (Jakarta) and exposes them as HTTP endpoints on
localhost:9847. - MCP Server — A standalone fat JAR launched by the AI client. Communicates with the AI via STDIO JSON-RPC and forwards tool calls to the Bridge Server over HTTP.
This separation is necessary because Recaf runs as a JavaFX desktop application with its own module system, while MCP requires a STDIO-based process that the AI client can spawn and manage.
Available MCP Tools (28)
Workspace Management
| Tool | Description | Key Parameters |
|---|---|---|
open_jar |
Open a JAR, APK, or class file for analysis | path — absolute file path. Returns workspaceId. |
close_workspace |
Close the current or a specific workspace | workspaceId (optional) — close by ID |
switch_workspace |
Switch to a previously opened workspace | workspaceId — ID returned by open_jar |
list_workspaces |
List all registered workspaces | — |
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"recaf": {
"command": "java",
"args": ["-jar", "/absolute/path/to/build/mcp/recaf-mcp-server-1.3.0.jar"]
}
}
}