原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Dejared

作者:hqkh4nh版本 1.2.2i★ –i在你的电脑上运行
注册名称io.github.hqkh4nh/dejared

安装

概览

作者提供的说明(英文原文)

Java decompiler MCP server. Explore, search, and decompile JAR, WAR, EAR, and AAR bytecode.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "dejared": {
      "command": "npx",
      "args": [
        "-y",
        "dejared-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add dejared -- npx -y dejared-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "dejared": {
      "command": "npx",
      "args": [
        "-y",
        "dejared-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "dejared": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dejared-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 hqkh4nh 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 5654 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5654 个服务器的 100% 更新
  • 基础检查结果等于或优于此分类中其他 5654 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Dejared 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.2.2)于今天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT2个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

dejared-mcp: Java decompiler MCP server

dejared-mcp is a Java decompiler and JAR analyzer that speaks the Model Context Protocol. It lets an AI coding agent (Claude Code, Codex, Cursor, VS Code) open a .jar, .war, .ear, or .aar, list what is inside, search its bytecode, and decompile any class back to Java source using CFR, Vineflower, or Procyon.

Table of Contents

  • Overview
  • Prerequisites
  • Quick Start
  • Install as a plugin (recommended)
  • Install as an MCP server
  • Features
  • Decompiler Engines
  • Custom Java Path
  • Server Configuration
  • How It Works
  • FAQ and Troubleshooting
  • Contributing
  • Third-Party Licenses
  • License

Overview

dejared-mcp is a Java-based MCP server distributed as an npm package. It provides nine tools organized into three categories: discovery, hunting, and deep analysis. AI assistants use these tools to navigate JAR file structures, search for classes and string literals in bytecode, and decompile .class files back to readable Java source code.

Reach for it whenever a dependency ships without sources: reading what a third-party library actually does, recovering an application.yml or MANIFEST.MF embedded in a JAR, following a stack trace into a library you have no source for, or inspecting an obfuscated plugin or mod. It replaces hand-running jar tf, unzip, javap, or a desktop decompiler.

Any ZIP-based Java archive works: .jar, .war, .ear, .aar, and Spring Boot fat-jars.

The npm package acts as a thin wrapper that downloads and caches the server JAR on first run, then spawns it via java -jar using stdio transport.

Prerequisites

  • Node.js 20 or later
  • Java 17 or later (JRE is sufficient)

Quick Start

The best install is the plugin. One command pair gives your agent both halves: the nine MCP tools, and the `jar-analysis` skill that tells it when to reach for them instead of shelling out to jar tf, unzip, or javap.

claude plugin marketplace add hqkh4nh/dejared-mcp

claude plugin install dejared@dejared-mcp-marketplace

Codex carries the same bundle. See Install as a plugin. Every other client takes the plain MCP config.

Install as a plugin (recommended)

The MCP server on its own gives an agent nine tools. It does not tell the agent *when* to use them, so most agents keep reaching for jar tf, unzip -p, and javap -p out of habit and never touch the tools you installed.

A plugin ships both parts together:

PartWhat it does
MCP serverThe nine tools listed under Features
jar-analysis skillRoutes JAR questions to those tools, picks the cheap tool before the expensive one, and knows which decompiler to retry with

Two tools support that bundle today. Everything else is MCP-only.

Claude Code
claude plugin marketplace add hqkh4nh/dejared-mcp

claude plugin install dejared@dejared-mcp-marketplace

Inside a session, the same commands work as /plugin marketplace add ... and /plugin install .... If the install summary says Run /reload-plugins to activate, run it.

Codex
codex plugin marketplace add hqkh4nh/dejared-mcp

codex plugin add dejared@dejared-mcp-marketplace

Start a new session afterwards so the bundled skill and server load. Check with codex mcp list. dejared should be listed as enabled.

Install as an MCP server

For clients without a plugin system. You get the tools, but not the skill that steers the agent toward them.

Most clients accept this standard config:

{

"mcpServers": { "dejared": { "command": "npx", "args": ["-y", "dejared-mcp"] } } }

From the command line

If your tool has a CLI, one line is enough:

claude mcp add dejared -- npx -y dejared-mcp     # Claude Code

codex mcp add dejared -- npx -y dejared-mcp # Codex amp mcp add dejared -- npx -y dejared-mcp # Amp gemini mcp add dejared npx -y dejared-mcp # Gemini CLI

Where the config file lives

Drop the standard config into the file for your tool:

ToolLocation
Claude Desktop%APPDATA%\Claude\claude_desktop_config.json (Windows) · ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
Claude Code.mcp.json in the project root
Cursor.cursor/mcp.json (project) · ~/.cursor/mcp.json (global)
WindsurfMCP servers panel in settings, or mcpServers in your settings file
ClineMCP settings file, via the extension's MCP Servers panel
Antigravity Editor~/.gemini/antigravity/mcp_config.json
Kiro.kiro/settings/mcp.json
Copilot CLI~/.copilot/mcp-config.json, or run /mcp add
Gemini CLI~/.gemini/settings.json (global) · .gemini/settings.json (project)
GooseAdvanced settings → Extensions → Add custom extension, type STDIO
JetBrains IDEsSettings → Tools → AI Assistant → Model Context Protocol (MCP)
Qodo GenChat panel → Connect more tools → + Add new MCP

A few setups need more than the standard config. Expand those below.

Codex : TOML instead of JSON

codex mcp add dejared -- npx -y dejared-mcp

codex mcp list

The -- matters: everything after it is the server's launch command.

Or edit ~/.codex/config.toml (global) or .codex/config.toml (project):

[mcp_servers.dejared]

command = "npx" args = ["-y", "dejared-mcp"]

Only if Java is not on your PATH

[mcp_servers.dejared.env] DEJARED_JAVA_PATH = "/path/to/java"

VS Code (GitHub Copilot) : uses servers , not mcpServers

Create or edit .vscode/mcp.json:

{

"servers": { "dejared": { "command": "npx", "args": ["-y", "dejared-mcp"] } } }

After saving, click Start above the server entry, then use Agent mode in Copilot Chat.

opencode : command is an array

Edit ~/.config/opencode/opencode.json:

{

"$schema": "https://opencode.ai/config.json", "mcp": { "dejared": { "type": "local", "command": ["npx", "-y", "dejared-mcp"], "enabled": true } } }

Pure Java (no Node.js required)

If you prefer to run the server JAR directly without Node.js:

  1. Download the latest JAR from GitHub Releases.
  1. Run it:
   java -jar dejared-mcp-<version>.jar
  1. Configure your MCP client to use the JAR directly instead of npx:
   {

"mcpServers": { "dejared": { "command": "java", "args": ["-jar", "/path/to/dejared-mcp- .jar"] } } }

Features

Discovery

Browse and read JAR contents.

ToolDescription
dejared_list_packagesList all packages with class counts
dejared_list_classesList classes in a specific package
dejared_list_resourcesList non-class resource files
dejared_read_resourceRead text resources (YAML, XML, properties, JSON, and others)
Hunting

Search inside JAR files.

ToolDescription
dejared_search_classSearch classes by name
dejared_search_stringSearch string literals in bytecode (URLs, SQL, error messages)
Deep Analysis

Inspect metadata and decompile classes.

ToolDescription
dejared_get_metadataExtract class metadata via ASM (fast, no decompilation)
dejared_dump_package_metadataBatch metadata extraction for entire packages
dejared_decompile_classDecompile .class files to Java source code

Decompiler Engines

dejared-mcp supports three decompiler engines. The engine can be specified per request via the dejared_decompile_class tool.

EngineDescription
CFR (default)Reliable general-purpose decompiler
VineflowerModern fork of FernFlower, handles newer Java features well
ProcyonAlternative engine, can handle some edge cases better

Custom Java Path

If Java is not in your system PATH, set the DEJARED_JAVA_PATH environment variable in your MCP config. This applies to all npx-based configurations:

{

"mcpServers": { "dejared": { "command": "npx", "args": ["-y", "dejared-mcp"], "env": { "DEJARED_JAVA_PATH": "/path/to/java" } } } }

Server Configuration

PropertyDefaultDescription
dejared.cache.max-size500Max entries in the decompilation LRU cache
dejared.security.max-resource-size5242880Max resource file size (bytes)
dejared.security.decompile-timeout-seconds30Timeout per decompilation

How It Works

The npm package is a thin Node.js wrapper. On first run it:

  1. Checks the platform cache directory for a cached JAR matching the current version.
  • Linux: $XDG_CACHE_HOME/dejared-mcp (defaults to ~/.cache/dejared-mcp)
  • macOS: ~/Library/Caches/dejared-mcp
  • Windows: %LOCALAPPDATA%\dejared-mcp
  1. Downloads the JAR from GitHub Releases if not cached.
  2. Spawns java -jar with stdio inherited for MCP transport.

The server communicates over stdio using the Model Context Protocol.

FAQ and Troubleshooting

Q: Java is installed but the server cannot find it.

Set the DEJARED_JAVA_PATH environment variable in your MCP configuration. See Custom Java Path.

Q: The server fails to start with a permission error.

Ensure that the cached JAR file is readable. The cache location depends on your platform. See How It Works for the cache directory paths.

Q: Decompilation times out or returns an error.

Some classes are difficult to decompile. Try a different engine by specifying vineflower or procyon in the dejared_decompile_class tool. The default timeout is 30 seconds and can be adjusted via `dejared.security

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx