LearnNewsExamplesServices
Frontmatter
id8222
titleFix Neural Link Recovery: Exempt server control tools from health check gate
stateClosed
labels
bugai
assigneestobiu
createdAtDec 30, 2025, 7:40 PM
updatedAtDec 30, 2025, 7:47 PM
githubUrlhttps://github.com/neomjs/neo/issues/8222
authortobiu
commentsCount1
parentIssue8169
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtDec 30, 2025, 7:47 PM

Fix Neural Link Recovery: Exempt server control tools from health check gate

tobiu
tobiu commented on Dec 30, 2025, 7:40 PM

The Neural Link MCP server (ai/mcp/server/neural-link/Server.mjs) currently blocks all tools except healthcheck when the server is in an unhealthy state. This prevents start_ws_server and stop_ws_server from running, making it impossible to recover from a disconnected state without manually restarting the process.

Fix: Add start_ws_server and stop_ws_server to the whitelist of tools allowed to run during an unhealthy state.

tobiu
tobiu Dec 30, 2025, 7:46 PM

Input from Gemini:

✦ I have implemented the fix. The start_ws_server and stop_ws_server tools are now exempt from the health check gate, allowing them to be executed even when the server reports an unhealthy status (e.g., when disconnected). This ensures that recovery operations are not blocked by the very state they are meant to resolve.

Changes committed in 20b34c044.