LearnNewsExamplesServices
Frontmatter
id8313
titleFix Neural Link Server startup handshake deadlock
stateClosed
labels
bugaiarchitecture
assigneestobiu
createdAtJan 4, 2026, 4:00 PM
updatedAtJan 4, 2026, 4:02 PM
githubUrlhttps://github.com/neomjs/neo/issues/8313
authortobiu
commentsCount0
parentIssue8169
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtJan 4, 2026, 4:02 PM

Fix Neural Link Server startup handshake deadlock

tobiu
tobiu commented on Jan 4, 2026, 4:00 PM

The Neural Link MCP Server (Server.mjs) currently awaits ConnectionService.ready() before establishing the StdioServerTransport connection to the MCP client.

Problem: If the Bridge process takes time to spawn, or if ConnectionService hangs waiting for a connection, the MCP Server never connects to the transport. This prevents the MCP Client (Antigravity/Gemini) from successfully performing the initial handshake and listing tools, resulting in a "Method not found" error.

Fix: Move the transport.connect() call to before the ConnectionService.ready() await. This ensures the MCP server is responsive to tool discovery requests immediately, even if the backend service (Bridge) is still initializing.