Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUva99e6321f403
diff --git a/v3/@claude-flow/cli/src/commands/mcp.ts b/v3/@claude-flow/cli/src/commands/mcp.ts
index 50ce9e23f9..13415437b3 100644
--- a/v3/@claude-flow/cli/src/commands/mcp.ts
+++ b/v3/@claude-flow/cli/src/commands/mcp.ts
@@ -102,12 +102,12 @@ const startCommand: Command = {
{ command: 'claude-flow mcp start -f', description: 'Force restart (kill existing)' }
],
action: async (ctx: CommandContext): Promise<CommandResult> => {
- const port = ctx.flags.port as number;
- const host = ctx.flags.host as string;
- const transport = ctx.flags.transport as 'stdio' | 'http' | 'websocket';
+ const port = (ctx.flags.port as number) ?? 3000;
+ const host = (ctx.flags.host as string) ?? 'localhost';
+ const transport = (ctx.flags.transport as 'stdio' | 'http' | 'websocket') ?? 'stdio';
const tools = (ctx.flags.tools as string) || 'all';
- const daemon = ctx.flags.daemon as boolean;
- const force = ctx.flags.force as boolean;
+ const daemon = (ctx.flags.daemon as boolean) ?? false;
+ const force = (ctx.flags.force as boolean) ?? false;
output.writeln();
output.printInfo('Starting MCP Server...');