Logo RecafMCP

RecafMCP

Cộng đồng
sniperrich

Use MCP to control Recaf4.0 to achieve methods like decompile/rename

Nhà phát hànhsniperrich
Kho mãRecafMCP
Ngôn ngữJava
Bản fork
8
Sao
40
Công cụ có sẵn
0
Phương thức truyền tảistdio
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    RecafMCP cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    40 sao và 8 bản fork từ kho mã được liên kết.

Recaf MCP Plugin

Version License: MIT JDK 22+ MCP Protocol Tools

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

ToolDescriptionKey Parameters
open_jarOpen a JAR, APK, or class file for analysispath — absolute file path. Returns workspaceId.
close_workspaceClose the current or a specific workspaceworkspaceId (optional) — close by ID
switch_workspaceSwitch to a previously opened workspaceworkspaceId — ID returned by open_jar
list_workspacesList all registered workspaces—
list_classesList classes with offset/limit paginationfilter, offset, limit
get_class_infoGet class details: fields, methods, interfacesclassName
class_outlineLightweight class structure (no code, fast)className
read_fileRead a non-class file (e.g. MANIFEST.MF, configs)path, maxChars
class_deleteDelete a class from the workspaceclassName

Analysis

ToolDescriptionKey Parameters
decompile_classDecompile a class to Java source codeclassName
search_codeSearch strings, references, or declarationsquery, type, maxResults
get_call_graphGet method call graph (callers and callees)className, methodName, depth
get_inheritanceGet inheritance hierarchy (parents/children)className, direction
diff_classesCompare two classes or class vs. source codeclassName1, className2 or source
method_bytecodeView method bytecode instructions (opcodes, operands, try-catch, locals)className, methodName, methodDesc

Compilation & Assembly

ToolDescriptionKey Parameters
compile_javaCompile Java source and apply to workspaceclassName, source, targetVersion, debug
disassemble_classDisassemble a class into JASM textclassName, maxChars
assemble_classAssemble JASM source and apply to workspaceclassName, source
method_disassembleDisassemble a single method into JASM textclassName, methodName, methodDesc, maxChars

Modification

ToolDescriptionKey Parameters
rename_symbolRename class/field/method (updates all refs)type, oldName, newName, className
batch_renameBatch rename classes/fields/methods in one atomic operationmappings — array of {type, oldName, newName, className?, descriptor?}
edit_bytecodeAdd/remove/modify methods and fieldsclassName, operation, + operation-specific params
patchCreate or apply workspace change patchesaction (create/apply), patchJson

Export

ToolDescriptionKey Parameters
export_mappingsExport rename mappings to a fileformat, outputPath
export_jarExport workspace as a JAR fileoutputPath
export_sourceExport decompiled source to a directoryoutputDir, className (optional)

Deobfuscation

ToolDescriptionKey Parameters
eval_methodExecute a static method in a sandboxed ClassLoader (e.g. string decryption)className, methodName, methodDesc, arguments (optional), timeout (optional)
simplify_methodMulti-pass bytecode simplification: constant folding, dead branch elimination, goto chain combining, NOP cleanup, unreachable code removalclassName, methodName, methodDesc, passes (optional)

MCP Resources

URIDescription
recaf://workspaceCurrent workspace information (JSON)
recaf://classesFull class list of the current workspace (JSON)

Prerequisites

  • JDK 22+ — Required by Recaf 4.x. Make sure java on your PATH points to JDK 22 or higher.
  • Recaf 4.x — This plugin is built against snapshot d07958a5c7. The build system will download it automatically.

Build

bash
git clone https://github.com/your-repo/recaf-mcp-plugin.git
cd recaf-mcp-plugin
./gradlew build

This produces two JARs:

FilePurpose
build/libs/recaf-mcp-plugin-1.3.0.jarRecaf plugin (loads inside Recaf, runs the Bridge Server)
build/mcp/recaf-mcp-server-1.3.0.jarMCP Server (standalone fat JAR, launched by AI client)

Setup & Usage

Step 1: Start Recaf with the Plugin

Option A: Run directly from the project (recommended for development)

bash
./gradlew runRecaf

This builds the plugin and launches Recaf with it auto-loaded.

Option B: Manual installation

Copy build/libs/recaf-mcp-plugin-1.3.0.jar to Recaf's plugin directory:

OSPlugin Directory
macOS / Linux~/Recaf/plugins/
Windows%APPDATA%/Recaf/plugins/

Then start Recaf normally.

Verify: Look for this in Recaf's Logging panel:

========================================
  Recaf MCP Plugin enabled
  Bridge Server running on port 9847
========================================

Step 2: Configure Your AI Client

Claude Code

Add to ~/.claude.json:

