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

rUve8337a717102
diff --git a/v3/@claude-flow/cli/src/mcp-server.ts b/v3/@claude-flow/cli/src/mcp-server.ts
index 51fca8c19c..ecb1753473 100644
--- a/v3/@claude-flow/cli/src/mcp-server.ts
+++ b/v3/@claude-flow/cli/src/mcp-server.ts
@@ -502,10 +502,9 @@ export class MCPServerManager extends EventEmitter {
* Start HTTP server in-process
*/
private async startHttpServer(): Promise<void> {
- // Dynamically import the MCP server
- // Note: Path is relative to the compiled output location
- const mcpServerPath = path.resolve(__dirname, '../../../mcp/server.js');
- const { MCPServer, createMCPServer } = await import(mcpServerPath);
+ // Dynamically import the MCP server package
+ // FIX for issue #942: Use proper package import instead of broken relative path
+ const { createMCPServer } = await import('@claude-flow/mcp');
const logger = {
debug: (msg: string, data?: unknown) => this.emit('log', { level: 'debug', msg, data }),