Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

MCP server for orchestrating Node.js development servers (backend, frontend, databases, etc.)

README.md

Node Server Orchestrator

A CLI tool for orchestrating Node.js development servers across multiple projects. Start, stop, and monitor backend, frontend, database, and other Node.js-based development servers with a unified interface.

🚀 Features

  • Multi-Project Support - Manage servers across different projects
  • Health Monitoring - Real-time status checks with uptime tracking
  • Error Handling - Startup failure detection and clear error messages
  • Extensible - Easy to configure new projects and server types
  • Cross-Platform - Works on Windows, macOS, and Linux

📋 Available Commands

  • start <server-id> - Start a specific project server
  • stop <server-id> - Stop a running server
  • status <server-id> - Get detailed server status with uptime
  • list - List all configured servers
  • start-all - Start all servers simultaneously
  • stop-all - Stop all running servers

🛠️ Installation

npm install -g node-server-orchestrator

Or use directly: ``bash npx node-server-orchestrator ``

⚙️ Configuration

Create a configuration file at ~/.config/node-server-orchestrator/config.json:

{
  "projects": {
    "my-backend": {
      "name": "My Backend API",
      "type": "backend",
      "command": ["npm", "run", "dev"],
      "cwd": "/path/to/my-project",
      "port": 3000,
      "healthPath": "/health",
      "startupTimeout": 10000,
      "description": "My project backend server"
    },
    "my-frontend": {
      "name": "My Frontend App",
      "type": "frontend", 
      "command": ["npm", "start"],
      "cwd": "/path/to/my-project/frontend",
      "port": 3001,
      "healthPath": "/",
      "startupTimeout": 15000,
      "description": "My project frontend development server"
    }
  }
}

🔧 Usage

CLI Usage

# List all available servers
node-server-orchestrator list

# Start a specific server
node-server-orchestrator start example-backend

# Stop a specific server  
node-server-orchestrator stop example-backend

# Check server status
node-server-orchestrator status example-backend

# Start all servers
node-server-orchestrator start-all

# Stop all servers
node-server-orchestrator stop-all

# Show help
node-server-orchestrator --help

Example Workflow

  1. List available servers:
   📋 Available Servers:
   My Backend API (my-backend) - My project backend server
   My Frontend App (my-frontend) - My project frontend development server
  1. Start a server:
   ✅ My Backend API started successfully
   📊 PID: 12345
   🌐 Port: 3000
   ⏰ Started: 2:30:45 PM
  1. Check status:
   🟢 My Backend API is running
   📊 PID: 12345
   🌐 Port: 3000
   ⏰ Started: 2:30:45 PM
   ⏱️  Uptime: 5m 23s

🎯 Use Cases

Development Workflows

  • Start all project servers with one command
  • Monitor server health during development
  • Automatically restart servers on changes

CI/CD Integration

  • Start test environments programmatically
  • Verify server health before deployments
  • Manage multiple microservices

🔌 API Reference

Server Configuration

Each server configuration supports:

  • name: Human-readable server name
  • type: Server type (backend, frontend, database, etc.)
  • command: Command array to start the server
  • cwd: Working directory for the server
  • port: Port number for health checks
  • healthPath: HTTP path for health checks
  • startupTimeout: Maximum startup wait time in milliseconds
  • description: Server description

Health Check Protocol

Servers are considered healthy when they respond with HTTP 200/304 on the specified port and health path.

🔒 Security Features

The CLI tool includes comprehensive security measures:

Input Validation

  • Server ID Validation: Only alphanumeric characters, hyphens, and underscores allowed
  • Command Whitelist: Only pre-approved commands (npm, node, yarn, pnpm, bun) can be executed
  • Port Validation: Port numbers must be between 1-65535
  • Path Validation: Working directories must be absolute paths
  • Timeout Limits: Startup timeouts capped at 60 seconds maximum

Command Injection Protection

  • Shell Execution: All commands run with shell: false to prevent command injection
  • Command Array: Commands must be provided as arrays, not strings

Path Traversal Prevention

  • Config Path Sanitization: Prevents ../ directory traversal in configuration files
  • Absolute Paths: All working directories must be absolute paths

Error Information Protection

  • Error Sanitization: Sensitive paths and IP addresses are redacted from error messages
  • Limited Information: Error messages provide only necessary information

🚨 Error Handling

The MCP server provides clear error messages for:

  • Port conflicts - When a server is already running
  • Startup failures - When servers fail to start within timeout
  • Process crashes - When managed processes terminate unexpectedly
  • Configuration errors - Invalid server configurations

🤝 Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues for bugs and feature requests.

Development Setup

git clone https://github.com/swong-fcsllc/node-server-orchestrator.git
cd node-server-orchestrator
npm install
npm run build
npm test

📄 License

MIT License - see LICENSE file for details.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Databases servers.