setup_nodejs_app
Provision and configure a complete Node.js application on cPanel with Passenger, .htaccess routing, starter files, and domain mapping.
Instructions
Provision and configure a complete Node.js application with Passenger, .htaccess routing, starter files, and domain mapping
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_name": "<app_name>",
"domain": "<domain>",
"app_root": "<app_root>"
},
"name": "setup_nodejs_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Internal application port | 3000 |
| domain | Yes | Domain or subdomain to host this Node.js app on (e.g. 'api.example.com') | |
| app_name | Yes | Application identifier (e.g. 'api-service', 'express-app') | |
| app_root | Yes | Application root directory (e.g. 'nodejs/my-app' or 'public_html/api') | |
| env_mode | No | Deployment environment mode | production |
| entry_point | No | Main startup file (e.g. 'app.js', 'server.js', 'index.js') | app.js |
| node_version | No | Node.js runtime major version (e.g. '18', '20', '22') | 20 |