promotional bannermobile promotional banner

McInsight — AI MCP Bridge

McInsightMCP connects MCP-compatible AI assistants directly to your running game. Skip outdated wikis—your AI can look up real modpack recipes, see what block you're looking at, check inventory, read guidebooks and quests, and inspect how mods work.
Back to Files

McInsight 0.1.0-beta.5 (fabric, 26.1.2)

File namemcinsight-fabric-26.1.2-0.1.0-beta.5.jar
Uploader
minetakeminetake
Uploaded
Nov 27, 2026
Downloads
7
Size
598.6 KB
Mod Loaders
Fabric
File ID
9846689
Type
B
Beta
Supported game versions
  • 26.1.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:mcinsightmcp-1828095:9846689"

Learn more about Curse Maven

What's new

Breaking

  • Endpoints now say where their data can be read instead of assuming one answer for every version: trades_query is COMPOSITE because 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 fetching server_trades_query as one part. A composite answer fetches every owner-only fragment through data/ServerParts, and bridge exposure is exactly dataScope == SERVER_DATA — a composite endpoint is not asked over the bridge, its declared server_* 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 under missing; 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 from VIEWER_UNAVAILABLE (not active); a session without a registry/datapack view is DATA_UNAVAILABLE (was SERVER_MOD_REQUIRED); a game-thread timeout is DATA_UNAVAILABLE (was split with INTERNAL_ERROR).
  • modId on a recipe row names the recipe id's namespace; the recipe type's namespace is still what mod= also matches. An ingredient's amount is the number that slot requires, and is omitted when the viewer does not know it.
  • metrics keys endpoints by id and splits each into http and bridge; the old path-keyed shape and the /bridge/<id> key are gone.
  • Tool output drops the request echo: mc_query_world_data no longer adds its own kind (the mod's kind on worldgen rows stays), and mc_query_recipes no longer echoes limit/offset. mc_inspect rejects limit/offset for a registry entry, and mc_render_recipe / mc_observe_world no longer pre-reject values the mod itself clamps or rejects (limit above 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 new maxRecipeAlternatives config key (default 32, hard maximum 256).
  • Every recipe row carries action: transform when an input slot accepts exactly the items an output slot emits (anvil enchanting, armour trimming, repair, brewing), produce otherwise. recipes_query selects on it with action=produce|transform, where produce keeps 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, and variants[] 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 count limit in rows and report nextOffset, the recipe offset that continues the page.
  • Extended mc_search_registry, mc_inspect, and ItemFilter with potion, mob_effect, attribute, enchantment, and biome (*_tag and dynamic world registries), enriched block/entity metadata (lootTable, explosionResistance, lightEmission, defaultStateProperties, defaultAttributes), player attributes, rich active effect metadata, integrated/bridged enderChest, and container dataSlots.
  • Added brewing recipe indexing (PotionBrewing via type-based reflection on <26.3, BrewingRecipe on >=26.3), SERVER_RECIPES_TYPES/SERVER_RECIPES_QUERY multiplayer recipe bridging for 26.x, recipeId filtering on mc_render_recipe, structure_set/level_stem worldgen queries, mc_status(includeMetrics), pack script/config//saves/*/serverconfig//.zip datapack browsing and reading via mc_inspect_code(action="read_resource", scope="pack_scripts"), and line/character range slicing (startLine, endLine, maxChars) on read_resource and decompile.
  • Bundled production node_modules/ in release MCP server archives (mcinsight-mcp-server-*) for offline execution and deduplicated sync-modrinth-metadata in 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, and Sec-Fetch-Site validation on mod endpoints and MCP /mcp & /health, constant-time bearer comparison, packet-bridge exposure restricted to SERVER_DATA endpoints, per-player concurrency limits, and disconnect cleanup).
  • Fixed atomic GenerationalCache entry updates, active reload purging via CacheGenerations, render-thread cancellation & GPU readback buffer leaks, integrated-server dimension detection, and Vineflower ZIP extraction containment / realpath boundary checks.
  • Removed modsDir/gameDir parameters from mc_inspect_code (startup --mods-dir/--game-dir flags 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 ponder guide source: Create registers its Ponder scenes in code and ships only structure NBT under assets/*/ponder/, so the source could only ever answer total: 0. mc_guides no longer advertises it.
  • mc_observe_world's filter now says it narrows the listings (matchedBlocks, blockEntities, nearbyEntities) while blockSummary always counts every block in the radius.

Fixed

  • mc_inspect on any tag failed with INTERNAL_ERROR: the auto lookup asked every registry kind for a built-in registry, and enchantment and biome have none. A kind now answers existence and tag membership from the same index search uses, so inspecting an enchantment or biome by ID or #tag works instead of throwing.
  • Villager trades could not be read on 26.x at 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.

This mod has no additional files