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 Unified Server
Comprehensive MCP Server untuk Roblox Development - Ready untuk upload/register dengan semua functionality dalam satu package yang unified.
๐ 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
๐ Developer Experience
๐ Interactive Examples - Basic, Advanced, Production usage
๐ Complete Documentation - Setup, deployment, API reference
๐งช Built-in Testing - Self-validation capabilities
โ๏ธ Environment Configuration - Flexible deployment options
๐ Quick Start
Prerequisites
Python 3.10+
uv package manager
Installation
Basic Usage
Testing All Tools
๐ ๏ธ 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
Parameters:
project_id(str, optional): Project identifier (default: 'default')
Response:
3. update_script
Update existing script content
Parameters:
name(str): Script name to updatecontent(str): New script contentproject_id(str, optional): Project identifier (default: 'default')
4. delete_script
Delete script from database
Parameters:
name(str): Script name to deleteproject_id(str, optional): Project identifier (default: 'default')
5. get_project_status
Get comprehensive project statistics dan health
Parameters:
project_id(str, optional): Project identifier (default: 'default')
Response:
6. validate_script
Validate script content untuk syntax, security, dan best practices
Parameters:
content(str): Script content to validatescript_type(str, optional): 'lua' or 'luau' (default: 'lua')
Response:
7. backup_project
Create complete project backup dengan metadata
Parameters:
project_id(str, optional): Project identifier (default: 'default')
Response:
8. restore_project
Restore project dari backup file
Parameters:
project_id(str): Target project identifierbackup_path(str, optional): Specific backup file path (uses latest if not provided)
Response:
๐ฏ Available Prompts
1. roblox_script_generator
Generate script prompts based on requirements
Parameters:
script_type(str): 'lua' or 'luau'requirements(str): Description of script functionality
2. roblox_validation_guide
Generate validation guidance based on script errors
Parameters:
errors(str): Script validation errors or warnings
๐ข Deployment
Docker Deployment
Railway Deployment
Connect Repository ke Railway
Set Environment Variables:
ROBLOX_MCP_HMAC_SECRET=your_production_secret ROBLOX_MCP_DB_PATH=/app/data/roblox_mcp.db ROBLOX_MCP_VERBOSE=falseDeploy - Railway akan auto-detect dan deploy
Local Development
โ๏ธ Configuration
Environment Variables
Variable | Required | Default | Description |
| No |
| HMAC secret for authentication |
| No |
| SQLite database file path |
| No |
| Enable verbose logging |
| No |
| Server URL for client library |
Example .env File
๐๏ธ Architecture
๐งช Testing
Self-Test
Integration Testing
๐ API Response Format
All tools return consistent JSON responses:
Success Response:
Error Response:
๐ Security Features
HMAC Authentication - Request signing untuk secure communication
Input Validation - All inputs validated dan sanitized
SQL Injection Protection - Parameterized queries
Script Security Scanning - Detect dangerous patterns (loadstring, debug hooks)
File Path Validation - Secure backup/restore operations
๐ค 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 docs/ folder
๐งช Testing: Run test suite sebelum deployment
๐ Deployment: Follow deployment guides
๐ Issues: Report bugs dengan detailed reproduction steps
๐ Acknowledgments
FastMCP - For the excellent MCP framework
Roblox Development Community - For API insights and best practices
MiniMax Agent - For comprehensive development and testing
Ready untuk upload/register ke MCP system! ๐
Built dengan โค๏ธ untuk Roblox developers
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Comprehensive Roblox development server with 8 tools for managing Lua/Luau scripts including creation, validation, backup/restore, and project management with SQLite storage and HMAC authentication.