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
blockedBy[]
blocking[]
closedAtJan 4, 2026, 4:02 PM

Fix Neural Link Server startup handshake deadlock

Closed v11.18.0 bugaiarchitecture
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.

tobiu added the bug label on Jan 4, 2026, 4:00 PM
tobiu added the ai label on Jan 4, 2026, 4:00 PM
tobiu added the architecture label on Jan 4, 2026, 4:00 PM
tobiu added parent issue #8169 on Jan 4, 2026, 4:00 PM
tobiu assigned to @tobiu on Jan 4, 2026, 4:01 PM
tobiu referenced in commit 767d4b2 - "Fix Neural Link Server startup handshake deadlock #8313" on Jan 4, 2026, 4:02 PM
tobiu closed this issue on Jan 4, 2026, 4:02 PM