json
{
  "mcpServers": {
    "recaf": {
      "command": "java",
      "args": ["-jar", "/absolute/path/to/build/mcp/recaf-mcp-server-1.3.0.jar"]
    }
  }
}

Then restart Claude Code. The recaf tools will appear in your tool list.

Cursor

Add to your MCP configuration (Settings → MCP):

json
{
  "mcpServers": {
    "recaf": {
      "command": "java",
      "args": ["-jar", "/absolute/path/to/build/mcp/recaf-mcp-server-1.3.0.jar"]
    }
  }
}

Other MCP-Compatible Clients

Any client that supports the MCP protocol can use this plugin. Configure it to spawn the MCP Server JAR via java -jar over STDIO.

Step 3: Start Using

Once both Recaf and your AI client are running, you can interact naturally:

Open /path/to/target.jar and list all classes
Decompile the com/example/Main class
Search for all strings containing "password"
Show me the call graph for com/example/Main
Rename com/example/a to com/example/LoginManager
Compare com/example/A with com/example/B
Remove the method "unused" from com/example/Foo
Show me the bytecode instructions for com/example/Main.main
Disassemble com/example/Crypto into JASM
Compile this modified Java source back into the workspace
Read the META-INF/MANIFEST.MF file
Create a patch of all my changes
Export the modified JAR to /tmp/output.jar

Example Workflows

Reverse Engineering an Obfuscated JAR

1. "Open /path/to/obfuscated.jar"
2. "List all classes" — get an overview of the package structure
3. "Decompile com/a/b/c" — read the decompiled source
4. "Search for strings containing 'http'" — find network endpoints
5. "Get the call graph for com/a/b/c method d" — understand control flow
6. "Rename com/a/b/c to com/app/NetworkManager" — give it a meaningful name
7. "Export mappings as TinyV1 to ./mappings.tiny" — save your work
8. "Export the modified JAR to ./cleaned.jar" — save the result

Multi-JAR Comparison

1. "Open /path/to/v1.jar" — opens first JAR, returns workspaceId
2. "Open /path/to/v2.jar" — opens second JAR, returns workspaceId
3. "List workspaces" — see both workspaces
4. "Switch to workspace v1-1" — switch to first JAR
5. "Decompile com/example/Main" — get v1 source
6. "Switch to workspace v2-2" — switch to second JAR
7. "Diff com/example/Main against the v1 source" — compare versions

Bytecode Editing

1. "Open /path/to/target.jar"
2. "Remove the method 'checkLicense' from com/app/Main"
3. "Add a public field 'debug' of type boolean to com/app/Config"
4. "Export the modified JAR to /tmp/patched.jar"

Compile & Assemble Round-Trip

1. "Open /path/to/target.jar"
2. "Decompile com/app/Main" — get the Java source
3. (modify the source) → "Compile this Java source for com.app.Main" — compile & apply
4. "Decompile com/app/Main" — verify the changes took effect
5. "Disassemble com/app/Crypto" — get JASM assembly text
6. "Show me the bytecode for com/app/Crypto.encrypt" — inspect method instructions
7. "Create a patch" — save all modifications as JSON
8. "Export the modified JAR to /tmp/patched.jar"

Deobfuscation Workflow

1. "Open /path/to/obfuscated.jar"
2. "Decompile com/a/b/c" — find encrypted strings and decryption method signatures
3. "eval_method com/a/b/Decryptor decrypt (Ljava/lang/String;)Ljava/lang/String; with args [{type:'string', value:'encrypted_data'}]"
   — call the decryption function directly, get plaintext result
4. "simplify_method com/a/b/c main (Ljava/lang/String;)V" — remove opaque predicates and dead branches
5. "Decompile com/a/b/c" — verify the simplified code is cleaner
6. "Batch rename the deobfuscated symbols"
7. "Export the cleaned JAR to /tmp/deobfuscated.jar"

Project Structure

src/main/java/dev/recaf/mcp/
├── RecafMcpPlugin.java                  # Plugin entry point — CDI injection of 14 Recaf services
├── bridge/
│   ├── BridgeServer.java                # HTTP server on :9847 — routes requests to handlers
│   ├── WorkspaceRegistry.java           # Multi-workspace registry — ID → Workspace mapping
│   └── handlers/
│       ├── WorkspaceHandler.java        # /workspace/* — open, close, switch, list, classes, info, outline, read-file, delete-class
│       ├── DecompileHandler.java        # /decompile — decompile class to Java source
│       ├── SearchHandler.java           # /search — string, class, method, field, declaration search
│       ├── AnalysisHandler.java         # /analysis/* — call graph & inheritance hierarchy
│       ├── MappingHandler.java          # /mapping/* — rename symbols & export mappings
│       ├── BytecodeHandler.java         # /bytecode/* — edit/add/remove methods & fields, method bytecode instructions
│       ├── DiffHandler.java             # /diff — compare two classes (unified diff)
│       ├── ExportHandler.java           # /export/* — export JAR & decompiled source
│       ├── CompileHandler.java          # /compile — compile Java source & apply to workspace
│       ├── AssemblerHandler.java        # /disassemble, /assemble — JASM disassembly & assembly
│       └── PatchHandler.java            # /patch — create & apply workspace patches
│       └── DeobfuscationHandler.java    # /deobf/* — eval method (string decryption) & bytecode simplification
├── server/
│   ├── RecafMcpServer.java              # MCP Server — STDIO JSON-RPC, 28 tools dispatch
│   └── BridgeClient.java               # HTTP client — forwards MCP tool calls to Bridge Server
└── util/
    ├── JsonUtil.java                    # JSON response helpers
    ├── ErrorMapper.java                 # Structured error codes, messages & suggestions
    └── DiffUtil.java                    # LCS-based unified diff algorithm

