@graphty/babylonjs-inspector-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | No | Gemini API key. When unset, the babylonjs_scene_analyze tool is not registered. | |
| BABYLONJS_INSPECTOR_HOST | No | Interface 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_PORT | No | Port for the HTTP + WebSocket server. Must be 1-65535 or startup fails with an explicit error. | 9070 |
| BABYLONJS_INSPECTOR_LOG_LEVEL | No | One of debug, info, warn, error. Validated at startup, but no logger reads it yet. | info |
| BABYLONJS_INSPECTOR_SCREENSHOT_DIR | No | Directory for screenshot output. Read with a default applied, but not validated and not yet consumed by any code path. | ./tmp/screenshots |
| BABYLONJS_INSPECTOR_ALLOWED_ORIGINS | No | Comma-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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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