Skip to main content
Glama
apowers313

@graphty/babylonjs-inspector-mcp

by apowers313

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYNoGemini API key. When unset, the babylonjs_scene_analyze tool is not registered.
BABYLONJS_INSPECTOR_HOSTNoInterface the server binds to. Loopback by default so the bridge is not reachable from other machines. Must be non-empty.127.0.0.1
BABYLONJS_INSPECTOR_PORTNoPort for the HTTP + WebSocket server. Must be 1-65535 or startup fails with an explicit error.9070
BABYLONJS_INSPECTOR_LOG_LEVELNoOne of debug, info, warn, error. Validated at startup, but no logger reads it yet.info
BABYLONJS_INSPECTOR_SCREENSHOT_DIRNoDirectory for screenshot output. Read with a default applied, but not validated and not yet consumed by any code path../tmp/screenshots
BABYLONJS_INSPECTOR_ALLOWED_ORIGINSNoComma-separated list of extra browser origins allowed to open a WebSocket. Loopback origins are always allowed. '*' disables the check.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
babylonjs_connection_statusA

Check the current connection state of the BabylonJS inspector. Returns whether a browser is connected, the engine type, rendering capabilities, and which tool categories are available.

babylonjs_scene_inspectA

Inspect the BabylonJS scene. Use 'summary' for an overview, 'full' for complete scene graph, or drill into specific categories: meshes, mesh_detail, materials, material_detail, cameras, lights, animations, textures, physics, post_processing, performance, scene_tree, webgl_errors. Use 'target' for specific items and 'filter' for glob-based name filtering.

babylonjs_scene_evaluateA

Execute a JavaScript function against the BabylonJS scene. The function receives (scene, engine, BABYLON) as arguments. Return values are serialized to JSON. Use this for custom queries or operations not covered by other tools.

babylonjs_screenshotA

Capture one or more screenshots of the BabylonJS scene. Supports multiple preset camera angles, depth maps, and custom camera positions. Screenshots are saved to the tmp/ directory and file paths are returned. Only available when a browser with rendering is connected.

babylonjs_spector_captureA

Capture a WebGL frame using Spector.js for low-level rendering inspection. Returns draw call count, shader source code, WebGL state, texture bindings, and performance data. Only available when a browser with WebGL is connected.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/apowers313/babylonjs-inspector-mcp'

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