Files
broswer-automation/app/remote-server/package.json
nasir@endelospay.com f4ca680532 feat: add PM2 configuration and deployment setup for remote server
- Add Makefile with convenient PM2 commands for development and production
- Add ecosystem.config.js with production/staging/dev environment configurations
- Add comprehensive PM2-GUIDE.md documentation for deployment
- Update package.json with PM2-specific npm scripts
- Fix Chrome extension URL handling to omit standard ports (443/80)
- Hide embedding model and semantic engine sections in popup UI
2025-08-22 00:21:10 +05:00

61 lines
1.8 KiB
JSON

{
"name": "mcp-chrome-remote-server",
"version": "1.0.0",
"description": "Remote MCP Chrome Bridge Server",
"main": "dist/index.js",
"type": "module",
"scripts": {
"start": "node dist/index.js",
"start:server": "npm run build && npm run start",
"start:custom": "npm run build && PORT=8080 HOST=localhost npm run start",
"dev": "nodemon --watch src --ext ts,js,json --ignore dist/ --exec \"npm run build && npm run start\"",
"build": "tsc",
"test": "jest",
"lint": "eslint 'src/**/*.{js,ts}'",
"lint:fix": "eslint 'src/**/*.{js,ts}' --fix",
"format": "prettier --write 'src/**/*.{js,ts,json}'",
"pm2:start": "npm run build && pm2 start ecosystem.config.js",
"pm2:stop": "pm2 stop mcp-remote-server",
"pm2:restart": "pm2 restart mcp-remote-server",
"pm2:reload": "pm2 reload mcp-remote-server",
"pm2:delete": "pm2 delete mcp-remote-server",
"pm2:status": "pm2 status",
"pm2:logs": "pm2 logs mcp-remote-server",
"pm2:monit": "pm2 monit"
},
"keywords": [
"mcp",
"chrome",
"remote",
"server"
],
"author": "hangye",
"license": "MIT",
"dependencies": {
"@fastify/cors": "^11.0.1",
"@fastify/websocket": "^11.0.1",
"@modelcontextprotocol/sdk": "^1.12.1",
"chalk": "^5.4.1",
"chrome-mcp-shared": "workspace:*",
"dotenv": "^16.5.0",
"eventsource": "^4.0.0",
"fastify": "^5.3.2",
"node-fetch": "^3.3.2",
"pino": "^9.6.0",
"pino-pretty": "^13.0.0",
"uuid": "^11.1.0",
"ws": "^8.18.0"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^22.15.3",
"@types/ws": "^8.5.13",
"@typescript-eslint/parser": "^8.31.1",
"eslint": "^9.26.0",
"jest": "^29.7.0",
"nodemon": "^3.1.10",
"prettier": "^3.5.3",
"typescript": "^5.8.3"
}
}