Skip to main content
Glama
Aorls

java-class-analyzer-mcp

by Aorls

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAVEN_REPONoPath to Maven local repository (default: ${HOME}/.m2/repository)
CFR_JAR_PATHNoPath to CFR decompiler JAR (default: cfr.jar)
GROUP_ID_MAPPINGSNoJSON array of groupId mappings, e.g., [{"groupId":"com/mycompany","prefix":"com.mycompany."}]

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
java_class_indexerA

构建Java项目依赖类的索引。扫描Maven依赖的所有JAR包,建立类名到JAR包的映射关系。

java_class_analyzerA

分析和反编译指定的Java类。根据类的全限定名查找对应的JAR包并进行反编译,返回源代码。

java_class_searchA

搜索Java类。根据关键词模糊搜索已索引的类名,返回匹配的类列表。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct role: one builds the index, one searches it, and one decompiles a specific class. There is no functional overlap or ambiguity between them.

Naming Consistency5/5

All tools share the java_class_ prefix and follow the same noun-style naming pattern: indexer, analyzer, search. This creates a predictable and recognizable set.

Tool Count5/5

Three tools is well-scoped for a Java class analysis server: index, search, and analyze. Each tool is necessary and the count feels complete without being bloated.

Completeness5/5

The tool surface covers the full workflow: building an index from Maven dependencies, searching indexed classes by keyword, and analyzing/decompiling a selected class. There are no obvious dead ends or missing operations for the stated purpose.

Maintenance

ActivityInactive
ResponsivenessNo issues