Skip to main content
Glama

jsonui-render-mcp

Minecraft BedrockのJSON UI画面を描画するMCPサーバーで、リソースパックのレイアウトをデバイスなしで確認できます。

作成したパックとMojangの実際のUIファイルを読み込み、@の継承と$variablesを展開し、推測せずに未実装のものを報告します。

セットアップ

pip install mcp pillow

その後、setup_samplesツールを一度呼び出します。バニラのUI定義とテクスチャのためにMojang/bedrock-samplesをスパースクローンします。Mojangのものはここには同梱されていません。

環境変数:

変数

デフォルト

説明

BEDROCK_SAMPLES

~/.cache/bedrock-samples

上記のクローン

MINECRAFT_FONT

~/.aseprite-mcp/fonts/minecraft

font.jsonascii.pngを含むフォルダ

登録:

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

Related MCP server: mcp-sketch

ツール

ツール

説明

setup_samples

MojangのUIファイルをクローン

list_screens

パックダンプが定義する画面

render_screen

フォームのキャプションとアイコン付きで1つ描画

render_control

Mojang自身のものを含め、名前で任意のコントロールを描画

check_anchors

アンカールールを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は最大の子ではなくコンテンツサイズとして読み取られます。

  • アイテム画像はバニラのパスのみから取得されます。

デバイスが依然として正解です。両者が一致しない場合、こちらが間違っています。

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Generate authentic pixel art - sprites, animations, and tilesets - from any MCP client

  • JSON tools MCP.

  • MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Deichor/jsonui-render-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server