Back to Home
advance-group icon

jar-wise

Verified Safe

by advance-group

Overview

JarWise is a Java code analysis tool providing an MCP server to understand method call hierarchies, dependencies, and REST API endpoints in Java projects.

Installation

Run Command
JAR_WISE_PROJECT_PATH=${pwd} java -jar app/build/libs/app.jar

Environment Variables

  • JAR_WISE_MODE
  • JAR_WISE_PROJECT_PATH
  • JAR_WISE_CACHE_SIZE

Security Notes

The server's primary function is to read and parse Java source code and JAR files. It does not execute arbitrary user-provided code strings. Inputs for tools like `signature` or `query` are used for lookups and pattern matching (with `Pattern.quote` for regex, mitigating injection). The `project-path` or `root-path` configuration can point to any directory, which means sensitive data could be indexed if misconfigured, but this is an intended function. Resource exhaustion (CPU/memory) is possible with extremely large codebases during indexing or complex traversals, though an LRU cache is used for multiple projects. Temporary files are created during Spring Boot JAR extraction but are configured to be deleted on exit.

Similar Servers

Stats

Interest Score38
Security Score8
Cost ClassHigh
Avg Tokens3000
Stars2
Forks0
Last Update2025-12-03

Tags

JavaCode AnalysisMCP ServerSpring BootSymbol Solver