minecraft-modding-mcp

v8.2.0
@adhisang/minecraft-modding-mcp Checked 16 hours ago Published 20 days ago

MCP 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.

ParameterTypeDescription
includeSnapshotsboolean
limitintegermax 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.

ParameterTypeDescription
cursorstring
detailstring
includearray
includeSnapshotsboolean
limitinteger
subjectStructured inspection subject. Use kind=workspace with a structured focus object when the workspace should resolve artifact context.
taskstringWorkflow 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.

ParameterTypeDescription
subject *object
task *string
classNameMappingstring
detailstring
fromVersiontask=lifecycle only: range start (oldest) version; defaults to the oldest version in the manifest.
gradleUserHome
includearray
includeKindsarray
includeSnapshotsbooleantask=lifecycle only: include snapshot versions in the scan.
includeTimelinebooleantask=lifecycle only: include per-version timeline entries.
maxCandidates
maxRowsinteger
maxVersionsintegertask=lifecycle only: cap on scanned versions (service default 120, max 400).
nameModestring
projectPath
signatureModestring
sourceMappingstring
targetMappingstring
toVersiontask=lifecycle only: range end (newest) version; takes precedence over version. Defaults to latest.
versionPoint-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.

ParameterTypeDescription
subject *
detailstring
includearray
includeFullDiffboolean
limitinteger
maxClassResults
maxEntriesPerRegistry
taskstring

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.

ParameterTypeDescription
subject *
task *string
detailstring
executionModestring
includearray
includeFilesboolean
limitinteger
maxCharsinteger
maxFilesinteger
maxLinesinteger
outputJar
query
searchTypestring
targetMappingstring

validate-project

Top-level workflow tool for project summary, direct mixin validation, and access widener/access transformer validation.

ParameterTypeDescription
subject *
task *string
atNamespacestring
configPathsarray
detailstring
explainboolean
hideUncertainboolean
includearray
includeIssuesboolean
mappingstring
minSeveritystring
preferProjectMappingboolean
preferProjectVersionboolean
reportModestringMixin report shape forwarded to validate-mixin. Default 'summary-first'; pass 'full' (or explain=true) for per-result resolvedMembers/toolHealth/resolutionTrace.
scopestring
sourcePrioritystring
sourceRootsarray
treatInfoAsWarningboolean
version
warningCategoryFilterarray
warningModestring

manage-cache

Top-level workflow tool for cache summaries, listing, verification, previewed mutation, and explicit apply operations.

ParameterTypeDescription
action *string
cacheKindsarray
cursor
detailstring
executionModestring
includearray
limitinteger
selectorobject

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.

ParameterTypeDescription
member *e.g. {"kind":"method","name":"tick","descriptor":"()V"} or {"kind":"field","name":"airSupply"}.
owner *stringFully-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…
autoRemapbooleanTranslate owner+member via find-mapping when mapping differs from the artifact namespace (requires a version-based target).
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
mappingstring
mixinMemberNamestringCaller-authored mixin member name; drives @Accessor/@Invoker advice when the target is private.
preferProjectVersionbooleanDetect MC version from gradle.properties and override target.value
projectPathWorkspace root path for target.kind=workspace and Loom cache assistance.
scopevanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars.
sourcePrioritystring
strictVersionbooleanReject 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.

ParameterTypeDescription
entries *array1..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.…
allowDecompileboolean
concurrencyinteger1..8, default 4
detailstringsummary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything.
failFastbooleandefault false
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includearrayField groups to include regardless of detail, e.g. ["provenance"].
mappingstring
preferProjectVersionboolean
projectPathstring
scope
sourcePrioritystring
strictVersionboolean

batch-class-members

Batch get-class-members for many classes sharing one resolved artifact; returns per-entry status plus aggregate summary.

ParameterTypeDescription
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.…
allowDecompileboolean
concurrencyinteger
detailstringsummary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything.
failFastboolean
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includearrayField groups to include regardless of detail, e.g. ["provenance"].
mappingstring
preferProjectVersionboolean
projectPathstring
projectionstringPer-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
sourcePrioritystring
strictVersionboolean

