moflo 4.6.2 → 4.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/@claude-flow/cli/bin/cli.js +20 -1
- package/src/@claude-flow/cli/dist/src/commands/doctor.js +2 -28
- package/src/@claude-flow/cli/dist/src/init/executor.js +455 -453
- package/src/@claude-flow/cli/dist/src/init/mcp-generator.d.ts +5 -1
- package/src/@claude-flow/cli/dist/src/init/mcp-generator.js +3 -2
- package/src/@claude-flow/cli/dist/src/init/moflo-init.js +549 -549
- package/src/@claude-flow/cli/dist/src/mcp-server.js +23 -1
- package/src/@claude-flow/cli/package.json +1 -1
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* MCP Configuration Generator
|
|
3
3
|
* Creates .mcp.json for Claude Code MCP server integration
|
|
4
|
-
*
|
|
4
|
+
*
|
|
5
|
+
* Note: Claude Code spawns MCP servers as child processes using the
|
|
6
|
+
* command/args from .mcp.json. On all platforms (including Windows),
|
|
7
|
+
* using `npx` directly works correctly. The previous `cmd /c` wrapper
|
|
8
|
+
* on Windows caused MCP servers to fail to start.
|
|
5
9
|
*/
|
|
6
10
|
import type { InitOptions } from './types.js';
|
|
7
11
|
/**
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Generate MCP server entry
|
|
12
|
-
* Uses `npx` directly on all platforms
|
|
12
|
+
* Uses `npx` directly on all platforms — Claude Code handles process
|
|
13
|
+
* spawning correctly without needing a cmd.exe wrapper.
|
|
13
14
|
*/
|
|
14
15
|
function createMCPServerEntry(npxArgs, env, additionalProps = {}) {
|
|
15
16
|
return {
|
|
@@ -85,4 +86,4 @@ export function getPlatformInstructions() {
|
|
|
85
86
|
note: 'MCP configuration uses npx directly.',
|
|
86
87
|
};
|
|
87
88
|
}
|
|
88
|
-
//# sourceMappingURL=mcp-generator.js.map
|
|
89
|
+
//# sourceMappingURL=mcp-generator.js.map
|