@adhisang/minecraft-modding-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@adhisang/minecraft-modding-mcp Convert net.minecraft.world.entity.Entity to Yarn names for 1.21.1"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@adhisang/minecraft-modding-mcp
English | 日本語
Note: This project is entirely vibe-coded — built with AI-assisted development without formal specs.
@adhisang/minecraft-modding-mcp is an MCP server for AI-assisted Minecraft modding workflows, built on the Model Context Protocol. Use it when an agent needs to inspect Minecraft source, resolve mappings, compare versions, analyze mod JARs, validate Mixin, Access Widener, or Access Transformer files, or work with NBT and registry data from an MCP client.
It runs over stdio and works with Claude Desktop, Claude Code, VS Code, Codex CLI, Gemini CLI, and other MCP-capable clients.
29 catalog tools + 41 deprecated 8.x tools | 9 resources | 4 namespace mappings | SQLite-backed cache
Features
Source exploration: browse, list, and search decompiled Minecraft source with line-level context
Mapping-aware symbol work: convert class, field, and method names between
obfuscated,mojang,intermediary, andyarnVersion comparison: compare class signatures, registry entries, and migration-oriented summaries across Minecraft versions
Mod JAR analysis: read Fabric, Forge, and NeoForge metadata, entrypoints, Mixin configs, dependencies, source, and remap previews
Project validation: validate Mixin source,
.accesswidenerfiles, and Forge/NeoForge Access Transformer files against the target versionNBT, registry, cache, and diagnostics: patch NBT payloads, inspect generated registry data, and manage cache/runtime state
MCP resources: expose versions, class source, artifact metadata, and mappings through URI-based resources
Related MCP server: Synapse
Protocol Support
The server implements MCP protocol revision 2026-07-28 and keeps the legacy initialize-based protocol (2025-11-25 back through 2024-10-07) fully supported in the same binary — no configuration needed:
Legacy clients initialize as before and get the same tools and response envelopes as modern clients; the legacy wire stays byte-compatible with the SDK v1 server except for a short list of recorded deviations (see the legacy-exceptions list in docs/tool-reference.md → MCP Protocol Support).
Modern clients (2026-07-28) skip
initialize, probe withserver/discover, and send per-requestio.modelcontextprotocol/*_meta. Modern results carryresultTypeand the server identity echo; the cacheable methods additionally carry cache metadata (ttlMs/cacheScope).One stdio process serves one era, selected by the client's first signal; the selection persists across the server's internal worker restarts.
Both eras receive the same short primer for AI agents as MCP
instructions(in theinitializeandserver/discoverresults): how the catalog tools,target,mappingand the{ result, meta }replies work, and, when the 8.x tools are served (MCP_DEPRECATED_TOOLS=on), that they are deprecated aliases. See docs/tool-reference.md → Tool catalog.
Wire-level details — era selection, the rejection and version-negotiation tables, cache values, and framing — are in docs/tool-reference.md → MCP Protocol Support.
Quick Start
Package Users
Requirements:
Node.js 22.13.0+
Java 17+ on
PATHfor decompile and remap flows: reading Minecraft source for a version that has no Loom sources jar, decompiling mod JARs, andmod-remap(8.x:remap-mod-jar). The default Vineflower needs Java 17; the server checks only thatjavaruns, not its version.registry-readand registry comparisons inversion-compare(with the 8.x tools,get-registry-dataand registry diffs incompare-versionsandcompare-minecraft) run the Minecraft server's data generator, so they need the Java version that Minecraft release requires (Java 21 for 1.21.x).
Start the server locally:
npx -y @adhisang/minecraft-modding-mcpUse this same command in MCP client configs. Before running the default Vineflower and Tiny Remapper JARs, the server checks their SHA-256 digests. If a cached copy fails verification, the server tries to download a verified replacement. It refuses to run a JAR that fails the check.
If automatic JAR downloads are blocked, set MCP_VINEFLOWER_JAR_PATH and MCP_TINY_REMAPPER_JAR_PATH in your client config. Verify the JARs independently when you supply local paths or select different versions. See Decompilation and Remapping.
Client Setup
CLI clients can register the package command directly.
Claude Code:
claude mcp add minecraft-modding -- npx -y @adhisang/minecraft-modding-mcpOpenAI Codex CLI:
codex mcp add minecraft-modding -- npx -y @adhisang/minecraft-modding-mcpRun claude mcp list or codex mcp list after registration to verify the server is available.
The stdio transport auto-detects newline-delimited and Content-Length framing, so the same server command works across Codex and standard MCP clients.
Claude Desktop
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"minecraft-modding": {
"command": "npx",
"args": ["-y", "@adhisang/minecraft-modding-mcp"]
}
}
}VS Code
Add the following to .vscode/mcp.json in your workspace:
{
"servers": {
"minecraft-modding": {
"command": "npx",
"args": ["-y", "@adhisang/minecraft-modding-mcp"]
}
}
}Gemini CLI
Add the following to ~/.gemini/settings.json:
{
"mcpServers": {
"minecraft-modding": {
"command": "npx",
"args": ["-y", "@adhisang/minecraft-modding-mcp"]
}
}
}Then run:
/mcp listCustom Environment
Pass environment variables to override defaults:
{
"mcpServers": {
"minecraft-modding": {
"command": "npx",
"args": ["-y", "@adhisang/minecraft-modding-mcp"],
"env": {
"MCP_CACHE_DIR": "/path/to/custom/cache",
"MCP_MAPPING_SOURCE_PRIORITY": "maven-first"
}
}
}
}When a build used a non-default Gradle User Home, pass gradleUserHome to artifact-resolve and reuse the returned artifactId (the deprecated 8.x tools take it on their cache-backed calls). The server treats it as a per-call Gradle User Home and searches <gradleUserHome>/loom-cache and <gradleUserHome>/caches/fabric-loom instead of the MCP process's Gradle User Home; project-local roots under projectPath still apply. It does not accept arbitrary Loom cache directories.
Start Here
Start with the catalog tools. Each answers one kind of question, all of them share one request vocabulary (target, mapping, detail), and every reply is { result, meta } or { error, meta }, with follow-up calls in meta.nextActions and warnings in meta.warnings. Pick the tool from the table, then use the examples and reference docs for exact payloads; Tool Surface lists every tool.
Tool | Start here for |
| resolving a version, JAR, coordinate, workspace, or dependency once and reusing its |
| the source of up to 50 classes from Minecraft, dependency, or mod JARs |
| constructors, fields, and methods from bytecode |
| declarations, text, or file paths in an artifact's source |
| whether classes, fields, or methods exist in a Minecraft version |
| names of classes, fields, and methods in another namespace |
| the classes, registry entries, and libraries that changed between two versions |
| a mod JAR's loader, metadata, entrypoints, and mixin configs |
| a workspace's mixin configs and access wideners, file by file |
| cache inventory, verification, and preview/apply cleanup |
Workflow Notes
These notes cover high-frequency decisions during onboarding. For the full pitfall list, exact contracts, migration notes, and environment variables, see docs/tool-reference.md.
Resolve once with
artifact-resolveand passresult.artifact.artifactIdastarget: { kind: "artifact", artifactId }to the other tools. The resolution options (sourcePriority,gradleUserHome,preferProjectVersion,strictVersion) are inputs ofartifact-resolveonly.allowDecompilealso belongs tosource-readandsource-export(defaulttrue): set it tofalseon each call to decline source decompilation during resolution and fallback, even when reusing anartifactId. Options are per call and are not stored on artifacts.A
versiontarget withoutprojectPath, such as{ "kind": "version", "version": "1.21.10" }, means the vanilla game in Mojang names: on a release before 26.1 an omittedmappingismojangand an omittedscopeisvanilla, each on its own, so the call is resolved withscope: "vanilla"andmapping: "mojang"whether or not you writemapping: "mojang"(the first call remaps and decompiles the client jar, about 40 seconds, then it is cached). Givemappingorscopeto choose otherwise. Aversiontarget withprojectPathgets neither default, so an omittedmappingisobfuscatedand the call resolves the obfuscated game jar; to read the sources from your project's Loom cache, givemapping: "mojang"with it, as in{ "target": { "kind": "version", "version": "1.21.10", "projectPath": "/path/to/mod" }, "mapping": "mojang" }.The symbol tools,
class-diff,access-validate, andmixin-verify-targetrequiremapping, the namespace your names are written in; the namespace is never assumed.A
meta.nextActionsentry withouttemplate: truecan be sent as is; atemplate: trueentry has<placeholder>values to fill in first.validate-project,project-validate, andmixin-validatewithdiscover: truehave a supervisor-owned end-to-end deadline of 120 seconds, including queue time, and each such call runs alone: later calls wait until it finishes, times out or is cancelled.mixin-validatewithsource,paths, orconfigPathsruns beside other calls with no deadline. SetMCP_VALIDATE_PROJECT_TIMEOUT_MSto an ASCII-decimal value from10000through600000to override it. A timeout returnsERR_TOOL_TIMEOUT; a running timeout restarts the isolated worker before queued calls resume, while a queue timeout leaves the current worker untouched.Artifact downloads are capped at 512 MiB (
536870912bytes) each. SetMCP_MAX_DOWNLOAD_BYTESto an ASCII-decimal byte count to override it; values below 1 MiB are raised to 1 MiB, and anything else — non-numeric, malformed, or too large to be an exact integer — falls back to the default. The cap is checked twice: againstContent-Lengthbefore any body is read (a header that is not a plain byte count is treated as absent rather than as a breach), and against the bytes actually received, so a chunked or mis-declared response is caught too. A download that exceeds it fails withERR_LIMIT_EXCEEDEDand is not retried; the partial file is deleted on a best-effort basis, so a file the server cannot remove may survive the refusal. A cached copy is never served in its place — a cap is a configuration verdict, not a passing outage, and standing a stale artifact in for it would hide the ceiling instead of reporting it. When every repository trips the cap, the terminalERR_REPO_FETCH_FAILEDreports it where a caller can actually read it:hintscarries the sentence namingMCP_MAX_DOWNLOAD_BYTESand the byte count to clear, andcontext.repoFailureCodeisERR_LIMIT_EXCEEDED.Nested (Jar-in-Jar) entries are capped at 64 MiB (
67108864bytes) of uncompressed data each. SetMCP_MAX_NESTED_JAR_ENTRY_BYTESto override it, on the same rules as the download cap: ASCII decimal digits, values below 1 MiB raised to 1 MiB, anything else falling back to the default. The size is checked against the entry's declared uncompressed size before the read starts and again against the bytes actually streamed. A breach fails that one inner jar withERR_LIMIT_EXCEEDED; the shell jar's other inner jars still resolve.Queued calls resume only after the replacement worker completes initialization replay. If replacement startup or replay fails, queued tool calls terminate with
ERR_WORKER_RESTARTinstead of waiting indefinitely. If unresolved process-tree cleanup fills the supervisor's two live-generation slots, new requests fail with the existing restart envelope and unavailable notifications are warning-dropped until cleanup or reconnect. On POSIX, an already-gone process group counts as cleaned up rather than leaving a stale cleanup token.If a workspace was built with
GRADLE_USER_HOME=/tmp/...or another isolated Gradle home, pass that path asgradleUserHometoartifact-resolveand reuse the returnedartifactId, so source and member lookups use the same Loom cache instead of stale caches under the MCP process home.
Read Minecraft source from a version
{
"tool": "source-read",
"arguments": {
"target": { "kind": "version", "version": "1.21.10" },
"classes": ["net.minecraft.server.Main"],
"mode": "snippet"
}
}Map a symbol to another namespace
{
"tool": "symbol-map",
"arguments": {
"target": { "kind": "version", "version": "1.21.10" },
"mapping": "mojang",
"toMapping": "intermediary",
"symbols": [
{ "kind": "method", "className": "net.minecraft.server.MinecraftServer", "memberName": "tickServer" }
],
"signatureMode": "name-only"
}
}Summarize a mod JAR
{
"tool": "mod-inspect",
"arguments": {
"jarPath": "/path/to/mymod-1.0.0.jar"
}
}Validate a workspace
{
"tool": "project-validate",
"arguments": {
"projectPath": "/workspace/modid",
"discover": ["mixins", "access-wideners", "access-transformers"]
}
}project-validate discovers mixin configs and access wideners by default. Add "access-transformers" to discover when you want Access Transformer files validated too.
Documentation
Detailed example requests for copyable payloads and common workflows
Tool and configuration reference for exact inputs, outputs, resource behavior, environment variables, and migration notes. Start with the Tool catalog when you are not sure which tool to call; Migration from 8.x names the catalog tools that replace each 8.x tool.
日本語 README for a Japanese onboarding overview
Tool Surface
Catalog Tools
The catalog is a flat set of focused tools, listed ahead of the 8.x tools when those are served (see Deprecated 8.x Tools). Each catalog tool answers one kind of question, and all of them share one request vocabulary: a target object says where to look (artifact, version, jar, coordinate, workspace, or dependency), mapping names the namespace, and detail shortens a reply where it can. Replies keep the answer in result and put warnings, next actions, paging, and truncation in meta; a tool that resolves its target to an artifact returns result.artifact, whose artifactId you can reuse as target: { kind: "artifact", artifactId }. An unknown or misplaced key fails with ERR_INVALID_INPUT instead of being ignored. The source and member tools take 1–50 classes per call and report each class as its own result.items entry. They only read, except source-export, which writes .java files under outputDir. source-search searches one artifact's indexed source for declarations by name, text inside files, or file paths, page by page; its mapping is the namespace of the query, so a Mojang class name finds the class in an obfuscated artifact, and status: "unavailable" marks a search without hits whose query could not be translated. The symbol tools (symbol-check, symbol-map, class-mappings, symbol-trace) read a Minecraft version's mappings and require mapping, the namespace your names are written in: the namespace is never assumed, so a Mojang name is not looked up as an obfuscated one and reported missing; symbol-check and symbol-map take 1–50 symbols per call. The comparison tools work between versions or on one version's generated data: version-compare answers with counts unless detail asks for the names, class-diff requires mapping like the symbol tools, and registry-read returns registry names and entry counts unless withData is set. The mod tools take the mod jar as jarPath: mod-inspect returns its metadata, mod-search searches its source, and mod-remap remaps a Fabric or Quilt jar, writing the output only with apply: true; read a mod's classes with source-read and member-list through target: { kind: "jar", jarPath }. The validation tools check a Loom project against Minecraft bytecode: mixin-validate takes exactly one of source, paths, configPaths, or discover: true and reports each mixin class, and project-validate finds and validates a workspace's mixin configs and access wideners and reports each file. Both read an omitted version and mapping from the project only when projectPath is given, never assume the mixins' namespace, and return status: "blocked" with a template next action when one cannot be read. access-validate checks one access widener or access transformer, given as content or path, entry by entry, and mixin-verify-target checks one method or field a mixin targets and advises @Shadow, @Accessor or @Invoker; both require mapping, the namespace of the names they check, and mixin-verify-target translates those names into the jar's namespace unless autoRemap: false. The NBT tools convert Java Edition NBT: nbt-decode turns base64 NBT bytes into a typed JSON document, nbt-patch applies RFC 6902 operations to that document, and nbt-encode writes it back as base64 NBT. cache-manage reports, lists, verifies and deletes the server's cache entries; delete needs a selector and only previews unless apply: true is set, and every action returns its entries or counts at every call. server-metrics returns the server's runtime counters, including how often each tool was called. See docs/tool-reference.md → Tool catalog for inputs, results, and the mapping from the 8.x tools, which stay callable as deprecated aliases.
Tool | Purpose | Replaces (8.x) |
| List Minecraft versions from Mojang metadata and mark the locally cached ones |
|
| Resolve a version, JAR, coordinate, workspace, or dependency target to a reusable artifact |
|
| Rebuild the cached file and symbol index of an artifact |
|
| List file paths inside an artifact with cursor pagination |
|
| Read one file inside an artifact with a byte limit |
|
| Find fully qualified class names from a simple or qualified name, including nested JARs |
|
| Read the source of 1-50 classes (outline, line window, or full file) from Minecraft, dependency, or mod JARs |
|
| Write the source of 1-50 classes as |
|
| List the bytecode constructors, fields, and methods of 1-50 classes with paging |
|
| Search an artifact's indexed source for declarations by name, text inside files, or file paths, with paging |
|
| Check whether 1-50 classes, fields, or methods exist in a Minecraft version's mappings |
|
| Map 1-50 class, field, or method names between namespaces, strictly by descriptor, or to a workspace's compile names |
|
| List one class and its members with their names in all four namespaces, with paging |
|
| Find the Minecraft versions in which a method exists |
|
| Count, and on request list, the classes, registry entries, and libraries added or removed between two Minecraft versions |
|
| Diff one class's constructors, methods, and fields between two Minecraft versions |
|
| Read a version's generated registries: names and entry counts, and the entries on request |
|
| Read a mod JAR's loader, metadata, entrypoints, mixin configs, dependencies, and nested JARs, and on request its class names |
|
| Search a mod JAR's Java source for class names, method and field declarations, or text |
|
| Remap a Fabric or Quilt mod JAR to Yarn or Mojang names (preview unless |
|
| Find and validate a Loom workspace's mixin configs, access wideners, and on request access transformers, with each file's status |
|
| Validate Mixin source, files, configs, or a project's discovered configs against a Minecraft version's bytecode |
|
| Validate one access widener or access transformer, given as text or a file, entry by entry against a Minecraft version's bytecode |
|
| Check that a mixin's target method or field exists in a JAR and get @Shadow, @Accessor, or @Invoker advice |
|
| Decode Java Edition NBT bytes (base64, gzip or uncompressed) into a typed JSON document |
|
| Encode a typed NBT JSON document into Java Edition NBT bytes as base64, optionally gzip-compressed |
|
| Apply RFC 6902 add, remove, replace, and test operations to a typed NBT JSON document |
|
| Summarize, list, verify, and delete the server's cache entries (delete previews unless |
|
| Read the server's runtime counters, including per-tool call counts and durations |
|
Names on 26.1+ Versions
For unobfuscated releases such as 26.1+, the runtime jar's names as shipped, the obfuscated namespace, are already Mojang names. mapping accepts both obfuscated and mojang, and both read the same names: source-read, member-list and the other tools that resolve a target to an artifact report result.artifact.mappingApplied: "mojang" for either, and for an omitted mapping, and artifact-resolve with detail: "full" shows provenance.unobfuscatedRuntime: true. artifact-resolve does not relabel requestedMapping, so requestedMapping: "obfuscated" next to mappingApplied: "mojang" is an identity, not a fallback. mapping: "mojang" takes the runtime/decompile path directly and skips Loom source-jar discovery. A target resolved with intermediary or yarn falls back to the runtime names with a warning and reports mojang; symbol-trace keeps reporting the requested namespace. This applies to version targets, Minecraft runtime coordinates, and jar targets whose own contents (a top-level version.json with a 26.1+ id, net/minecraft/SharedConstants.class, and no .java sources) prove a 26.1+ Minecraft runtime jar; see docs/tool-reference.md → Lookup Rules. Dependency jars whose own version only looks like 26.x keep obfuscated. cache-manage shows the label each entry was stored with, without relabelling it, and access-validate reports the vanilla jar it checked against as obfuscated in its provenance; see docs/tool-reference.md → Namespace Definitions.
Deprecated 8.x Tools
The 8.x tools below are deprecated aliases that still accept their 8.x inputs and are removed in 10.0.0 at the earliest. The server registers them only when its environment sets MCP_DEPRECATED_TOOLS=on; without it they are not listed, and a call to one fails as an unknown tool. A client that still calls 8.x tools keeps working with MCP_DEPRECATED_TOOLS=on while it moves each call to the catalog tool named below. docs/tool-reference.md → Deprecated 8.x tools documents them.
8.x tool | Replaced by |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Detailed parameter constraints, migration notes, resource behavior, and the full environment-variable matrix live in docs/tool-reference.md.
Development
Repository requirements:
Node.js 22.13.0+
pnpmJava 17+ when running remap or decompile flows locally
Setup and run the repository:
pnpm install
pnpm devBuild the packaged shape:
pnpm build
pnpm startAlways run:
pnpm check
pnpm testRun these when relevant:
pnpm test:file <path...>for focused ordinary suitespnpm test:grep <name-pattern>for recursive ordinary suites filtered by test namepnpm test:manual:stdio-smokefor MCP transport, registration, or manual workflow changespnpm test:manual:package-smokewhen checking packaged install and distribution behaviorpnpm test:perffor search, index, or performance-sensitive changespnpm test:coverageorpnpm test:coverage:lcovfor coverage checks (lines=80,branches=70,functions=80)pnpm validatefor the full local validation suite
Ordinary .test.ts files live in domain directories under tests/ (for example source-service/, entry-tools/, mapping/, mixin/, tools/, aliases/, contracts/, and utils/). Keep helper-only modules in tests/helpers; manual smoke, performance, and resource files remain in their existing special directories.
Acknowledgements
The
enclosingSymbolfield on content search hits was inspired by the design of zvec-grep. This project shares no code with zvec-grep and does not depend on it.
License
Available Tools
29 toolsaccess-validateARead-only
Check an access widener or access transformer against a Minecraft version's bytecode, entry by entry. Pass format, exactly one of content or path, version, and mapping (the file's namespace; required, it overrides a widener header). scope picks the jar; projectPath defaults it to loader. Example: {"format":"access-widener","path":"/p/m.accesswidener","version":"1.21.10","mapping":"intermediary"}
Inputs: format (required), mapping (required), version (required), path, +3 more.
artifact-indexAIdempotent
Rebuild the cached file and symbol index of an artifact. A target that is not cached yet is resolved and indexed first; force: true rebuilds an index that is already current.
Inputs: target (required), force.
artifact-resolveARead-only
Resolve a version, jar, coordinate, workspace or dependency target to a source artifact. Reuse result.artifact.artifactId in other tools as target {"kind":"artifact","artifactId":"..."}. The resolution options live only on this tool. Example: {"target":{"kind":"version","version":"1.21.10"}}
Inputs: target (required), detail, mapping, strictVersion, +4 more.
cache-manageADestructive
Summarize, list, verify or delete the server's cache entries (index, downloads, mappings, registries, decompiled source, remapped and nested jars, workspaces); each action returns entries or counts. delete needs a selector and previews unless apply is true: a preview deletes nothing and, if it finds entries, offers the apply call. Example: {"action":"delete","selector":{"version":"1.21.1"}}
Inputs: action (required), apply, limit, cursor, +2 more.
class-diffARead-only
Diff one class between two Minecraft versions: added, removed and modified constructors, methods and fields. mapping (required) is the namespace of className and the returned names. status: ok, not_found (in neither version), unavailable (mapping data could not be loaded). Example: {"className":"net.minecraft.world.item.Item","fromVersion":"1.21.1","toVersion":"1.21.10","mapping":"mojang"}
Inputs: mapping (required), className (required), toVersion (required), fromVersion (required), +1 more.
class-findARead-only
Find fully qualified class names by simple or qualified name in an artifact, including classes in nested jars. A nested class comes back as its binary name (a.b.Outer$Inner), which the source and member tools accept. status: ok (one class), ambiguous (several) or not_found. Example: {"target":{"kind":"version","version":"1.21.10"},"className":"Blocks"}
Inputs: target (required), className (required), limit, mapping.
class-mappingsBRead-only
List one class and its fields and methods with their names in all four namespaces (obfuscated, mojang, intermediary, yarn) for a Minecraft version. Pages with limit and cursor. Example: {"version":"1.21.10","className":"net.minecraft.world.item.Item","mapping":"mojang"}
Inputs: mapping (required), version (required), className (required), kinds, +2 more.
file-listARead-only
List the file paths inside an artifact, optionally under a path prefix. Pages with limit; pass meta.pagination.nextCursor as cursor for the next page.
Inputs: target (required), limit, cursor, prefix.
file-readARead-only
Read one file inside an artifact by its path: a source file, or a resource or data file of the backing jar. maxBytes caps the returned content; a cut is reported in meta.truncation. Example: {"target":{"kind":"version","version":"1.21.10"},"filePath":"net/minecraft/world/item/Item.java"}
Inputs: target (required), filePath (required), maxBytes.
member-listARead-only
List the constructors, fields and methods of 1-50 classes from an artifact's bytecode (Minecraft, dependency or mod jar). status: ok, partial (names from decompiled source only) or unavailable. Example: {"target":{"kind":"version","version":"1.21.10"},"classes":["net.minecraft.world.item.Item"]}
Inputs: target (required), classes (required), limit, access, +8 more.
mixin-validateARead-only
Validate Mixin classes against a Minecraft version's bytecode. Pass exactly one of source, paths, configPaths or discover:true (each *.mixins.json under projectPath). Without projectPath, version and mapping are required; with it, an omitted one is read from the project, else the call is blocked. Example: {"configPaths":["/p/src/main/resources/m.mixins.json"],"projectPath":"/p"}
Inputs: paths, scope, detail, source, +5 more.
mixin-verify-targetARead-only
Check that a mixin target method or field exists in the jar's bytecode, with @Shadow/@Accessor/@Invoker advice. Names are translated to the artifact's namespace (autoRemap). status: ok, ambiguous (overloads; add descriptor), not_found. Example: {"target":{"kind":"version","version":"1.21.10"},"className":"net.minecraft.world.entity.Entity","kind":"method","memberName":"tick","mapping":"mojang"}
Inputs: kind (required), target (required), mapping (required), className (required), +4 more.
mod-inspectARead-only
Read a mod jar's metadata: loader, id, name, version, entrypoints, mixins, access wideners and transformers, dependencies, nested jars, class count. withClasses adds each .class entry path with / as . (a class name except module-info, package-info, META-INF/versions/...) for source-read or member-list with target {"kind":"jar","jarPath":...}. Example: {"jarPath":"/mods/a.jar","withClasses":true}
Inputs: jarPath (required), withClasses.
mod-remapADestructive
Remap a Fabric or Quilt mod jar to yarn or mojang names. Previews unless apply is true: the preview writes nothing and reports outputJar and outputExists; apply writes outputJar, replacing an existing file (a remap needs Java and downloads mappings). An outputJar equal to jarPath is rejected. Example: {"jarPath":"/mods/example-1.0.0.jar","toMapping":"mojang"}
Inputs: jarPath (required), toMapping (required), apply, force, +2 more.
mod-searchARead-only
Search a mod jar's Java source with a case-insensitive regular expression (else literal text): class names, method and field declaration lines, other lines. A sources jar is read directly; a binary jar is decompiled first (cached; needs Java). Hits: {type, name, file, line?, context?}. Example: {"jarPath":"/mods/example-1.0.0.jar","query":"onInitialize","searchType":"method"}
Inputs: query (required), jarPath (required), limit, searchType.
nbt-decodeARead-only
Decode Java Edition NBT bytes (base64, gzip or uncompressed) into a typed JSON document {rootName, root}, where every node is {type, value} and long values are decimal strings. Example: {"nbtBase64":"CgABUgMABmFuc3dlcgAAACoA"}
Inputs: nbtBase64 (required), compression.
nbt-encodeARead-only
Encode a typed NBT JSON document, as nbt-decode returns it, into Java Edition NBT bytes as base64, uncompressed or gzip. A malformed document fails with ERR_NBT_INVALID_TYPED_JSON naming the node. Example: {"typedJson":{"rootName":"R","root":{"type":"compound","value":{"answer":{"type":"int","value":42}}}},"compression":"gzip"}
Inputs: typedJson (required), compression.
nbt-patchARead-only
Apply RFC 6902 add, remove, replace and test operations in order to a typed NBT JSON document; returns the new document. value is the JSON put at path: a typed node {type, value} at a node's path. Every operation must leave valid typed NBT; a failed test fails with ERR_JSON_PATCH_CONFLICT. Example: {"typedJson":{...},"patch":[{"op":"replace","path":"/root/value/answer/value","value":7}]}
Inputs: patch (required), typedJson (required).
project-validateARead-only
Find and validate a Loom workspace's mixin configs and access wideners (access transformers on request) and report each file's status. version and mapping default to the project's (gradle.properties, build script); when one is needed and cannot be read, the call is blocked. Long-running. Example: {"projectPath":"/path/to/project"}
Inputs: projectPath (required), scope, detail, mapping, +2 more.
registry-readARead-only
Read a Minecraft version's generated registries (block, item, ...): names and entry counts, plus each registry's entries with withData. The first read of a version downloads its server jar and runs the game's data generator (needs Java). Example: {"version":"1.21.10","registry":"block","withData":true,"limit":50}
Inputs: version (required), limit, registry, withData.
server-metricsARead-only
Runtime counters of this server process since it started: per-tool call counts and durations, cache, search and index counters, and latency timings. Takes no input. Example: {}
Inputs: no named parameters.
source-exportADestructiveIdempotent
Write the Java source of 1-50 classes from one artifact to //.java, creating directories and overwriting existing files; a nested class writes its top-level class's file. Example: {"target":{"kind":"version","version":"1.21.10"},"classes":["net.minecraft.world.item.Item"],"outputDir":"/tmp/src"}
Inputs: target (required), classes (required), outputDir (required), mode, +2 more.
source-readARead-only
Read the Java source of 1-50 classes from one artifact (Minecraft, dependency or mod jar): a member outline (mode metadata), a line window (snippet) or the whole file (full). Read-only; source-export writes files. Example: {"target":{"kind":"version","version":"1.21.10"},"classes":["net.minecraft.world.item.Item"],"mode":"snippet"}
Inputs: target (required), classes (required), mode, endLine, +6 more.
source-searchARead-only
Search one artifact's indexed source: declarations by name (intent symbol, default), file text (text) or file paths (path). status: ok, not_found, partial (search incomplete) or unavailable (no hit and query not translated from mapping, or a Jar-in-Jar shell). Pages with cursor. Example: {"target":{"kind":"version","version":"1.21.10"},"query":"BlockPos"}
Inputs: query (required), target (required), limit, match, +9 more.
symbol-checkARead-only
Check whether 1-50 classes, fields or methods exist in a Minecraft version's mappings. mapping (required) is the namespace the names are written in. Item status: ok, not_found, ambiguous, unavailable. Example: {"target":{"kind":"version","version":"1.21.10"},"mapping":"mojang","symbols":[{"kind":"class","className":"net.minecraft.world.item.Item"}]}
Inputs: target (required), mapping (required), symbols (required), nameMode, +2 more.
symbol-mapARead-only
Map 1-50 class, field or method names from mapping to toMapping for a Minecraft version. exact: true maps methods strictly by owner, name and descriptor. A workspace target without toMapping maps to the names the project compiles against. Example: {"target":{"kind":"version","version":"1.21.10"},"mapping":"obfuscated","toMapping":"mojang","symbols":[{"kind":"class","className":"dhl"}]}
Inputs: target (required), mapping (required), symbols (required), exact, +5 more.
symbol-traceARead-only
Scan Minecraft versions for one method: first and last versions with it, versions between that lack it, and whether the newest scanned has it. status: ok, not_found, unavailable (nothing could be checked). Example: {"symbol":{"kind":"method","className":"net.minecraft.server.MinecraftServer","memberName":"tickServer"},"mapping":"mojang","toVersion":"1.21.10"}
Inputs: symbol (required), mapping (required), toVersion, fromVersion, +3 more.
version-compareARead-only
Compare two Minecraft versions: added and removed classes, registry entries and, with withLibraries, libraries. Answers with counts unless detail asks for lists (standard: class and library names; full: also registry entries). status: ok, partial (a part failed), not_found (no such registry). Example: {"fromVersion":"1.21.1","toVersion":"1.21.10","packageFilter":"net.minecraft.world.item"}
Inputs: toVersion (required), fromVersion (required), limit, detail, +4 more.
version-listBRead-only
List Minecraft versions from Mojang's version manifest: releases, then snapshots, each newest first, with the latest release and snapshot and the versions already cached locally.
Inputs: limit, includeSnapshots.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 29 tools
Most tools have clearly distinct purposes scoped by resource and action, and the descriptions help separate similar pairs. Minor ambiguity remains between source-search and mod-search, and between symbol-check, symbol-map, and class-mappings, but these are unlikely to cause frequent misselection.
The set follows a consistent kebab-case resource-action convention (e.g., file-list, source-read, mod-inspect) with predictable vocabulary. A few outliers lack a verb or use noun-noun/three-word forms (server-metrics, class-mappings, mixin-verify-target), but the overall pattern is readable and stable.
At 29 tools, the surface is well above the 25+ threshold and is heavy for an agent to navigate, even though the domain is broad. Each tool covers a distinct capability, but the set would benefit from grouping or reducing the surface.
Coverage is broad across versions, artifacts, sources, mappings, NBT, mods, and validation workflows, with few obvious dead ends. Minor gaps exist around writing/general file output and build/run workflows, but the core modding-analysis lifecycle is well covered.
Maintenance
Related MCP Connectors
Find, compare, and audit software for AI agents. Scored registry of tools and MCP servers.
An MCP server that gives your AI access to the source code and docs of all public github repos
Official Duck Framework MCP server for AI-assisted development and project scaffolding.
Scan AI agent skills, MCP server packages and MCP configs before you install them. Static analysis.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA Model Context Protocol server that gives AI assistants native access to Minecraft mod development tools — decompile, remap, search, and analyze Minecraft source code directly from your AI workflow.149 npm49MIT
- FlicenseNot gradedqualityDmaintenanceProvides structural code intelligence via 26 MCP tools, enabling AI assistants to query code symbols, dependencies, and call graphs accurately without file-pasting.-
- AlicenseAqualityDmaintenanceEnables exploration and decompilation of Minecraft source code, allowing users to list versions, search classes, and decompile .class files on-the-fly.32MIT
- AlicenseAqualityDmaintenanceEnables AI agents to search Minecraft obfuscated name mappings (class, method, field) across 38 versions, aiding modding, plugin development, and reflection.12MIT