McInsight 0.1.0-beta.5 (fabric, 1.21.1)
Curse Maven Snippet
What's new
Breaking
- Endpoints now say where their data can be read instead of assuming one answer for every version:
trades_queryisCOMPOSITEbecause a 1.21.1 client holds the trade listings and rolls them itself while 26.x keeps the trade sets and the server level that rolls them on the world owner; that version answers by fetchingserver_trades_queryas one part. A composite answer fetches every owner-only fragment throughdata/ServerParts, and bridge exposure is exactlydataScope == SERVER_DATA— a composite endpoint is not asked over the bridge, its declaredserver_*parts are. - The bridge-only parts are declared together:
server_looking_at_block_entity,server_scan_block_entities,server_recipes_types,server_recipes_query,server_player_ender_chest,server_trades_query. A part that cannot be read appears undermissing; only when nothing at all could be read does the request fail, so an empty page always means "no match". - Error vocabulary follows the caller's next move:
VIEWER_CANNOT_RENDER(503) is new for a viewer that is active but cannot draw, distinct fromVIEWER_UNAVAILABLE(not active); a session without a registry/datapack view isDATA_UNAVAILABLE(wasSERVER_MOD_REQUIRED); a game-thread timeout isDATA_UNAVAILABLE(was split withINTERNAL_ERROR). modIdon a recipe row names the recipe id's namespace; the recipe type's namespace is still whatmod=also matches. An ingredient'samountis the number that slot requires, and is omitted when the viewer does not know it.metricskeys endpoints by id and splits each intohttpandbridge; the old path-keyed shape and the/bridge/<id>key are gone.- Tool output drops the request echo:
mc_query_world_datano longer adds its ownkind(the mod'skindon worldgen rows stays), andmc_query_recipesno longer echoeslimit/offset.mc_inspectrejectslimit/offsetfor a registry entry, andmc_render_recipe/mc_observe_worldno longer pre-reject values the mod itself clamps or rejects (limitabove the endpoint maximum,maxDistance,radius).
Added
- A recipe slot whose alternatives a registry tag names exactly is reported as
{count, tag}instead of the expanded list, so an armour-trim recipe no longer ships 238 item descriptions per slot (and again per trim pattern); a slot too long to list and not named by a tag is{count, explicit: true, sample}, bounded by the newmaxRecipeAlternativesconfig key (default32, hard maximum256). - Every recipe row carries
action:transformwhen an input slot accepts exactly the items an output slot emits (anvil enchanting, armour trimming, repair, brewing),produceotherwise.recipes_queryselects on it withaction=produce|transform, whereproducekeeps every recipe not proven to transform, including those whose output could not be identified. - Consecutive viewer rows that agree on every slot and differ only in one component arrive folded as one row with
variantAxis,variantCount, andvariants[]of{value, recipeId?}, with the varying component left out of the row's slot, so an anvil's per-enchantment rows are read once instead of seventeen times. Viewer pages now countlimitin rows and reportnextOffset, the recipe offset that continues the page. - Extended
mc_search_registry,mc_inspect, andItemFilterwithpotion,mob_effect,attribute,enchantment, andbiome(*_tagand dynamic world registries), enriched block/entity metadata (lootTable,explosionResistance,lightEmission,defaultStateProperties,defaultAttributes), playerattributes, rich active effect metadata, integrated/bridgedenderChest, and containerdataSlots. - Added brewing recipe indexing (
PotionBrewingvia type-based reflection on<26.3,BrewingRecipeon>=26.3),SERVER_RECIPES_TYPES/SERVER_RECIPES_QUERYmultiplayer recipe bridging for26.x,recipeIdfiltering onmc_render_recipe,structure_set/level_stemworldgen queries,mc_status(includeMetrics), pack script/config//saves/*/serverconfig//.zipdatapack browsing and reading viamc_inspect_code(action="read_resource", scope="pack_scripts"), and line/character range slicing (startLine,endLine,maxChars) onread_resourceanddecompile. - Bundled production
node_modules/in release MCP server archives (mcinsight-mcp-server-*) for offline execution and deduplicatedsync-modrinth-metadatain the release workflow.
Changed & Security
- Registry reads, viewer cache invalidation, and block-entity enumeration each go through one path: every collector reads the same session snapshot (a session with no view is re-probed rather than cached), the three viewer adapters share one cache epoch, and a block-entity scan applies one filter and one cap whether the integrated server or the bridge answers it.
- Hardened mod and MCP HTTP servers (loopback
Host,Origin, andSec-Fetch-Sitevalidation on mod endpoints and MCP/mcp&/health, constant-time bearer comparison, packet-bridge exposure restricted toSERVER_DATAendpoints, per-player concurrency limits, and disconnect cleanup). - Fixed atomic
GenerationalCacheentry updates, active reload purging viaCacheGenerations, render-thread cancellation & GPU readback buffer leaks, integrated-server dimension detection, and Vineflower ZIP extraction containment /realpathboundary checks. - Removed
modsDir/gameDirparameters frommc_inspect_code(startup--mods-dir/--game-dirflags or live mod discovery only) and pruned redundant generic machine recipe parsers so only non-obvious custom formats (create:sequenced_assembly,ae2:inscriber,ars_nouveau:imbuement,ars_nouveau:enchanting_apparatus) are pre-parsed. - Removed the
ponderguide source: Create registers its Ponder scenes in code and ships only structure NBT underassets/*/ponder/, so the source could only ever answertotal: 0.mc_guidesno longer advertises it. mc_observe_world'sfilternow says it narrows the listings (matchedBlocks,blockEntities,nearbyEntities) whileblockSummaryalways counts every block in the radius.
Fixed
mc_inspecton any tag failed withINTERNAL_ERROR: the auto lookup asked every registry kind for a built-in registry, andenchantmentandbiomehave none. A kind now answers existence and tag membership from the same index search uses, so inspecting an enchantment or biome by ID or#tagworks instead of throwing.- Villager trades could not be read on
26.xat all: the wandering trader's offers are not levelled, and attaching one to its level unboxed the absent value while the trade index was being built.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