Bridge HTTP API Reference

All endpoints accept POST with JSON body and return JSON responses.

EndpointDescription
GET /healthHealth check — returns {"status":"ok"}
POST /workspace/openOpen a file: {"path": "/path/to/file.jar"} → returns workspaceId
POST /workspace/closeClose workspace: {"workspaceId": "optional"}
GET /workspace/infoGet workspace info
POST /workspace/classesList classes: {"filter": "opt", "offset": 0, "limit": 500}
POST /workspace/class-infoClass details: {"className": "com/example/Main"}
POST /workspace/switchSwitch workspace: {"workspaceId": "xxx"}
GET /workspace/list-workspacesList all registered workspaces
POST /decompileDecompile: {"className": "com/example/Main"}
POST /searchSearch: {"query": "text", "type": "string", "maxResults": 100}
POST /analysis/call-graphCall graph: {"className": "...", "methodName": "...", "depth": 3}
POST /analysis/inheritanceInheritance: {"className": "...", "direction": "both"}
POST /mapping/renameRename: {"type": "class", "oldName": "...", "newName": "..."}
POST /mapping/batch-renameBatch rename: {"mappings": [{"type": "class", "oldName": "...", "newName": "..."}, ...]}
POST /mapping/exportExport mappings: {"format": "TinyV1", "outputPath": "/path"}
POST /bytecode/edit-methodEdit method: {"className": "...", "methodName": "...", "methodDesc": "...", "accessFlags": 1}
POST /bytecode/edit-fieldEdit field: {"className": "...", "fieldName": "...", "accessFlags": 2}
POST /bytecode/remove-memberRemove member: {"className": "...", "memberName": "...", "memberType": "method"}
POST /bytecode/add-fieldAdd field: {"className": "...", "fieldName": "...", "descriptor": "I"}
POST /bytecode/add-methodAdd method: {"className": "...", "methodName": "...", "methodDesc": "()V"}
POST /diffDiff classes: {"className1": "A", "className2": "B"} or {"className1": "A", "source": "..."}
POST /export/jarExport JAR: {"outputPath": "/path/to/output.jar"}
POST /export/sourceExport source: {"outputDir": "/path/to/src", "className": "optional"}
POST /workspace/outlineClass outline: {"className": "com/example/Main"} — lightweight structure, no code
POST /workspace/read-fileRead file: {"path": "META-INF/MANIFEST.MF", "maxChars": 60000}
POST /workspace/delete-classDelete class: {"className": "com/example/Main"}
POST /bytecode/instructionsMethod bytecode: {"className": "...", "methodName": "...", "methodDesc": "..."}
POST /compileCompile Java: {"className": "com.example.Main", "source": "...", "targetVersion": 17, "debug": true}
POST /disassembleDisassemble class: {"className": "com/example/Main", "maxChars": 120000}
POST /disassemble/methodDisassemble method: {"className": "...", "methodName": "...", "methodDesc": "...", "maxChars": 120000}
POST /assembleAssemble JASM: {"className": "com/example/Main", "source": "..."}
POST /patchPatch: {"action": "create"} or {"action": "apply", "patchJson": "..."}
POST /deobf/eval-methodEval method: {"className": "...", "methodName": "...", "methodDesc": "...", "arguments": [...], "timeout": 5000}
POST /deobf/simplify-methodSimplify method: {"className": "...", "methodName": "...", "methodDesc": "...", "passes": 3}

Technical Details

ItemValue
MCP Protocol Version2024-11-05
Bridge Port9847 (hardcoded)
MCP Server DependenciesGson only (no MCP SDK — lightweight custom JSON-RPC implementation)
Decompile Timeout30 seconds
Default Max Search Results100
Default Class List Limit500 (with offset pagination)
Java ToolchainJDK 22+
Build SystemGradle with Shadow plugin for fat JAR
Total MCP Tools28