batch-symbol-exists

Batch check-symbol-exists for many symbols against one shared Minecraft version (target.kind=version or workspace only).

ParameterTypeDescription
entries *array
target *Only kind="version" or kind="workspace"; other kinds carry library versions, not MC versions.
allowDecompileboolean
concurrencyinteger
detailstringsummary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything.
failFastboolean
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includearrayField groups to include regardless of detail, e.g. ["provenance"].
mappingstring
preferProjectVersionboolean
projectPathstring
scope
sourcePrioritystring
strictVersionboolean

batch-mappings

Batch find-mapping: resolve many symbols across mapping namespaces with one shared Minecraft version.

ParameterTypeDescription
entries *array
version *stringMinecraft version shared by every entry (single-version batch).
concurrencyinteger
detailstringsummary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything.
failFastboolean
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includearrayField groups to include regardless of detail, e.g. ["provenance"].
projectPathstring
sourcePrioritystring

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.

ParameterTypeDescription
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…
allowDecompileboolean
detailstringsummary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything.
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includearrayField groups to include regardless of detail, e.g. ["provenance"].
mappingstring
preferProjectVersionbooleanDetect MC version from gradle.properties and override target.value
projectPathstringWorkspace root for Loom cache-assisted resolution
scopevanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars.
sourcePrioritystring
strictVersionbooleanReject 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.

ParameterTypeDescription
className *stringSimple name (e.g. Blocks) or fully-qualified name (e.g. net.minecraft.world.level.block.Blocks)
artifactIdstring
limitintegerdefault 20, max 200
projectPathWorkspace root for dependency or workspace target resolution.
targetSame 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.

ParameterTypeDescription
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.…
allowDecompileboolean
detailstringsummary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything.
endLine
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includearrayField groups to include regardless of detail, e.g. ["provenance"].
includeProvenancebooleanAlias for include:["provenance"] (diagnostic metadata). Default false.
mappingstring
maxCharsHard character limit on sourceText; truncates if exceeded
maxLines
modestringmetadata = symbol outline only; snippet = source with default maxLines=200; full = entire source
outputFileWrite source to this file path and return metadata-only response
preferProjectVersionbooleanDetect MC version from gradle.properties and override target.value
projectPathstringWorkspace root for Loom cache-assisted resolution
scopevanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars.
sourcePrioritystring
startLineinteger
strictVersionbooleanReject 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.

ParameterTypeDescription
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.…
accessstring
allowDecompileboolean
cursornextCursor from the previous response.
detailstringsummary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything.
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includearrayField groups to include regardless of detail, e.g. ["provenance"].
includeAnnotationsbooleanOpt-in: include runtime-visible member annotations (e.g. @Deprecated) on each member.
includeDescriptorsbooleanAlias for include:["descriptors"]: also emit jvmDescriptor on FIELD members (method/constructor descriptors are always present). Default false.
includeInheritedboolean
includeProvenancebooleanAlias for include:["provenance"] (diagnostic metadata). Default false.
includeSyntheticboolean
mappingstringDefaults to the mapping the target artifact was resolved with; obfuscated when the target has none.
maxMembersintegerdefault 150, max 5000. Page beyond the first 150 with cursor.
memberPatternstringCase-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).
preferProjectVersionbooleanDetect MC version from gradle.properties and override version
projectPath
projectionstringPer-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…
scopevanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars.
sourcePrioritystring
strictVersionbooleanReject 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.

ParameterTypeDescription
query *
artifactIdstring
cursor
detailstringsummary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything.
fileGlob
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includearrayField groups to include regardless of detail, e.g. ["provenance"].
intentstring
limitinteger
matchstring
packagePrefix
projectPathWorkspace root for dependency or workspace target resolution.
queryModestringauto: indexed search incl. separator queries like foo.bar; token: indexed-only; literal: substring scan only
queryNamespacestringQuery namespace; symbol-intent FQCN queries are translated via find-mapping first. Ignored for text/path intents.
sourcePrioritystringUsed only when queryNamespace triggers translation.
symbolKindstring
targetSame 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.

