
firekula/mcp-inspector-bridge
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
MCP Inspector Bridge — A modern runtime node review and AI bridge plugin specially designed for Cocos Creator 2.4.x. Built with Vue 3 + TypeScript, a dual-column debug panel integrating node tree search, bidirectional attribute editing, DrawCall rendering diagnostics, memory analysis, and screen pick highlighting.
Overview
Based on the Vue 3 + Electron BrowserView architecture, it offers a dual-column immersive debugging experience: game preview on the left, node tree/property check/DevTools/performance analysis on the right, completely solving the deadlock hanging issue with the original Chromium DevTools. - Cocos Creator (widely compatible with the official original and special high-version environment modified to Electron 14+) - Node.js ≥ 14 1. Open any scene in Cocos Creator 2. Menu bar → → 3. Click the button, and the plugin panel will automatically capture the game preview and load the node tree The main panel is built with Vue 3, with the Webview rendering game viewport on the left and the multifunctional debug tab integrated on the right, delivering an immersive "review while playing" experience. Based on preloaded scripts (preload.ts), non-intrusive probe injection is delivered to game runtime, capturing the complete node tree structure in real time. - : Supports AND logical matching for space-segmented words, allowing penetration to component class name hierarchical search (e.g., entering Animation to locate all nodes mounting the component) - : Search results only show hit nodes and their direct descendants, automatically hiding unrelated branches - : Clicking a blank area clears all focus, linking the attributes panel to reset and highlight exit - : When hovering the mouse or selecting a node, the game renders precise edge-adjacent polygon outlines in real time, and zero-width-height nodes automatically downgrade to crosshairs - : Directly click to select nodes in the game screen, based on multi-camera array scanning + CullingMask grouping inheritance + area weight penetration algorithm, perfectly adapting to complex scenarios such as multi-shot, multi-grouping, and fit scaling Provides two-end communication and cross-process game engine interaction horizons for LLMs (large models such as Claude/Cursor). - : Built-in EADDRINUSE collision escalation mechanism, supports enabling simultaneous activation of multiple editor instances to achieve automatic isolation of different project ports (default 4456). - : Heartbeat Feedback injects projectName and projectPath, allowing AI to quickly identify target parallel universes. - : Supports automatic detection and password-free bridging to 22 mainstream AI clients (such as Claude Desktop, Cursor, etc.). - : Provides get_active_instances scanning for active ports, set_active_instance binding to specified project ports, and refresh_preview proactively refreshing game preview windows. - : Uses CDP Runtime.
Overview (machine translated)
A modern runtime node review and DevTools bridge designed specifically for Cocos Creator 2.4.x.
Based on the Vue 3 + Electron BrowserView architecture, it offers a dual-column immersive debugging experience: game preview on the left, node tree/property check/DevTools/performance analysis on the right, completely solving the deadlock hanging issue with the original Chromium DevTools.
🚀 Get Started Quickly
Environmental Requirements
- Cocos Creator 2.4.x (Widely compatible with the official original and special high-version environments upgraded to Electron 14+)
- Node.js ≥ 14
Installation
Clone or copy this project into the Cocos Creator plugin directory:
Construction
Usage
- Open any scene in Cocos Creator
- Menu Bar → MCP Bridges → Enable Runtime Panel
- Click the Preview Run button, and the plugin panel will automatically capture the game preview and load the node tree
✨ Core Features
🖥️ Dual-column workflow
The main panel is built with Vue 3, with the Webview rendering game viewport on the left and the multifunctional debug tab integrated on the right, delivering an immersive “review while playing” experience.
⚡ Runtime Probes and Node Trees
Based on preloaded scripts (preload.ts), non-intrusive injection probes are intercepted in real time at game runtime.
- Multi-Keyword Penetration Search: Supports AND logical matching for space-segmented words, allowing search to be conducted at the component class name level (e.g., entering
Animationto locate all nodes mounting the component) - Strict Path Filtering: Search results only display hit nodes and their direct ancestors, automatically hiding irrelevant branches
- Uncheck blank areas: Click blank to clear all focus, linking the attribute panel to zero and highlight the exit
🎯 Node Highlighting and Screen Pickup
- Surround Box Highlighting: When hovering or selecting nodes, the game screen renders precise edge-adjacent polygon outlines in real time, and zero-width-height nodes automatically downgrade to crosshairs
- Screen Picker: Directly click select nodes in the game screen, based on multi-camera array scanning + CullingMask grouping inheritance + area weight penetration algorithm, perfectly adapting to complex scenarios such as multi-lens, multi-grouping, and fit scaling
- Pick Up and Locate: After selection, it automatically cuts back to the node tree and expands the ancestor, highlights, smooth scrolling, and centering; Nodes dynamically created during runtime will automatically be positioned after the node tree refreshes, and in search filtering mode, the search will be cleared to ensure the target is visible
🤖 AI MCP Integrated Bridge (Multi-Instance Ready)
Provides two-end communication and cross-process game engine interaction horizons for LLMs (large models such as Claude/Cursor).
This page was translated automatically. Technical details may differ from the original.
Install
This server does not publish a one-line install command.
Open the repository installation guide New to MCP? Start with the mcpskill.org guide →