Package com.pnfsoftware.jeb.client.mcp
Class JebMcpServer
java.lang.Object
com.pnfsoftware.jeb.client.mcp.JebMcpServer
Basic skeleton for a MCP server.
Exposes just one tool,
Connector: localhost:8080/mcp
Exposes just one tool,
get_random_secret
.Connector: localhost:8080/mcp
In Claude desktop client, we can connect to this server by adding this server entry:
{ "mcpServers": { "independent-server": { "command": "npx", "args": ["-y", "mcp-remote", "http://localhost:8080/mcp"] } } }
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MCP_SERVER_NAME
- See Also:
-
MCP_SERVER_VERSION
- See Also:
-
TOOL_get_project_information
- See Also:
-
TOOL_list_units
- See Also:
-
TOOL_get_apk_manifest
- See Also:
-
TOOL_get_apk_certificate
- See Also:
-
TOOL_list_apk_resources
- See Also:
-
TOOL_get_apk_resource_by_path
- See Also:
-
TOOL_list_dex_strings
- See Also:
-
TOOL_list_code_strings
- See Also:
-
TOOL_list_dex_classes
- See Also:
-
TOOL_list_code_methods
- See Also:
-
TOOL_decompile_dex_class
- See Also:
-
TOOL_decompile_dex_method
- See Also:
-
TOOL_decompile_code_item
- See Also:
-
TOOL_bulk_rename_dex_items
- See Also:
-
TOOL_rename_dex_item
- See Also:
-
TOOL_rename_dex_items
- See Also:
-
TOOL_rename_code_item
- See Also:
-
TOOL_create_dex_package
- See Also:
-
TOOL_rename_dex_package
- See Also:
-
TOOL_move_dex_class_to_package
- See Also:
-
TOOL_move_dex_package_to_package
- See Also:
-
TOOL_rename_pseudo_code_variable
- See Also:
-
TOOL_rename_pseudo_code_variables
- See Also:
-
TOOL_get_disassembly_snippet
- See Also:
-
TOOL_list_cross_references
- See Also:
-
-
Constructor Details
-
JebMcpServer
- Throws:
Exception
-
-
Method Details
-
getPort
public int getPort() -
getEndpoint
-
serve
public void serve()This method is blocking (does not return).
-