ParameterTypeDescription
filePath *
artifactIdstring
maxBytesinteger
projectPathWorkspace root for dependency or workspace target resolution.
targetSame 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.

ParameterTypeDescription
artifactIdstring
cursor
detailstringsummary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything.
includearrayField groups to include regardless of detail, e.g. ["provenance"].
limitinteger
prefix
projectPathWorkspace root for dependency or workspace target resolution.
targetSame 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.

ParameterTypeDescription
symbol *stringfully.qualified.Class.method
descriptorstringoptional JVM descriptor, e.g. "(I)V". Empty strings are treated as omitted.
fromVersionstring
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includeSnapshotsboolean
includeTimelineboolean
mappingstringdefault obfuscated
maxVersionsintegermax 400
sourcePrioritystring
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.

ParameterTypeDescription
className *string
fromVersion *
toVersion *
gradleUserHomestringGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includeFullDiffbooleanWhen false, omit from/to snapshots from modified entries and keep only key+changed
mappingstringdefault obfuscated
sourcePrioritystring

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.

ParameterTypeDescription
kind *string
name *
sourceMapping *string
targetMapping *
version *string
descriptorstringJVM descriptor; optional when signatureMode='name-only'. Empty = omitted.
detailstringsummary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything.
disambiguationobject
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includearrayField groups to include regardless of detail, e.g. ["provenance"].
maxCandidatesintegerdefault 5, max 200
nameModestringauto (default): FQCN, or dotless name where allowed; fqcn: require FQCN.
ownerstring
signatureModestringexact: descriptor required for kind=method; name-only (default): match by owner+name only.
sourcePrioritystring

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.

ParameterTypeDescription
descriptor *stringrequired JVM descriptor
name *
owner *
sourceMapping *string
targetMapping *
version *string
detailstringsummary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything.
gradleUserHomestringGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includearrayField groups to include regardless of detail, e.g. ["provenance"].
maxCandidatesintegerdefault 5, max 200
sourcePrioritystring

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.

ParameterTypeDescription
className *
classNameMapping *string
version *string
cursornextCursor from the previous response.
gradleUserHomestringGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includeKindsstringcomma-separated: class,field,method
maxRowsintegerLimit returned rows (max 5000)
sourcePrioritystring

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.

ParameterTypeDescription
kind *string
name *
projectPath *string
sourceMapping *string
version *
descriptorstringJVM descriptor. Empty strings are treated as omitted.
detailstringsummary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything.
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includearrayField groups to include regardless of detail, e.g. ["provenance"].
maxCandidatesintegerdefault 5, max 200 (field/method lookups)
ownerstring
sourcePrioritystring

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.

ParameterTypeDescription
kind *string
name *
sourceMapping *string
version *string
descriptorstringJVM descriptor; optional when signatureMode='name-only'. Empty = omitted.
detailstringsummary = terse (drops diagnostics/empties, slims candidates); standard = keeps fields, drops heavy diagnostics; full = everything.
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
includearrayField groups to include regardless of detail, e.g. ["provenance"].
maxCandidatesintegerdefault 5, max 200
nameModestringauto (default): FQCN, or dotless name where allowed; fqcn: require FQCN.
ownerstring
signatureModestringexact: descriptor required for kind=method; name-only (default): match by owner+name only.
sourcePrioritystring

nbt-to-json

Decode Java Edition NBT binary payload (base64) into typed JSON.

ParameterTypeDescription
nbtBase64 *string
compressionstring

nbt-apply-json-patch

Apply RFC6902 add/remove/replace/test operations to typed NBT JSON.

ParameterTypeDescription
patch *arrayRFC6902 operation array (add/remove/replace/test)
typedJson

json-to-nbt

Encode typed NBT JSON to Java Edition NBT binary payload (base64).

ParameterTypeDescription
compressionstring
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.

ParameterTypeDescription
artifactIdstring
forceboolean
projectPathWorkspace root for dependency or workspace target resolution.
targetSame 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.

