Skip to main content
Glama

decompile_class

Decompile Java class bytecode into human-readable source code using a specified pattern. Analyze and monitor JVM processes to debug and understand application behavior.

Instructions

反编译指定类的源码

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
class_patternYes
method_patternNo
pidYes

Implementation Reference

  • The handler function for the 'decompile_class' tool, decorated with @self.mcp.tool() for registration in the FastMCP server. It is currently a placeholder that returns a 'not implemented' error.
    @self.mcp.tool() def decompile_class(pid: str = "", class_pattern: str = "", method_pattern: Optional[str] = None) -> Dict: """反编译指定类的源码 Args: pid (str): 进程ID,使用字符串形式(如:"12345") class_pattern (str): 类名表达式匹配 method_pattern (Optional[str]): 可选的方法名表达式 Returns: Dict: 包含反编译源码的字典(暂未实现) """ return {"success": False, "error": "未实现/不支持"}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xzq-xu/jvm-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server