jsonui-render
jsonui-render-mcp
Minecraft BedrockのJSON UI画面を描画するMCPサーバーで、リソースパックのレイアウトをデバイスなしで確認できます。
作成したパックとMojangの実際のUIファイルを読み込み、@の継承と$variablesを展開し、推測せずに未実装のものを報告します。
セットアップ
pip install mcp pillowその後、setup_samplesツールを一度呼び出します。バニラのUI定義とテクスチャのためにMojang/bedrock-samplesをスパースクローンします。Mojangのものはここには同梱されていません。
環境変数:
変数 | デフォルト | 説明 |
|
| 上記のクローン |
|
|
|
登録:
{
"mcpServers": {
"jsonui-render": {
"command": "python3",
"args": ["/path/to/jsonui-render-mcp/server.py"]
}
}
}Related MCP server: Datapack MCP Server
ツール
ツール | 説明 |
| MojangのUIファイルをクローン |
| パックダンプが定義する画面 |
| フォームのキャプションとアイコン付きで1つ描画 |
| Mojang自身のものを含め、名前で任意のコントロールを描画 |
| アンカールールをMojangのダイアログに適用 |
パックダンプ
render_screenはビルドが書き出すディレクトリを読み取ります:
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]知っておくべき2つのこと
layerは兄弟グループ内でのみ順序を決め、それ以上には影響しません。画面全体の深度と累積的な深度はどちらももっともらしく見えますが、どちらもデバイスと矛盾します。アンカールールは次のとおりです。子の
anchor_toポイントが親のanchor_fromポイントに重なり、その後オフセットが適用されます。check_anchorsはレンダラーをこのルールに従わせます。
まだできないこと
フォームのキャプションとテクスチャ以外のバインディング。
%cmは最大の子ではなくコンテンツサイズとして読み取られます。アイテム画像はバニラのパスのみから取得されます。
デバイスが依然として正解です。両者が一致しない場合、こちらが間違っています。
This server cannot be deployed
Maintenance
Related MCP Connectors
Write Polyxd UI documents, check them, and show them as real screens in any design-system pack.
Checks whether generated Minecraft Bedrock content will actually load. Nine read-only tools.
Browse, inspect and render Jetpack Compose Material 3 and Wear component catalogs.
Generate authentic pixel art - sprites, animations, and tilesets - from any MCP client
Related MCP Servers
- AlicenseBqualityAmaintenanceLocal MCP server for parsing Sketch exported HTML zip archives and extracting design structure information.123 npm5MIT
- AlicenseNot gradedqualityDmaintenanceValidates Minecraft datapack JSON files (recipes, advancements, loot tables, etc.) against official Minecraft data formats using Spyglass.MIT
- AlicenseNot gradedqualityCmaintenanceEnables reading, validating, and managing Minecraft resource packs, including structure checks, asset listing, pack comparison, and Modrinth queries.MIT
- AlicenseBqualityBmaintenanceEnables generating NBT structures, placing them in superflat worlds, capturing labeled screenshots, and exporting clean datapacks through MCP.131MIT