jar.tools
Decompile Java .class and .jar files to source. Free, no sign-in.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin get_upload_url
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"mcp": {
"url": "https://jar.tools/mcp"
}
}
}Remote-Endpunkte
https://jar.tools/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (4)
🟡get_upload_url
Returns an upload_id and a one-day upload link for a .jar, .war or .class file, plus the exact curl command that uploads it. Run the command and wait for its {"ok":true} reply before calling list_classes or decompile_class.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_classes(upload_id, filter, offset)
Lists the .class entries in an uploaded .jar/.war. Use filter to search by package or class name.
Eingabe-Schema
{
"type": "object",
"properties": {
"upload_id": {
"type": "string",
"description": "upload_id of an uploaded file"
},
"filter": {
"description": "Only entries containing this text, e.g. a package name",
"type": "string"
},
"offset": {
"description": "Skip this many entries (paging)",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"upload_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢decompile_class(upload_id, class_path, class_base64, file_name)
Decompiles one class to Java source. Give upload_id (+ class_path for a class inside a JAR), or class_base64 for a small .class file.
Eingabe-Schema
{
"type": "object",
"properties": {
"upload_id": {
"description": "upload_id of an uploaded file",
"type": "string"
},
"class_path": {
"description": "Class inside the JAR, e.g. com/example/Main.class or com.example.Main",
"type": "string"
},
"class_base64": {
"description": "A .class file, base64-encoded (instead of upload_id)",
"type": "string"
},
"file_name": {
"description": "Name for class_base64, e.g. Main.class",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢account_status
Shows the plan this connection is on and how many class decompiles are left this hour.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Nachweis