automagik-forge 0.1.9 → 0.1.10
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/bin/cli.js +11 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
@@ -186,7 +186,12 @@ if (isMcpMode || isMcpSseMode) {
|
|
186
186
|
console.log(`🚀 Starting main backend server on http://${host}:${backendPort}...`);
|
187
187
|
mainServerProc = spawn(mainBin, [], {
|
188
188
|
stdio: ["pipe", "pipe", "pipe"],
|
189
|
-
env: {
|
189
|
+
env: {
|
190
|
+
...process.env,
|
191
|
+
BACKEND_PORT: backendPort,
|
192
|
+
PORT: backendPort,
|
193
|
+
HOST: host
|
194
|
+
}
|
190
195
|
});
|
191
196
|
|
192
197
|
mainServerProc.stdout.on("data", (data) => {
|
@@ -213,7 +218,11 @@ if (isMcpMode || isMcpSseMode) {
|
|
213
218
|
console.log(`🚀 Starting MCP SSE server on http://${host}:${mcpSsePort}/sse...`);
|
214
219
|
mcpServerProc = spawn(mcpBin, ["--mcp-sse"], {
|
215
220
|
stdio: ["pipe", "pipe", "pipe"],
|
216
|
-
env: {
|
221
|
+
env: {
|
222
|
+
...process.env,
|
223
|
+
MCP_SSE_PORT: mcpSsePort,
|
224
|
+
HOST: host
|
225
|
+
}
|
217
226
|
});
|
218
227
|
|
219
228
|
mcpServerProc.stdout.on("data", (data) => {
|