minecraft-modding-mcp
v8.2.0MCP server for AI-assisted Minecraft modding: inspect decompiled source, resolve Mojang/Yarn/Intermediary mappings, diff versions, analyze…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list-versions
List available Minecraft versions from Mojang manifest and locally cached version jars. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
includeSnapshots | boolean | |
limit | integer | max 200 |
inspect-minecraft
Top-level workflow tool for version discovery, artifact resolution, class inspection, source search, file reads, and file listings. Workspace subject.focus is a structured class/file/search object, never a string; task=auto dispatches from subject.kind and focus.kind.
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
detail | string | |
include | array | |
includeSnapshots | boolean | |
limit | integer | |
subject | Structured inspection subject. Use kind=workspace with a structured focus object when the workspace should resolve artifact context. | |
task | string | Workflow task. auto dispatches only from subject.kind and workspace focus.kind; it is not a natural-language planner. |
analyze-symbol
Top-level workflow tool for symbol existence, mapping, lifecycle, workspace analysis, and API overview. subject.kind='symbol' auto-detects class/field/method from the selector.
| Parameter | Type | Description |
|---|---|---|
subject * | object | |
task * | string | |
classNameMapping | string | |
detail | string | |
fromVersion | task=lifecycle only: range start (oldest) version; defaults to the oldest version in the manifest. | |
gradleUserHome | ||
include | array | |
includeKinds | array | |
includeSnapshots | boolean | task=lifecycle only: include snapshot versions in the scan. |
includeTimeline | boolean | task=lifecycle only: include per-version timeline entries. |
maxCandidates | ||
maxRows | integer | |
maxVersions | integer | task=lifecycle only: cap on scanned versions (service default 120, max 400). |
nameMode | string | |
projectPath | ||
signatureMode | string | |
sourceMapping | string | |
targetMapping | string | |
toVersion | task=lifecycle only: range end (newest) version; takes precedence over version. Defaults to latest. | |
version | Point-in-time MC version for task=exists/map/exact-map/workspace/api-overview. For task=lifecycle it is accepted as a back-compat alias for toVersion (range end). |
compare-minecraft
Top-level workflow tool for version comparisons, class diffs, registry diffs, and migration overviews.
| Parameter | Type | Description |
|---|---|---|
subject * | ||
detail | string | |
include | array | |
includeFullDiff | boolean | |
limit | integer | |
maxClassResults | ||
maxEntriesPerRegistry | ||
task | string |
analyze-mod
Top-level workflow tool for mod metadata inspection, decompile/search flows, class source, bytecode-only class member reads, and safe remap previews/applies.
| Parameter | Type | Description |
|---|---|---|
subject * | ||
task * | string | |
detail | string | |
executionMode | string | |
include | array | |
includeFiles | boolean | |
limit | integer | |
maxChars | integer | |
maxFiles | integer | |
maxLines | integer | |
outputJar | ||
query | ||
searchType | string | |
targetMapping | string |
validate-project
Top-level workflow tool for project summary, direct mixin validation, and access widener/access transformer validation.
| Parameter | Type | Description |
|---|---|---|
subject * | ||
task * | string | |
atNamespace | string | |
configPaths | array | |
detail | string | |
explain | boolean | |
hideUncertain | boolean | |
include | array | |
includeIssues | boolean | |
mapping | string | |
minSeverity | string | |
preferProjectMapping | boolean | |
preferProjectVersion | boolean | |
reportMode | string | Mixin report shape forwarded to validate-mixin. Default 'summary-first'; pass 'full' (or explain=true) for per-result resolvedMembers/toolHealth/resolutionTrace. |
scope | string | |
sourcePriority | string | |
sourceRoots | array | |
treatInfoAsWarning | boolean | |
version | ||
warningCategoryFilter | array | |
warningMode | string |
manage-cache
Top-level workflow tool for cache summaries, listing, verification, previewed mutation, and explicit apply operations.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
cacheKinds | array | |
cursor | ||
detail | string | |
executionMode | string | |
include | array | |
limit | integer | |
selector | object |
verify-mixin-target
Single-call probe: does this target owner / member exist and which @Shadow / @Accessor / @Invoker should the mixin use? Reuses target.kind workspace/version/coordinate/dependency/jar.
| Parameter | Type | Description |
|---|---|---|
member * | e.g. {"kind":"method","name":"tick","descriptor":"()V"} or {"kind":"field","name":"airSupply"}. | |
owner * | string | Fully-qualified target owner class name. |
target * | Object, not string. e.g. {"kind":"version","value":"1.21.10"}, {"kind":"workspace"}, or to inspect a loader/Fabric dependency like vanilla: {"kind":"dependency","group":"net.fabricmc.fabric-api","name… | |
autoRemap | boolean | Translate owner+member via find-mapping when mapping differs from the artifact namespace (requires a version-based target). |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
mapping | string | |
mixinMemberName | string | Caller-authored mixin member name; drives @Accessor/@Invoker advice when the target is private. |
preferProjectVersion | boolean | Detect MC version from gradle.properties and override target.value |
projectPath | Workspace root path for target.kind=workspace and Loom cache assistance. | |
scope | vanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars. | |
sourcePriority | string | |
strictVersion | boolean | Reject version-approximated results (default false) |
batch-class-source
Batch get-class-source for many classes sharing one resolved artifact; returns per-entry status plus aggregate summary. Not read-only: per-entry outputFile writes to disk.
| Parameter | Type | Description |
|---|---|---|
entries * | array | 1..50 entries; each shares the resolved target artifact. |
target * | Same shape as resolve-artifact target (incl. {"kind":"dependency",...} to read a Fabric/loader dependency class like vanilla), plus {"kind":"artifact","artifactId":"..."} to reuse a resolved artifact.… | |
allowDecompile | boolean | |
concurrency | integer | 1..8, default 4 |
detail | string | summary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything. |
failFast | boolean | default false |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
include | array | Field groups to include regardless of detail, e.g. ["provenance"]. |
mapping | string | |
preferProjectVersion | boolean | |
projectPath | string | |
scope | ||
sourcePriority | string | |
strictVersion | boolean |
batch-class-members
Batch get-class-members for many classes sharing one resolved artifact; returns per-entry status plus aggregate summary.
| Parameter | Type | Description |
|---|---|---|
entries * | array | |
target * | Same shape as resolve-artifact target (incl. {"kind":"dependency",...} to read a Fabric/loader dependency class like vanilla), plus {"kind":"artifact","artifactId":"..."} to reuse a resolved artifact.… | |
allowDecompile | boolean | |
concurrency | integer | |
detail | string | summary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything. |
failFast | boolean | |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
include | array | Field groups to include regardless of detail, e.g. ["provenance"]. |
mapping | string | |
preferProjectVersion | boolean | |
projectPath | string | |
projection | string | Per-member field projection: "names" (member name only), "signatures" (name + javaSignature, no jvmDescriptor), or "full" (default; complete member shape). Use "names"/"signatures" to cut response tok… |
scope | ||
sourcePriority | string | |
strictVersion | boolean |
batch-symbol-exists
Batch check-symbol-exists for many symbols against one shared Minecraft version (target.kind=version or workspace only).
| Parameter | Type | Description |
|---|---|---|
entries * | array | |
target * | Only kind="version" or kind="workspace"; other kinds carry library versions, not MC versions. | |
allowDecompile | boolean | |
concurrency | integer | |
detail | string | summary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything. |
failFast | boolean | |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
include | array | Field groups to include regardless of detail, e.g. ["provenance"]. |
mapping | string | |
preferProjectVersion | boolean | |
projectPath | string | |
scope | ||
sourcePriority | string | |
strictVersion | boolean |
batch-mappings
Batch find-mapping: resolve many symbols across mapping namespaces with one shared Minecraft version.
| Parameter | Type | Description |
|---|---|---|
entries * | array | |
version * | string | Minecraft version shared by every entry (single-version batch). |
concurrency | integer | |
detail | string | summary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything. |
failFast | boolean | |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
include | array | Field groups to include regardless of detail, e.g. ["provenance"]. |
projectPath | string | |
sourcePriority | string |
resolve-artifact
Resolve a source artifact and return artifact metadata. For target.kind=jar, only <basename>-sources.jar is auto-adopted. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
target * | Object, not string. e.g. {"kind":"version","value":"1.21.10"}, {"kind":"workspace"}, or to inspect a loader/Fabric dependency like vanilla: {"kind":"dependency","group":"net.fabricmc.fabric-api","name… | |
allowDecompile | boolean | |
detail | string | summary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything. |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
include | array | Field groups to include regardless of detail, e.g. ["provenance"]. |
mapping | string | |
preferProjectVersion | boolean | Detect MC version from gradle.properties and override target.value |
projectPath | string | Workspace root for Loom cache-assisted resolution |
scope | vanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars. | |
sourcePriority | string | |
strictVersion | boolean | Reject version-approximated results (default false) |
find-class
Resolve a simple or qualified class name to fully-qualified class names within an artifact. Use this before get-class-source when you only have a simple name. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
className * | string | Simple name (e.g. Blocks) or fully-qualified name (e.g. net.minecraft.world.level.block.Blocks) |
artifactId | string | |
limit | integer | default 20, max 200 |
projectPath | Workspace root for dependency or workspace target resolution. | |
target | Same shape as resolve-artifact target (incl. {"kind":"dependency",...} to read a Fabric/loader dependency class like vanilla), plus {"kind":"artifact","artifactId":"..."} to reuse a resolved artifact.… |
get-class-source
Get Java source for a class. Default mode=metadata returns a symbol outline only; pass mode=snippet or mode=full to read source text. Not read-only: outputFile writes to disk. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
className * | string | |
target * | Same shape as resolve-artifact target (incl. {"kind":"dependency",...} to read a Fabric/loader dependency class like vanilla), plus {"kind":"artifact","artifactId":"..."} to reuse a resolved artifact.… | |
allowDecompile | boolean | |
detail | string | summary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything. |
endLine | ||
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
include | array | Field groups to include regardless of detail, e.g. ["provenance"]. |
includeProvenance | boolean | Alias for include:["provenance"] (diagnostic metadata). Default false. |
mapping | string | |
maxChars | Hard character limit on sourceText; truncates if exceeded | |
maxLines | ||
mode | string | metadata = symbol outline only; snippet = source with default maxLines=200; full = entire source |
outputFile | Write source to this file path and return metadata-only response | |
preferProjectVersion | boolean | Detect MC version from gradle.properties and override target.value |
projectPath | string | Workspace root for Loom cache-assisted resolution |
scope | vanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars. | |
sourcePriority | string | |
startLine | integer | |
strictVersion | boolean | Reject version-approximated results (default false) |
get-class-members
Get fields/methods/constructors for one class from binary bytecode. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
className * | string | |
target * | Same shape as resolve-artifact target (incl. {"kind":"dependency",...} to read a Fabric/loader dependency class like vanilla), plus {"kind":"artifact","artifactId":"..."} to reuse a resolved artifact.… | |
access | string | |
allowDecompile | boolean | |
cursor | nextCursor from the previous response. | |
detail | string | summary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything. |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
include | array | Field groups to include regardless of detail, e.g. ["provenance"]. |
includeAnnotations | boolean | Opt-in: include runtime-visible member annotations (e.g. @Deprecated) on each member. |
includeDescriptors | boolean | Alias for include:["descriptors"]: also emit jvmDescriptor on FIELD members (method/constructor descriptors are always present). Default false. |
includeInherited | boolean | |
includeProvenance | boolean | Alias for include:["provenance"] (diagnostic metadata). Default false. |
includeSynthetic | boolean | |
mapping | string | Defaults to the mapping the target artifact was resolved with; obfuscated when the target has none. |
maxMembers | integer | default 150, max 5000. Page beyond the first 150 with cursor. |
memberPattern | string | Case-insensitive substring filter on member names. Use "|" for OR alternatives, e.g. "getStateForPlacement|canSurvive|setPlacedBy" (each token is matched as a substring, not a regex). |
preferProjectVersion | boolean | Detect MC version from gradle.properties and override version |
projectPath | ||
projection | string | Per-member field projection: "names" (member name only), "signatures" (name + javaSignature, no jvmDescriptor), or "full" (default; complete member shape). Use "names"/"signatures" to cut response tok… |
scope | vanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars. | |
sourcePriority | string | |
strictVersion | boolean | Reject version-approximated results (default false) |
search-class-source
Search indexed class source files for one artifact with symbol/text/path intent and compact hit output. Decompiled text can differ from hand-written code (`final` parameters, `@Nullable` between modifiers and type, wrapped declarations), so search for a method by its name or with intent `symbol`, not by its full declaration. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
query * | ||
artifactId | string | |
cursor | ||
detail | string | summary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything. |
fileGlob | ||
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
include | array | Field groups to include regardless of detail, e.g. ["provenance"]. |
intent | string | |
limit | integer | |
match | string | |
packagePrefix | ||
projectPath | Workspace root for dependency or workspace target resolution. | |
queryMode | string | auto: indexed search incl. separator queries like foo.bar; token: indexed-only; literal: substring scan only |
queryNamespace | string | Query namespace; symbol-intent FQCN queries are translated via find-mapping first. Ignored for text/path intents. |
sourcePriority | string | Used only when queryNamespace triggers translation. |
symbolKind | string | |
target | Same shape as resolve-artifact target (incl. {"kind":"dependency",...} to read a Fabric/loader dependency class like vanilla), plus {"kind":"artifact","artifactId":"..."} to reuse a resolved artifact.… |
get-artifact-file
Get full source file content by artifactId and file path. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
filePath * | ||
artifactId | string | |
maxBytes | integer | |
projectPath | Workspace root for dependency or workspace target resolution. | |
target | Same shape as resolve-artifact target (incl. {"kind":"dependency",...} to read a Fabric/loader dependency class like vanilla), plus {"kind":"artifact","artifactId":"..."} to reuse a resolved artifact.… |
list-artifact-files
List source file paths in an artifact with optional prefix filter and cursor-based pagination. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
artifactId | string | |
cursor | ||
detail | string | summary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything. |
include | array | Field groups to include regardless of detail, e.g. ["provenance"]. |
limit | integer | |
prefix | ||
projectPath | Workspace root for dependency or workspace target resolution. | |
target | Same shape as resolve-artifact target (incl. {"kind":"dependency",...} to read a Fabric/loader dependency class like vanilla), plus {"kind":"artifact","artifactId":"..."} to reuse a resolved artifact.… |
trace-symbol-lifecycle
Trace which Minecraft versions contain a specific class method and report first/last seen versions. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | fully.qualified.Class.method |
descriptor | string | optional JVM descriptor, e.g. "(I)V". Empty strings are treated as omitted. |
fromVersion | string | |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
includeSnapshots | boolean | |
includeTimeline | boolean | |
mapping | string | default obfuscated |
maxVersions | integer | max 400 |
sourcePriority | string | |
toVersion |
diff-class-signatures
Compare one class signature between two Minecraft versions and report added/removed/modified constructors, methods, and fields. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
className * | string | |
fromVersion * | ||
toVersion * | ||
gradleUserHome | string | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). |
includeFullDiff | boolean | When false, omit from/to snapshots from modified entries and keep only key+changed |
mapping | string | default obfuscated |
sourcePriority | string |
find-mapping
Find symbol mapping candidates between namespaces using structured symbol inputs for a specific Minecraft version. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
name * | ||
sourceMapping * | string | |
targetMapping * | ||
version * | string | |
descriptor | string | JVM descriptor; optional when signatureMode='name-only'. Empty = omitted. |
detail | string | summary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything. |
disambiguation | object | |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
include | array | Field groups to include regardless of detail, e.g. ["provenance"]. |
maxCandidates | integer | default 5, max 200 |
nameMode | string | auto (default): FQCN, or dotless name where allowed; fqcn: require FQCN. |
owner | string | |
signatureMode | string | exact: descriptor required for kind=method; name-only (default): match by owner+name only. |
sourcePriority | string |
resolve-method-mapping-exact
Strict variant of find-mapping(kind=method, signatureMode=exact): requires a COMPLETE descriptor projection and returns mapping_unavailable when any descriptor class reference cannot be projected. Prefer find-mapping unless you need that guarantee. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
descriptor * | string | required JVM descriptor |
name * | ||
owner * | ||
sourceMapping * | string | |
targetMapping * | ||
version * | string | |
detail | string | summary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything. |
gradleUserHome | string | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). |
include | array | Field groups to include regardless of detail, e.g. ["provenance"]. |
maxCandidates | integer | default 5, max 200 |
sourcePriority | string |
get-class-api-matrix
List class/member API rows across obfuscated/mojang/intermediary/yarn mappings for one class and Minecraft version. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
className * | ||
classNameMapping * | string | |
version * | string | |
cursor | nextCursor from the previous response. | |
gradleUserHome | string | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). |
includeKinds | string | comma-separated: class,field,method |
maxRows | integer | Limit returned rows (max 5000) |
sourcePriority | string |
resolve-workspace-symbol
Resolve class/field/method names as seen at compile time for a workspace by reading Gradle Loom mapping settings. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
name * | ||
projectPath * | string | |
sourceMapping * | string | |
version * | ||
descriptor | string | JVM descriptor. Empty strings are treated as omitted. |
detail | string | summary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything. |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
include | array | Field groups to include regardless of detail, e.g. ["provenance"]. |
maxCandidates | integer | default 5, max 200 (field/method lookups) |
owner | string | |
sourcePriority | string |
check-symbol-exists
Check whether a class/field/method symbol exists in a specific mapping namespace for one Minecraft version. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
name * | ||
sourceMapping * | string | |
version * | string | |
descriptor | string | JVM descriptor; optional when signatureMode='name-only'. Empty = omitted. |
detail | string | summary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything. |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
include | array | Field groups to include regardless of detail, e.g. ["provenance"]. |
maxCandidates | integer | default 5, max 200 |
nameMode | string | auto (default): FQCN, or dotless name where allowed; fqcn: require FQCN. |
owner | string | |
signatureMode | string | exact: descriptor required for kind=method; name-only (default): match by owner+name only. |
sourcePriority | string |
nbt-to-json
Decode Java Edition NBT binary payload (base64) into typed JSON.
| Parameter | Type | Description |
|---|---|---|
nbtBase64 * | string | |
compression | string |
nbt-apply-json-patch
Apply RFC6902 add/remove/replace/test operations to typed NBT JSON.
| Parameter | Type | Description |
|---|---|---|
patch * | array | RFC6902 operation array (add/remove/replace/test) |
typedJson |
json-to-nbt
Encode typed NBT JSON to Java Edition NBT binary payload (base64).
| Parameter | Type | Description |
|---|---|---|
compression | string | |
typedJson |
index-artifact
Rebuild indexed files/symbols metadata for an artifact addressed by artifactId or target. A new target is resolved and ingested first; force rebuilds an existing index. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
artifactId | string | |
force | boolean | |
projectPath | Workspace root for dependency or workspace target resolution. | |
target | Same shape as resolve-artifact target (incl. {"kind":"dependency",...} to read a Fabric/loader dependency class like vanilla), plus {"kind":"artifact","artifactId":"..."} to reuse a resolved artifact.… |
get-runtime-metrics
Get runtime service counters and latency snapshots for cache/search/index diagnostics.
validate-mixin
Validate Mixin source against Minecraft bytecode signatures for a given version. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
input * | mode = inline | path | paths | config | project | |
explain | boolean | When true, enrich each issue with explanation and suggestedCall for agent recovery |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
hideUncertain | boolean | Omit issues with confidence='uncertain' |
includeIssues | boolean | When false, keep summary fields but omit per-result issues[] payloads |
mapping | string | |
minSeverity | string | 'error'=errors only, 'warning'=errors+warnings, 'all'=everything |
preferProjectMapping | boolean | When true, auto-detect mapping from project config even if mapping is explicitly provided |
preferProjectVersion | boolean | Detect MC version from gradle.properties and override version |
projectPath | Workspace root for Loom cache-assisted resolution | |
reportMode | string | summary-first (default) hoists shared provenance/warnings, drops per-result heavy detail; compact omits heavy per-result detail; full = everything (required for resolvedMembers/toolHealth/resolutionTr… |
scope | string | vanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars. |
sourcePriority | string | |
sourceRoots | array | Source roots for multi-module projects (e.g. ['common/src/main/java']) |
treatInfoAsWarning | boolean | When false, suppress info-severity structured warnings from output |
version | string | Minecraft version. Optional when input.mode='project' or preferProjectVersion=true with projectPath; required otherwise. |
warningCategoryFilter | array | Only include warnings/issues matching these categories (default: all) |
warningMode | string | 'full'=all warnings; 'aggregated'=group warnings by category with counts and samples. Single validation uses the provided value as-is; batch validation defaults to 'aggregated' |
validate-access-widener
Validate Access Widener file entries against Minecraft bytecode signatures for a given version. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
content * | string | Access Widener file content |
version * | string | Minecraft version |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
mapping | string | |
preferProjectVersion | boolean | When true, detect MC version from gradle.properties and override version |
projectPath | string | Optional workspace root path for Loom cache-assisted runtime validation |
scope | string | vanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars. |
sourcePriority | string |
validate-access-transformer
Validate Access Transformer file entries against Minecraft bytecode signatures for a given version. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
content * | string | Access Transformer file content |
version * | string | Minecraft version |
atNamespace | string | |
gradleUserHome | Gradle user home for Loom cache lookups (overrides GRADLE_USER_HOME). | |
preferProjectVersion | boolean | When true, detect MC version from gradle.properties and override version |
projectPath | string | Optional workspace root path for Forge/NeoForge runtime validation |
scope | string | vanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars. |
sourcePriority | string |
analyze-mod-jar
Analyze a Minecraft mod JAR to extract loader type, metadata, entrypoints, mixins, and dependencies. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
jarPath * | string | Local path to the mod JAR file |
includeClasses | boolean | Include full class listing |
get-registry-data
Get Minecraft registry data (blocks, items, biomes, etc.) for a specific version by running the server data generator.
| Parameter | Type | Description |
|---|---|---|
version * | string | Minecraft version (e.g. 1.21) |
includeData | boolean | false = registry names/counts only (cheap discovery); true (default) = full entry bodies. |
maxEntriesPerRegistry | integer | Limit returned entries per registry body |
registry | string | Optional registry name (e.g. "block", "item", "minecraft:biome"). Omit to list all registries. |
compare-versions
Compare two Minecraft versions to find added/removed classes and registry entry changes. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
fromVersion * | string | Older Minecraft version (e.g. 1.20.4) |
toVersion * | string | Newer Minecraft version (e.g. 1.21) |
category | string | |
maxClassResults | integer | Max class results per direction (max 5000) |
packageFilter | string | Filter classes to a package prefix (e.g. net.minecraft.world.item) |
decompile-mod-jar
Decompile a Minecraft mod JAR using Vineflower and list available classes, or view a specific class source. Builds on analyze-mod-jar. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
jarPath * | string | Local path to the mod JAR file |
className | string | Optional fully-qualified class name to view source. Omit to list all classes. |
includeFiles | boolean | When false, omit the full class list and return counts only |
maxFiles | integer | Limit returned class names when files are included |
get-mod-class-source
Get decompiled source code for a specific class in a mod JAR. The mod JAR will be decompiled if not already cached. Not read-only: outputFile writes the source to disk. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
className * | string | Fully-qualified class name (e.g. com.example.MyMixin) |
jarPath * | string | Local path to the mod JAR file |
maxChars | Hard character limit; truncates if exceeded | |
maxLines | integer | Max lines to return |
outputFile | string | Write full source to file, return placeholder in content |
search-mod-source
Search through decompiled mod JAR source code by class name, method, field, or content pattern. The mod JAR will be decompiled automatically if not already cached. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
jarPath * | string | Local path to the mod JAR file |
query * | string | Search pattern (regex or literal string) |
limit | integer | Max results (max 200) |
searchType | string |
remap-mod-jar
Remap a Fabric mod JAR from intermediary to yarn/mojang names. Requires Java to be installed. Expert tool: prefer the entry tools (inspect-minecraft, analyze-symbol, compare-minecraft, analyze-mod, validate-project) first.
| Parameter | Type | Description |
|---|---|---|
inputJar * | string | Path to the mod JAR file |
targetMapping * | string | |
forceRemap | boolean | Skip the cache and re-resolve the newest yarn build (busts a stale remap) |
mcVersion | Minecraft version (auto-detected from mod metadata if omitted) | |
outputJar | string | Output path for remapped JAR (auto-generated if omitted) |