Skip to main content
Glama
Game HUD & UI Advisor MCP

Game HUD & UI Advisor MCP

Game HUD & UI Advisor MCP

A read-only stdio MCP server for grounded, provenance-aware in-game UI & HUD design advice — built for AI coding agents creating browser/Three.js games and cross-engine HUDs.

Modeled on the safety and provenance architecture of html-design-advisor-mcp, this server pairs an original game-UI taxonomy and pattern catalog with read-only discovery of local game/Three.js repositories and inert static auditing of local HUD files.

This project is released under the MIT License. Original code, documentation, and pattern blueprints are MIT-licensed; third-party assets and external references retain their own terms.

Showcase: cel-ocean-racer HUD Concept

Example HUD concept generated from game-hud-ui-advisor recommendations (racing-arcade-hud + threejs-dom-overlay-hud + cel-shaded-stylized) for a cel-shaded Three.js ocean boat racer, rendered as a real DOM/SVG overlay and verified with audit_local_game_ui (0 findings):

Cel-shaded Ocean Racer HUD Concept

Sample brief passed to recommend_game_ui & get_game_ui_guidance:

  • screen_or_hud: "racing HUD speedometer lap timer boost meter buoy waypoints minimap"

  • genre: "racing-flight"

  • visual_direction: "threejs cel-shaded stylized vibrant ocean crisp ink outlines"

  • Result: Ranks racing-arcade-hud #1 and threejs-dom-overlay-hud #2, excludes action-combat-hud (non-combat racing mismatch), activates cel-shaded-stylized + threejs-webgl-hud guidance, and passes audit_local_game_ui with pointer-events: none canvas passthrough, user-select: none, tabular-nums, :focus-visible, prefers-reduced-motion, and zero backdrop-filter: blur(...) overhead.

Related MCP server: threejs-devtools-mcp

Game UI Database Policy (No Scraping)

Game UI Database has no public API, showcases copyrighted game studio UIs, and explicitly prohibits automated AI scraping, harvesting, or asset generation. Accordingly, this MCP never fetches, scrapes, or redistributes Game UI Database pages or screenshots. Instead, it cites gameuidatabase.com strictly as a human look-don't-copy visual-study pointer with suggested manual search keywords alongside open-licensed resources (Kenney CC0, Game-icons.net CC BY 3.0, Three.js MIT).

Tools & Resources

  • search_game_ui_patterns(query, category="", limit=8): Search original HUD/menu blueprints and optional validated local catalog entries.

  • recommend_game_ui(...): Map screen/HUD job, genre, input modality (kbm, gamepad, touch, vr), visual direction, diegetic preference, constraints, and accessibility needs to ranked patterns, safe-zone layouts, explicit conflict exclusions, and human study keywords.

  • list_game_ui_references(): Non-recursive, read-only inventory of sibling game and Three.js projects with license pointers. Copy references.local.json.example → references.local.json (gitignored) to include private local repositories on your machine.

  • get_game_ui_guidance(brief=""): Core game-UI principles plus opt-in direction packs (threejs-webgl-hud, cel-shaded-stylized, minimal-diegetic, tactical-4x-dense, vr-spatial-hud, unity-godot-engine, retro-pixel).

  • audit_local_game_ui(path): Root-jailed, inert (<= 1 MB) static heuristic check for .html, .htm, .css, .js, .mjs, .jsx, and .tsx HUD files (checks pointer-events canvas passthrough, user-select: none, tiny <12px HUD text, :focus-visible, prefers-reduced-motion, excessive backdrop-filter: blur(...), etc.).

  • Resources: game-ui-advisor://sources, game-ui-advisor://taxonomy, game-ui-advisor://local-assets.

Development

Python 3.11+ required.

Windows (PowerShell):

uv venv .venv
uv pip install --python .\.venv\Scripts\python.exe -e ".[test]"
.\.venv\Scripts\python.exe -m pytest -q
.\.venv\Scripts\python.exe -m game_hud_ui_advisor

macOS / Linux:

python3 -m venv .venv
.venv/bin/python -m pip install -e ".[test]"
.venv/bin/python -m pytest -q
.venv/bin/python -m game_hud_ui_advisor

MCP Client Configuration

Point your MCP client at the virtual environment's Python interpreter (using your local repository path):

{
  "mcpServers": {
    "game-hud-ui-advisor": {
      "command": "<path-to-game-hud-ui-mcp>/.venv/Scripts/python.exe",
      "args": ["-m", "game_hud_ui_advisor"]
    }
  }
}

(On macOS/Linux, use <path-to-game-hud-ui-mcp>/.venv/bin/python.)

Available Tools

5 tools
audit_local_game_uiB

Review one explicitly selected local game UI/HUD file as inert text under GAME_HUD_UI_AUDIT_ROOT.

Inputs: path (required). Returns: object

get_game_ui_guidanceB

Return core game-UI design principles and activate opt-in direction pack(s) if explicitly requested.

Inputs: brief. Returns: object

list_game_ui_referencesB

Summarize local sibling game and Three.js reference repositories (read-only, non-recursive).

Inputs: no named parameters. Returns: object

recommend_game_uiC

Recommend grounded HUD/menu patterns, safe-zone layouts, exclusions, and study keywords.

Inputs: screen_or_hud (required), genre, limit, constraints, +4 more. Returns: object

search_game_ui_patternsC

Search curated in-game HUD/menu blueprints and optional validated local catalog entries.

Inputs: query (required), limit, category. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool occupies a reasonably distinct slot: retrieval (search_game_ui_patterns), synthesis (recommend_game_ui), static knowledge (get_game_ui_guidance), filesystem listing (list_game_ui_references), and file review (audit_local_game_ui). The weakest boundary is between search and recommend, and between recommend and guidance, but the descriptions (grounded blueprints vs. core principles vs. concrete recommendations) give an agent enough signal to choose correctly.

    Naming Consistency5/5

    All five tools follow a uniform snake_case verb_noun pattern (search_, recommend_, list_, get_, audit_) with the shared domain prefix game_ui. No mixed conventions or vague verbs anywhere in the set.

    Tool Count5/5

    Five tools is a tight, well-scoped surface for a read-only advisory server: discovery, recommendation, reference listing, principles, and local audit. Every tool maps to a distinct step in the advisory workflow with no filler.

    Completeness4/5

    The surface covers the advisory lifecycle from discovery through recommendations to auditing a local file, which is solid for a read-only guidance server. Minor gap: there is no tool to fetch the full details of a specific pattern or blueprint returned by search, so agents must re-query rather than expand a result.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI coding assistants to inspect frontend projects, search a curated design and motion recipe catalog, prepare and preview structured design plans, apply changes with backups and rollback, capture previews, audit UI accessibility and performance, and monitor activity via a web dashboard.
      -
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to inspect a running Three.js scene in the browser and try out live edits to objects, materials, shaders, lights, camera and animation without touching project files. Every change is recorded and can be exported as ready-to-paste vanilla Three.js or React Three Fiber code, alongside performance audits and frame capture.
      6,808 npm
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables coding agents to ground UI work in real product screens by finding concrete references, materials, and design-system details through a catalogue. It also provides bundled workflow resources, command prompts, and local diagnostics so agents can build and verify interfaces.
      -
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables coding agents to ground UI work in real product screens by searching a catalogue for concrete screen references and design materials such as fonts, icons, and animated icons, then pulling the colors, typography, components, and provenance behind a chosen web screen. It also serves bundled skill documents, command playbooks, and connection diagnostics so an agent can settle a screen's states and acceptance criteria before building and verify the rendered result afterward.
      MIT