ParameterTypeDescription
input *mode = inline | path | paths | config | project
explainbooleanWhen true, enrich each issue with explanation and suggestedCall for agent recovery
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
hideUncertainbooleanOmit issues with confidence='uncertain'
includeIssuesbooleanWhen false, keep summary fields but omit per-result issues[] payloads
mappingstring
minSeveritystring'error'=errors only, 'warning'=errors+warnings, 'all'=everything
preferProjectMappingbooleanWhen true, auto-detect mapping from project config even if mapping is explicitly provided
preferProjectVersionbooleanDetect MC version from gradle.properties and override version
projectPathWorkspace root for Loom cache-assisted resolution
reportModestringsummary-first (default) hoists shared provenance/warnings, drops per-result heavy detail; compact omits heavy per-result detail; full = everything (required for resolvedMembers/toolHealth/resolutionTr…
scopestringvanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars.
sourcePrioritystring
sourceRootsarraySource roots for multi-module projects (e.g. ['common/src/main/java'])
treatInfoAsWarningbooleanWhen false, suppress info-severity structured warnings from output
versionstringMinecraft version. Optional when input.mode='project' or preferProjectVersion=true with projectPath; required otherwise.
warningCategoryFilterarrayOnly include warnings/issues matching these categories (default: all)
warningModestring'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.

ParameterTypeDescription
content *stringAccess Widener file content
version *stringMinecraft version
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
mappingstring
preferProjectVersionbooleanWhen true, detect MC version from gradle.properties and override version
projectPathstringOptional workspace root path for Loom cache-assisted runtime validation
scopestringvanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars.
sourcePrioritystring

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.

ParameterTypeDescription
content *stringAccess Transformer file content
version *stringMinecraft version
atNamespacestring
gradleUserHomeGradle user home for Loom cache lookups (overrides GRADLE_USER_HOME).
preferProjectVersionbooleanWhen true, detect MC version from gradle.properties and override version
projectPathstringOptional workspace root path for Forge/NeoForge runtime validation
scopestringvanilla = Mojang client jar only; merged = merged runtime discovery; loader = loader-transformed runtime jars.
sourcePrioritystring

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.

ParameterTypeDescription
jarPath *stringLocal path to the mod JAR file
includeClassesbooleanInclude full class listing

get-registry-data

Get Minecraft registry data (blocks, items, biomes, etc.) for a specific version by running the server data generator.

ParameterTypeDescription
version *stringMinecraft version (e.g. 1.21)
includeDatabooleanfalse = registry names/counts only (cheap discovery); true (default) = full entry bodies.
maxEntriesPerRegistryintegerLimit returned entries per registry body
registrystringOptional 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.

ParameterTypeDescription
fromVersion *stringOlder Minecraft version (e.g. 1.20.4)
toVersion *stringNewer Minecraft version (e.g. 1.21)
categorystring
maxClassResultsintegerMax class results per direction (max 5000)
packageFilterstringFilter 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.

ParameterTypeDescription
jarPath *stringLocal path to the mod JAR file
classNamestringOptional fully-qualified class name to view source. Omit to list all classes.
includeFilesbooleanWhen false, omit the full class list and return counts only
maxFilesintegerLimit 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.

ParameterTypeDescription
className *stringFully-qualified class name (e.g. com.example.MyMixin)
jarPath *stringLocal path to the mod JAR file
maxCharsHard character limit; truncates if exceeded
maxLinesintegerMax lines to return
outputFilestringWrite 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.

ParameterTypeDescription
jarPath *stringLocal path to the mod JAR file
query *stringSearch pattern (regex or literal string)
limitintegerMax results (max 200)
searchTypestring

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.

ParameterTypeDescription
inputJar *stringPath to the mod JAR file
targetMapping *string
forceRemapbooleanSkip the cache and re-resolve the newest yarn build (busts a stale remap)
mcVersionMinecraft version (auto-detected from mod metadata if omitted)
outputJarstringOutput path for remapped JAR (auto-generated if omitted)