Provides Docker containerization support for deploying the Roblox MCP server with volume mounting for persistent data storage.
Supports cloud deployment on Railway platform with automatic detection and configuration through environment variables.
Enables comprehensive Roblox game development with tools for creating, managing, and validating Lua/Luau scripts, including project backup/restore, script validation for security and best practices, and project statistics tracking.
Uses SQLite for persistent storage of Roblox scripts, project metadata, and backup management with SQL injection protection through parameterized queries.
๐ Roblox MCP Node.js Server
Comprehensive MCP Server untuk Roblox Development - Solusi Node.js yang stabil dan siap produksi untuk semua kebutuhan Roblox development workflow.
โจ Key Features
๐ ๏ธ Complete Roblox Tool Suite (8 Tools)
โ
create_script- Create new Lua/Luau scriptsโ
list_scripts- List all scripts in projectโ
update_script- Update existing scriptsโ
delete_script- Delete scriptsโ
get_project_status- Get project statisticsโ
validate_script- Validate script syntax dan securityโ
backup_project- Create project backupsโ
restore_project- Restore from backups
๐ Production Ready
๐ฆ Built-in Client Library - Include client functionality dalam server package
๐ HMAC Authentication - Secure API communication
๐๏ธ SQLite Database - Persistent script storage
๐ณ Docker Deployment - Ready untuk containerization
๐ Railway Deployment - Cloud deployment ready
๐ Comprehensive Logging - Full operation tracking
โก High Performance - Node.js + Express optimized
๐ก๏ธ Security & Reliability
๐ Rate Limiting - Prevent abuse
๐ก๏ธ Security Headers - Helmet.js protection
โ Input Validation - Joi schema validation
๐ HMAC Signing - Request authenticity verification
๐จ Error Handling - Graceful failure recovery
๐ฎ Web Dashboard Interface
๐ Modern Web Interface - Beautiful dashboard untuk manajemen semua tools
๐ฑ Fully Responsive - Perfect di desktop, tablet, dan mobile
๐จ Professional Design - Dark/Light theme dengan smooth animations
โก Real-time Updates - Live data dan auto-refresh capabilities
๐ Analytics Dashboard - Charts dan insights untuk project monitoring
๐ Advanced Search - Filter dan search scripts dengan mudah
๐พ One-click Backup - Manajemen backup dan restore yang mudah
๐ Secure Settings - Konfigurasi HMAC secret dengan interface yang user-friendly
๐ Quick Start
Prerequisites
Node.js 18+ installed
npm atau yarn package manager
Installation
Basic Usage
๐ Web Interface (Recommended)
๐ก API Testing
๐ฎ Web Dashboard Features
Dashboard Sections:
๐ Overview - Project statistics dan quick actions
๐ Script Manager - Create, edit, delete scripts dengan interface yang modern
๐พ Backup & Restore - One-click backup management
๐ Analytics - Visual charts dan insights
Key Benefits:
โ No command-line experience required
โ Real-time script preview dengan syntax highlighting
โ Advanced search dan filtering
โ Mobile-friendly responsive design
โ Secure authentication configuration
โ Beautiful animations dan micro-interactions
๐ Detailed Guide: Lihat Web Interface Guide untuk dokumentasi lengkap
๐ ๏ธ Available Tools
1. create_script
Create new Roblox scripts dengan validation
Parameters:
name(str): Script name (unique identifier)content(str): Script content (Lua/Luau code)script_type(str, optional): 'lua' or 'luau' (default: 'lua')project_id(str, optional): Project identifier (default: 'default')
Example:
2. list_scripts
List all scripts dalam project dengan metadata
Example:
3. update_script
Update existing script content
4. delete_script
Delete script from database
5. get_project_status
Get comprehensive project statistics dan health
6. validate_script
Validate script content untuk syntax, security, dan best practices
7. backup_project
Create complete project backup dengan metadata
8. restore_project
Restore project dari backup file
๐ Railway Deployment
Prerequisites
GitHub repository dengan kode ini
Railway account di https://railway.app
Step-by-Step Deployment
1. Setup GitHub Repository
2. Deploy ke Railway
Login ke Railway (https://railway.app)
Click "New Project"
Select "Deploy from GitHub repo"
Choose repository
roblox-mcp-nodejsClick "Deploy Now"
3. Configure Environment Variables
Di Railway dashboard, pergi ke Variables tab dan add:
4. Custom Build Command (Optional)
Di Railway, pergi ke Settings > Build dan set:
5. Deploy
Click "Deploy" di Railway
Wait untuk deployment selesai (~2-3 menit)
Copy Public URL dari Railway dashboard
Test dengan:
curl http://your-app.railway.app/health
Railway Configuration File (railway.json)
๐ณ Docker Deployment
Local Docker Run
Docker Compose (Recommended)
โ๏ธ Configuration
Environment Variables
Variable | Required | Default | Description |
| No |
| Environment mode |
| No |
| Server port |
| No |
| Database file path |
| Yes | - | HMAC secret for authentication |
| No |
| Enable verbose logging |
| No |
| Enable rate limiting |
| No |
| Rate limit window in ms |
| No |
| Max requests per window |
| No |
| Log level |
| No |
| CORS origin |
Example .env File
๐ API Reference
Authentication
Semua API requests harus include HMAC signature:
Response Format
Success Response:
Error Response:
Health Check
Response:
๐งช Testing
Unit Tests
API Testing
๐ง Troubleshooting
Common Issues
1. Database Connection Error
Solution:
2. HMAC Authentication Failed
Solution:
3. Port Already in Use
Solution:
4. Permission Denied (Docker)
Solution:
Debug Mode
Health Monitoring
๐๏ธ Architecture
๐ Migration from Python Version
Untuk user yang migrasi dari Python version:
API Compatibility
API endpoints tetap sama, hanya base URL berubah:
Client Update
Database Migration
Database structure tetap sama, tidak perlu migration.
๐ค Contributing
Fork repository
Create feature branch (
git checkout -b feature/AmazingFeature)Commit changes (
git commit -m 'Add some AmazingFeature')Push to branch (
git push origin feature/AmazingFeature)Open Pull Request
๐ License
Distributed under the MIT License. See LICENSE for more information.
๐ Support
๐ Documentation: Check this README
๐งช Testing: Run test suite sebelum deployment
๐ Deployment: Follow Railway deployment guide
๐ Issues: Report bugs dengan detailed reproduction steps
๐ Acknowledgments
Express.js - For the excellent web framework
Node.js - For the powerful runtime environment
SQLite - For reliable embedded database
Roblox Development Community - For API insights and best practices
MiniMax Agent - For comprehensive development and testing
Ready untuk production deployment! ๐
Built dengan โค๏ธ untuk Roblox developers
Quick Links:
๐ฎ Web Interface Guide - Beautiful dashboard documentation
This server cannot be installed