From f445da7eb09a8a5f29c92aa7b0d11d3841450285 Mon Sep 17 00:00:00 2001 From: rUv Date: Thu, 8 Jan 2026 03:38:14 +0000 Subject: [PATCH] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-08T03:38:14Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/mcp-server.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/v3/@claude-flow/cli/src/mcp-server.ts b/v3/@claude-flow/cli/src/mcp-server.ts index 5b1d30bf09..63b29e6d9f 100644 --- a/v3/@claude-flow/cli/src/mcp-server.ts +++ b/v3/@claude-flow/cli/src/mcp-server.ts @@ -530,6 +530,11 @@ export class MCPServerManager extends EventEmitter { * Wait for server to be ready */ private async waitForReady(timeout = 10000): Promise { + // For stdio transport, we're ready immediately (in-process) + if (this.options.transport === 'stdio') { + return; + } + const startTime = Date.now(); while (Date.now() - startTime < timeout) { @@ -540,11 +545,6 @@ export class MCPServerManager extends EventEmitter { await this.sleep(100); } - // For stdio, just check if process is running - if (this.options.transport === 'stdio' && this.process && !this.process.killed) { - return; - } - throw new Error('Server failed to start within timeout'); }