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 edit:

rUv16a750f8ddcf
diff --git a/v3/@claude-flow/cli/src/mcp-server.ts b/v3/@claude-flow/cli/src/mcp-server.ts
index 9071380cf5..7d8382d7bd 100644
--- a/v3/@claude-flow/cli/src/mcp-server.ts
+++ b/v3/@claude-flow/cli/src/mcp-server.ts
@@ -330,7 +330,9 @@ export class MCPServerManager extends EventEmitter {
*/
private async startHttpServer(): Promise<void> {
// Dynamically import the MCP server
- const { MCPServer, createMCPServer } = await import('../../../mcp/server.js');
+ // Note: Path is relative to the compiled output location
+ const mcpServerPath = path.resolve(__dirname, '../../../mcp/server.js');
+ const { MCPServer, createMCPServer } = await import(mcpServerPath);
const logger = {
debug: (msg: string, data?: unknown) => this.emit('log', { level: 'debug', msg, data }),