jsonui-render

jsonui-render

Enables viewing Minecraft Bedrock JSON UI screens without a device, by reading resource packs and rendering the layout.

Category
Visit Server

README

jsonui-render-mcp

An MCP server that draws Minecraft Bedrock JSON UI screens, so a resource pack's layout can be looked at without a device.

It reads the pack you produced and Mojang's real UI files, expands @ inheritance and $variables, and reports anything it does not implement instead of guessing.

Setup

pip install mcp pillow

Then call the setup_samples tool once. It sparse-clones Mojang/bedrock-samples for the vanilla UI definitions and textures. Nothing from Mojang is bundled here.

Environment:

Variable Default What
BEDROCK_SAMPLES ~/.cache/bedrock-samples the clone above
MINECRAFT_FONT ~/.aseprite-mcp/fonts/minecraft a folder with font.json, ascii.png

Register it:

{
  "mcpServers": {
    "jsonui-render": {
      "command": "python3",
      "args": ["/path/to/jsonui-render-mcp/server.py"]
    }
  }
}

Tools

Tool What
setup_samples clone Mojang's UI files
list_screens the screens a pack dump defines
render_screen draw one, with the form's captions and icons
render_control draw any control by name, including Mojang's own
check_anchors hold the anchor rule to Mojang's dialogs

The pack dump

render_screen reads a directory your build writes:

controls.json          name -> control
screens.json           [{name, width, height, body, title, background, marker}]
textures/*.png         your own textures, flat
textures/nineslice.json   name -> border, as an int or [l, t, r, b]

Two things worth knowing

  • layer orders a sibling group and nothing wider. A screen-wide depth and an accumulating one both look plausible and both contradict a device.
  • The anchor rule is: the child's anchor_to point lands on the parent's anchor_from point, then the offset applies. check_anchors holds the renderer to it.

What it does not do yet

  • Bindings other than a form's caption and texture.
  • %cm is read as the content size, not the largest child.
  • Item pictures come from vanilla paths only.

A device is still ground truth. When the two disagree, this is wrong.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured