Add pm2 process management

- Add ecosystem.config.js with mcp-hub and sample-mcp app configs
- Add pm2:start, pm2:stop, pm2:logs, pm2:status scripts to package.json

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Agent 2026-03-13 09:08:10 +00:00
parent 40625827f1
commit 91f0ce271b
2 changed files with 29 additions and 1 deletions

View file

@ -5,7 +5,11 @@
"scripts": {
"test": "node test/e2e.js",
"start": "node src/index.js",
"sample-mcp": "node sample-mcp/index.js"
"sample-mcp": "node sample-mcp/index.js",
"pm2:start": "pm2 start ecosystem.config.js",
"pm2:stop": "pm2 stop all",
"pm2:logs": "pm2 logs",
"pm2:status": "pm2 status"
},
"keywords": [],
"author": "",