Installation Guide¶
This comprehensive guide will walk you through installing RapidTriageME step-by-step. Choose the installation method that best fits your needs.
Prerequisites¶
Before installing RapidTriageME, ensure your system meets these requirements:
System Requirements¶
Component | Minimum | Recommended |
---|---|---|
Node.js | 18.0+ | 20.0+ LTS |
RAM | 4GB | 8GB+ |
Disk Space | 500MB | 1GB+ |
Operating System | macOS 10.15+, Windows 10+, Linux (Ubuntu 18.04+) | Latest versions |
Required Software¶
Installation Order
Install these components in the order listed for the smoothest experience.
- Node.js - JavaScript runtime for the server components
- Chrome Browser - Required for the debugging extension
- Git (optional) - For cloning repositories and development
Download Node.js¶
Verify Prerequisites¶
Run these commands to verify your setup:
# Check Node.js version
node --version
# Should output: v20.x.x or higher
# Check npm version
npm --version
# Should output: 10.x.x or higher
# Check if Chrome is installed
google-chrome --version # Linux
# OR
chrome --version # macOS
# Should output Chrome version 90+
Installation Methods¶
Method 1: NPM Global Installation (Recommended)¶
This is the fastest and easiest way to get started with RapidTriageME.
Step 1: Install Global Packages¶
# Install both packages globally
npm install -g @yarlisai/rapidtriage-server @yarlisai/rapidtriage-mcp
# Or install separately
npm install -g @yarlisai/rapidtriage-server
npm install -g @yarlisai/rapidtriage-mcp
Step 2: Verify Installation¶
# Check if server command is available
rapidtriage-server --version
# Check if MCP server is available
rapidtriage-mcp --version
# Alternative: Use npx (doesn't require global install)
npx @yarlisai/rapidtriage-server --version
npx @yarlisai/rapidtriage-mcp --version
Method 2: Local Development Installation¶
For developers who want to contribute or customize RapidTriageME.
Step 1: Clone Repository¶
# Clone the main repository
git clone https://github.com/YarlisAISolutions/rapidtriageME.git
cd rapidtriageME
Step 2: Install Dependencies¶
# Install root dependencies
npm install
# Install server dependencies
cd rapidtriage-server
npm install
npm run build
cd ..
# Install MCP server dependencies
cd rapidtriage-mcp
npm install
npm run build
cd ..
Step 3: Build All Components¶
# Build all components at once
./run.sh build
# Or build individually
cd rapidtriage-server && npm run build && cd ..
cd rapidtriage-mcp && npm run build && cd ..
Method 3: Docker Installation¶
For containerized deployments and isolated environments.
Step 1: Install Docker¶
Make sure Docker is installed and running on your system:
Step 2: Run Docker Container¶
# Pull and run the latest image
docker run -d \
--name rapidtriage \
-p 3025:3025 \
-p 8080:8080 \
yarlisai/rapidtriage:latest
# Check if container is running
docker ps
# View logs
docker logs rapidtriage
Step 3: Docker Compose (Optional)¶
For more complex deployments:
# docker-compose.yml
version: '3.8'
services:
rapidtriage:
image: yarlisai/rapidtriage:latest
ports:
- "3025:3025"
- "8080:8080"
environment:
- NODE_ENV=production
- LOG_LEVEL=info
volumes:
- ./data:/app/data
restart: unless-stopped
Chrome Extension Installation¶
The Chrome extension is required for capturing browser data.
Step 1: Download Extension¶
Choose your preferred method:
- Visit GitHub Releases
- Download
rapidtriage-extension-v1.0.0.zip
- Extract to a folder (e.g.,
~/rapidtriage-extension
)
Step 2: Install in Chrome¶
- Open Chrome Extensions Page
- Navigate to
chrome://extensions/
-
Or go to Menu → More tools → Extensions
-
Enable Developer Mode
-
Toggle "Developer mode" in the top right
-
Load Extension
- Click "Load unpacked"
- Select the extracted extension folder
-
Click "Select Folder"
-
Verify Installation
- Extension icon should appear in toolbar
- Click the extension icon to see the popup
- Should show "RapidTriage Extension v1.0.0"
Step 3: Pin Extension (Recommended)¶
- Click the puzzle piece icon in Chrome toolbar
- Find "RapidTriage" in the list
- Click the pin icon to pin it to toolbar
Environment Configuration¶
Setting Up Environment Variables¶
Create environment configuration for your system:
Configuration File¶
Create a configuration file for persistent settings:
# Create config directory
mkdir -p ~/.rapidtriage
# Create config file
cat > ~/.rapidtriage/config.json << EOF
{
"port": 3025,
"host": "localhost",
"logLevel": "info",
"enableCors": true,
"enableAuth": false,
"screenshot": {
"maxWidth": 1920,
"maxHeight": 1080,
"quality": 80
},
"lighthouse": {
"enabled": true,
"timeout": 30000
}
}
EOF
IDE Configuration¶
Configure your preferred IDE to use RapidTriageME:
Cursor IDE¶
// ~/.cursor/mcp_settings.json
{
"mcpServers": {
"rapidtriage": {
"command": "npx",
"args": ["@yarlisai/rapidtriage-mcp"],
"env": {
"BROWSER_TOOLS_PORT": "3025",
"NODE_ENV": "development"
}
}
}
}
VS Code with Continue¶
// ~/.continue/config.json
{
"models": [
{
"title": "Claude 3.5 Sonnet",
"provider": "anthropic",
"model": "claude-3-5-sonnet-20241022",
"apiKey": "your-anthropic-api-key"
}
],
"mcpServers": {
"rapidtriage": {
"command": "npx",
"args": ["@yarlisai/rapidtriage-mcp"],
"env": {
"BROWSER_TOOLS_PORT": "3025"
}
}
}
}
Claude Desktop¶
// ~/Library/Application Support/Claude/config.json (macOS)
// %APPDATA%\Claude\config.json (Windows)
{
"mcpServers": {
"rapidtriage": {
"command": "npx",
"args": ["@yarlisai/rapidtriage-mcp"],
"env": {
"BROWSER_TOOLS_PORT": "3025",
"DEBUG": "true"
}
}
}
}
Verification & Testing¶
Step 1: Start Services¶
# Terminal 1: Start browser connector server
npx @yarlisai/rapidtriage-server
# You should see:
# 🚀 RapidTriage Server running on port 3025
# ✅ WebSocket server ready
# ✅ HTTP server ready
Step 2: Test Browser Extension¶
- Open Chrome and navigate to any website
- Open DevTools (F12 or right-click → Inspect)
- Look for "RapidTriage" tab in DevTools
- Click the tab - should show "Connected" status
- Extension icon should show green dot when connected
Step 3: Test MCP Integration¶
Start your IDE (Cursor, VS Code, etc.) and verify MCP connection:
# Test MCP server directly
npx @yarlisai/rapidtriage-mcp
# Should output available tools:
# Tools: screenshot_capture, get_console_logs, run_lighthouse_audit, etc.
Step 4: End-to-End Test¶
- Open a website in Chrome with DevTools
- Ask your AI assistant: "Take a screenshot of the current page"
- Expected result: Screenshot should be captured and displayed
- Ask: "Check console logs"
- Expected result: Any console messages should be retrieved
Troubleshooting Installation¶
Common Issues¶
Port Already in Use¶
# Check what's using port 3025
lsof -i :3025
# Kill the process if needed
kill -9 <PID>
# Or use a different port
RAPIDTRIAGE_PORT=3030 npx @yarlisai/rapidtriage-server
Permission Errors (npm global install)¶
# Fix npm permissions (recommended)
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
# Or use npx instead of global install
npx @yarlisai/rapidtriage-server
Chrome Extension Not Loading¶
- Check Developer Mode - Must be enabled
- Reload Extension - Click reload button in chrome://extensions/
- Clear Extension Data - Remove and re-add the extension
- Check Console Errors - Open chrome://extensions/ and check for errors
MCP Server Not Found¶
# Check Node.js path
which node
# Check if package is installed
npm list -g @yarlisai/rapidtriage-mcp
# Try absolute path in IDE config
{
"command": "/usr/local/bin/npx",
"args": ["@yarlisai/rapidtriage-mcp"]
}
Getting Help¶
If you encounter issues not covered here:
- Check our troubleshooting guide
- Search existing issues
- Join our Discord community
- Create a new issue
When reporting issues, include:
- Operating system and version
- Node.js version (node --version
)
- Chrome version
- Installation method used
- Complete error messages
- Steps to reproduce
Next Steps¶
Congratulations! You've successfully installed RapidTriageME. Here's what to do next:
- Configure your environment - Customize settings and options
- Learn about debugging - Master debugging techniques
- Explore the architecture - Understand how it all works
- Join the community - Get help and share experiences
Installation complete! Your AI assistant can now interact with any website through RapidTriageME.