33 title : Neo.mjs Neural Link MCP Server
44 version : 1.0.0
55paths :
6+ /health :
7+ post :
8+ summary : Health Check
9+ operationId : healthcheck
10+ x-annotations :
11+ readOnlyHint : true
12+ description : |
13+ Checks the health of the Neural Link server, including WebSocket connectivity and active sessions.
14+
15+ **When to Use:**
16+ Use this as a first-step diagnostic tool to ensure the Neural Link bridge to the browser is operational.
17+ tags : [Health]
18+ requestBody :
19+ content :
20+ application/json :
21+ schema :
22+ type : object
23+ properties : {}
24+ responses :
25+ ' 200 ' :
26+ description : Server is healthy
27+ content :
28+ application/json :
29+ schema :
30+ $ref : ' #/components/schemas/HealthCheckResponse'
31+ ' 503 ' :
32+ description : Server is unhealthy
33+ content :
34+ application/json :
35+ schema :
36+ $ref : ' #/components/schemas/ErrorResponse'
37+
638 /component/property/get :
739 post :
840 summary : Get Component Property
941 operationId : get_component_property
1042 x-pass-as-object : true
11- description : Retrieves a property from a component by its ID.
43+ description : |
44+ Retrieves a property from a component by its ID.
45+
46+ **When to Use:**
47+ To inspect the current state of a component (e.g., `width`, `store`, `value`).
48+ tags : [Component]
1249 requestBody :
1350 required : true
1451 content :
@@ -40,7 +77,12 @@ paths:
4077 summary : Get Component Tree
4178 operationId : get_component_tree
4279 x-pass-as-object : true
43- description : Retrieves the full component tree of the application.
80+ description : |
81+ Retrieves the full component tree of the application.
82+
83+ **When to Use:**
84+ To understand the structure of the UI, find component IDs, or debug hierarchy issues.
85+ tags : [Component]
4486 requestBody :
4587 content :
4688 application/json :
@@ -72,7 +114,12 @@ paths:
72114 summary : Get Component VDOM Tree
73115 operationId : get_vdom_tree
74116 x-pass-as-object : true
75- description : Retrieves the VDOM tree of a component.
117+ description : |
118+ Retrieves the VDOM tree of a component.
119+
120+ **When to Use:**
121+ To inspect the Virtual DOM structure of a component for rendering issues.
122+ tags : [Component]
76123 requestBody :
77124 content :
78125 application/json :
@@ -103,7 +150,12 @@ paths:
103150 summary : Get Component VNode Tree
104151 operationId : get_vnode_tree
105152 x-pass-as-object : true
106- description : Retrieves the VNode tree of a component.
153+ description : |
154+ Retrieves the VNode tree of a component.
155+
156+ **When to Use:**
157+ To inspect the actual DOM-aligned VNodes (after VDOM processing). Useful for deep rendering debugging.
158+ tags : [Component]
107159 requestBody :
108160 content :
109161 application/json :
@@ -134,7 +186,12 @@ paths:
134186 summary : Get Drag State
135187 operationId : get_drag_state
136188 x-pass-as-object : true
137- description : Retrieves the state of the DragCoordinator.
189+ description : |
190+ Retrieves the state of the DragCoordinator.
191+
192+ **When to Use:**
193+ To debug drag-and-drop operations, checking what is being dragged and where.
194+ tags : [Inspection]
138195 requestBody :
139196 content :
140197 application/json :
@@ -157,7 +214,12 @@ paths:
157214 summary : Reload Page
158215 operationId : reload_page
159216 x-pass-as-object : true
160- description : Reloads the application page.
217+ description : |
218+ Reloads the application page.
219+
220+ **When to Use:**
221+ To force a full reload of the connected application window.
222+ tags : [Lifecycle]
161223 requestBody :
162224 content :
163225 application/json :
@@ -183,7 +245,12 @@ paths:
183245 post :
184246 summary : Get Worker Topology
185247 operationId : get_worker_topology
186- description : Retrieves the topology of all connected App Workers.
248+ description : |
249+ Retrieves the topology of all connected App Workers.
250+
251+ **When to Use:**
252+ To discover connected workers, their session IDs, and environments.
253+ tags : [Topology]
187254 requestBody :
188255 content :
189256 application/json :
@@ -217,7 +284,12 @@ paths:
217284 post :
218285 summary : Get Window Topology
219286 operationId : get_window_topology
220- description : Retrieves the topology of all connected windows.
287+ description : |
288+ Retrieves the topology of all connected windows.
289+
290+ **When to Use:**
291+ To map logical window IDs to physical browser windows and their dimensions.
292+ tags : [Topology]
221293 requestBody :
222294 content :
223295 application/json :
@@ -250,7 +322,12 @@ paths:
250322 summary : Set Component Property
251323 operationId : set_component_property
252324 x-pass-as-object : true
253- description : Sets a property on a component by its ID.
325+ description : |
326+ Sets a property on a component by its ID.
327+
328+ **When to Use:**
329+ To modify the runtime state of a component (e.g., change text, toggle visibility).
330+ tags : [Component]
254331 requestBody :
255332 required : true
256333 content :
@@ -275,6 +352,33 @@ paths:
275352
276353components :
277354 schemas :
355+ HealthCheckResponse :
356+ type : object
357+ properties :
358+ status :
359+ type : string
360+ enum : [healthy, unhealthy, degraded]
361+ timestamp :
362+ type : string
363+ format : date-time
364+ server :
365+ type : object
366+ properties :
367+ port :
368+ type : integer
369+ activeSessions :
370+ type : integer
371+ connectedWindows :
372+ type : integer
373+ details :
374+ type : array
375+ items :
376+ type : string
377+ version :
378+ type : string
379+ uptime :
380+ type : number
381+
278382 GetComponentPropertyRequest :
279383 type : object
280384 required :
@@ -335,4 +439,4 @@ components:
335439 properties :
336440 error :
337441 type : string
338- description : Error message
442+ description : Error message
0 commit comments