Troubleshooting

"Connection refused" errors from MCP Server

  • Make sure Recaf is running and the Bridge Server is active on port 9847.
  • Check Recaf's Logging panel for the startup banner.

MCP tools not appearing in AI client

  • Verify the path to recaf-mcp-server-1.3.0.jar is correct and absolute.
  • Make sure java points to JDK 22+: run java -version to check.
  • Restart your AI client after updating the MCP configuration.

Decompilation returns empty or errors

  • Ensure a workspace is open (use open_jar first).
  • Check the class name format: use / separators (e.g. com/example/Main), not . separators.

Structured error responses

  • All errors now include code, message, and suggestion fields.
  • Common codes: NO_WORKSPACE, CLASS_NOT_FOUND, MEMBER_NOT_FOUND, INVALID_PARAMS, DECOMPILE_TIMEOUT, COMPILE_FAILED, ASSEMBLER_FAILED, PATCH_FAILED, EVAL_FAILED, EVAL_TIMEOUT, SIMPLIFY_FAILED.

Build fails

  • Ensure JDK 22+ is installed. Run ./gradlew -q javaToolchains to see detected JDKs.
  • If using a non-default JDK, configure a Gradle toolchain.

Changelog

v1.3.0

  • String decryption — eval_method executes static methods in a sandboxed ClassLoader, enabling direct invocation of obfuscator string decryption functions to recover plaintext
  • Bytecode simplification — simplify_method performs multi-pass bytecode transforms: constant folding, dead branch elimination, goto chain combining, NOP cleanup, and unreachable code removal
  • New error codes — EVAL_FAILED, EVAL_TIMEOUT, SIMPLIFY_FAILED
  • Deobfuscation handler — new DeobfuscationHandler with sandboxed WorkspaceClassLoader (parent = PlatformClassLoader for isolation)
  • COMPUTE_FRAMES fallback — simplify_method falls back to COMPUTE_MAXS if COMPUTE_FRAMES fails on malformed bytecode
  • Tool count: 26 → 28

v1.2.0

  • Batch rename — batch_rename applies multiple class/field/method renames in a single atomic operation, ideal for deobfuscation workflows
  • Java compilation — compile_java compiles Java source code via Recaf's JavacCompiler and applies the result to the workspace
  • JASM assembly/disassembly — disassemble_class and assemble_class for full class JASM round-trip; method_disassemble for single method disassembly
  • Method bytecode viewer — method_bytecode shows detailed bytecode instructions (opcodes, operands, try-catch blocks, local variables) via ASM tree API
  • Class outline — class_outline provides lightweight class structure (fields, methods, access flags) without decompiling code
  • File reader — read_file reads non-class files from the workspace (e.g. MANIFEST.MF, config files, resources)
  • Class deletion — class_delete removes a class from the workspace
  • Patch system — patch tool creates and applies workspace change patches (serializable JSON format)
  • New error codes — COMPILE_FAILED, COMPILER_UNAVAILABLE, PATCH_FAILED
  • 4 new Recaf service injections — AssemblerPipelineManager, JavacCompiler, PatchProvider, PatchApplier
  • Tool count: 16 → 26

v1.1.0

  • Multi-workspace support — open multiple JARs simultaneously, switch between them with switch_workspace and list_workspaces
  • Bytecode editing — edit_bytecode tool with 5 operations: edit_method, edit_field, remove_member, add_field, add_method (ASM-based)
  • Class diff — diff_classes tool produces unified diff between two decompiled classes or class vs. provided source
  • Export — export_jar exports the workspace (with modifications) as a JAR; export_source exports decompiled source to a directory
  • Pagination — list_classes now supports offset/limit with totalMatched/hasMore metadata
  • Structured errors — all errors return code, message, and suggestion fields (e.g. NO_WORKSPACE, CLASS_NOT_FOUND)
  • Error detection — MCP Server now sets isError: true on error responses for better AI client handling
  • Tool count: 10 → 16

v1.0.0

  • Initial release with 10 MCP tools: open_jar, close_workspace, list_classes, get_class_info, decompile_class, search_code, get_call_graph, get_inheritance, rename_symbol, export_mappings

License

MIT

Dùng MCP RecafMCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối RecafMCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm RecafMCP làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của RecafMCP.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "recafmcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của RecafMCP, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của RecafMCP.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng RecafMCP giúp tôi làm việc này không?
RecafMCP
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng RecafMCP.

Câu hỏi thường gặp

Máy chủ MCP RecafMCP dùng để làm gì?

RecafMCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP RecafMCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng RecafMCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP RecafMCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối RecafMCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP RecafMCP với TypingMind?

RecafMCP hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP RecafMCP cung cấp những công cụ nào trong TypingMind?

RecafMCP cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP RecafMCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu RecafMCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