File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 77 "scripts" : {
88 "start" : " run-on-output -n 'ready' -p 'burger.*lock,agent.*lock' concurrently \" npm:start:*\" --kill-others" ,
99 "start:burger" : " npm run start --workspace=burger-webapp" ,
10- "start:mcp" : " npm run start --workspace=burger-mcp" ,
10+ "start:mcp" : " npm run start --workspace=burger-mcp -- " ,
1111 "start:agent" : " npm run start --workspace=agent-webapp" ,
1212 "ready" : " echo '\n 🚀 All services ready 🚀\n\n - Agent webapp : http://localhost:4280\n - Burger webapp : http://localhost:5173\n - Burger MCP : http://localhost:3000/mcp\n '" ,
1313 "build" : " npm run build --workspaces --if-present" ,
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ const __dirname = path.dirname(new URL(import.meta.url).pathname);
66// Env file is located in the root of the repository
77dotenv . config ( { path : path . join ( __dirname , '../../../.env' ) , quiet : true } ) ;
88
9- export const burgerApiUrl = process . env . BURGER_API_URL || 'http://localhost:7071' ;
9+ // Use --local option to force MCP server to connect to local Burger API
10+ export const burgerApiUrl = ( process . argv [ 2 ] !== '--local' && process . env . BURGER_API_URL ) || 'http://localhost:7071' ;
You can’t perform that action at this time.
0 commit comments