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.
The
Neural Link MCP Server(Server.mjs) currently awaitsConnectionService.ready()before establishing theStdioServerTransportconnection to the MCP client.Problem: If the Bridge process takes time to spawn, or if
ConnectionServicehangs 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 theConnectionService.ready()await. This ensures the MCP server is responsive to tool discovery requests immediately, even if the backend service (Bridge) is still initializing.