rolldev-mcp-server
RollDev MCP Server to use in Ai agents
- • Limited MCP protocol implementation (0/40)
- • Room for improvement in GitHub community
- • Optimal dependency management (20/20)
- • Full deployment maturity (10/10)
- • Documentation (8/8)
- • Archestra MCP Trust score badge is missing
{
"disrex-rolldev-mcp-server": {
"command": "npx",
"args": [
"-y",
"@disrex/rolldev-mcp-server"
]
},
"disrex-rolldev-mcp-server-node": {
"command": "node",
"args": [
"/path/to/rolldev-mcp-server/server.js"
]
},
"disrex-rolldev-mcp-server-dev": {
"command": "npm",
"args": [
"run",
"dev"
]
}
}RollDev MCP Server
A Model Context Protocol (MCP) server for RollDev + Magento 2 development environments. This server enables Claude and other LLMs to interact with RollDev projects, manage environments, execute commands, and initialize new Magento 2 projects seamlessly.
Features
Environment Management
- Environment Control: List, start, and stop RollDev project environments
- Service Management: Control RollDev system services (database, Redis, OpenSearch, etc.)
- Project Initialization: Create new Magento 2 projects with automatic configuration
Development Tools
- Database Operations: Execute SQL queries directly in project databases
- PHP Script Execution: Run PHP scripts within project containers
- Magento CLI Access: Execute Magento commands through
roll magento - Composer Integration: Run Composer commands in project environments
Prerequisites
- RollDev installed and configured
- Node.js 18+
- Active RollDev project environments (for some operations)
Installation
Option 1: Using NPM (Recommended)
{
"mcpServers": {
"rolldev": {
"command": "npx",
"args": [
"-y",
"@disrex/rolldev-mcp-server"
]
}
}
}
Add this configuration to your Claude for Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Option 2: Manual Setup
- Clone this repository:
git clone https://github.com/dockergiant/rolldev-mcp-server.git
cd rolldev-mcp-server
- Install dependencies:
npm install
- Add to Claude configuration:
{
"mcpServers": {
"rolldev": {
"command": "node",
"args": ["/path/to/rolldev-mcp-server/server.js"]
}
}
}
Available Tools
rolldev_list_environments
Lists all running RollDev environments with structured information including project names, paths, URLs, Docker networks, and container counts.
rolldev_start_project
Starts a RollDev project environment.
- project_path: Path to the project directory
rolldev_stop_project
Stops a RollDev project environment.
- project_path: Path to the project directory
rolldev_start_svc
Starts RollDev system services.
- project_path: Path to the project directory
rolldev_stop_svc
Stops RollDev system services.
- project_path: Path to the project directory
rolldev_db_query
Executes SQL queries in project databases.
- project_path: Path to the project directory
- query: SQL query to execute
- database: Database name (optional, defaults to "magento")
rolldev_php_script
Runs PHP scripts inside project containers.
- project_path: Path to the project directory
- script_path: Path to PHP script relative to project root
- args: Additional arguments (optional)
rolldev_magento_cli
Executes Magento CLI commands.
- project_path: Path to the project directory
- command: Magento command (without 'bin/magento' prefix)
- args: Additional arguments (optional)
rolldev_composer
Runs Composer commands in project environments.
- project_path: Path to the project directory
- command: Composer command (e.g., "install", "update", "require symfony/console")
rolldev_magento2_init
Initializes new Magento 2 projects with automatic configuration.
- project_name: Project name (lowercase, letters, numbers, hyphens only)
- magento_version: Magento version (optional, defaults to "2.4.x")
- target_directory: Target directory (optional, defaults to current directory)
Examples
Here are some example interactions you can try with Claude after setting up the RollDev MCP server:
Basic Environment Management
- "Can you list all my RollDev environments?"
- "Start the project at /path/to/my-magento-project"
- "Stop the services for my current project"
Database Operations
- "Run the query 'SELECT * FROM admin_user LIMIT 5' in my project"
- "Show me all enabled modules in the database"
- "Check the current configuration values for my store"
Magento Development
- "Execute 'cache:flush' Magento command in my project"
- "Run 'setup:upgrade' on my Magento installation"
- "List all available Magento CLI commands"
Project Initialization
- "Initialize a new Magento 2.4.7 project called 'my-store'"
- "Create a Magento project with the latest version in /Users/dev/projects"
Composer Operations
- "Install dependencies with Composer in my project"
- "Require the symfony/console package in my project"
Development
# Start in development mode with debugging
npm run dev
# Run tests
npm test
Testing
You can test the server using the MCP Inspector:
npx @modelcontextprotocol/inspector node server.js
Contributing
- Fork the repository from dockergiant/rolldev-mcp-server
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
If you encounter any issues or have questions:
- Check the GitHub Issues section
- Consult the MCP documentation at modelcontextprotocol.io
- Open a new issue with detailed reproduction steps
Sponsored by
[](https://archestra.ai/mcp-catalog/dockergiant__rolldev-mcp-server)RollDev MCP Server
A Model Context Protocol (MCP) server for RollDev + Magento 2 development environments. This server enables Claude and other LLMs to interact with RollDev projects, manage environments, execute commands, and initialize new Magento 2 projects seamlessly.
Features
Environment Management
- Environment Control: List, start, and stop RollDev project environments
- Service Management: Control RollDev system services (database, Redis, OpenSearch, etc.)
- Project Initialization: Create new Magento 2 projects with automatic configuration
Development Tools
- Database Operations: Execute SQL queries directly in project databases
- PHP Script Execution: Run PHP scripts within project containers
- Magento CLI Access: Execute Magento commands through
roll magento - Composer Integration: Run Composer commands in project environments
Prerequisites
- RollDev installed and configured
- Node.js 18+
- Active RollDev project environments (for some operations)
Installation
Option 1: Using NPM (Recommended)
{
"mcpServers": {
"rolldev": {
"command": "npx",
"args": [
"-y",
"@disrex/rolldev-mcp-server"
]
}
}
}
Add this configuration to your Claude for Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Option 2: Manual Setup
- Clone this repository:
git clone https://github.com/dockergiant/rolldev-mcp-server.git
cd rolldev-mcp-server
- Install dependencies:
npm install
- Add to Claude configuration:
{
"mcpServers": {
"rolldev": {
"command": "node",
"args": ["/path/to/rolldev-mcp-server/server.js"]
}
}
}
Available Tools
rolldev_list_environments
Lists all running RollDev environments with structured information including project names, paths, URLs, Docker networks, and container counts.
rolldev_start_project
Starts a RollDev project environment.
- project_path: Path to the project directory
rolldev_stop_project
Stops a RollDev project environment.
- project_path: Path to the project directory
rolldev_start_svc
Starts RollDev system services.
- project_path: Path to the project directory
rolldev_stop_svc
Stops RollDev system services.
- project_path: Path to the project directory
rolldev_db_query
Executes SQL queries in project databases.
- project_path: Path to the project directory
- query: SQL query to execute
- database: Database name (optional, defaults to "magento")
rolldev_php_script
Runs PHP scripts inside project containers.
- project_path: Path to the project directory
- script_path: Path to PHP script relative to project root
- args: Additional arguments (optional)
rolldev_magento_cli
Executes Magento CLI commands.
- project_path: Path to the project directory
- command: Magento command (without 'bin/magento' prefix)
- args: Additional arguments (optional)
rolldev_composer
Runs Composer commands in project environments.
- project_path: Path to the project directory
- command: Composer command (e.g., "install", "update", "require symfony/console")
rolldev_magento2_init
Initializes new Magento 2 projects with automatic configuration.
- project_name: Project name (lowercase, letters, numbers, hyphens only)
- magento_version: Magento version (optional, defaults to "2.4.x")
- target_directory: Target directory (optional, defaults to current directory)
Examples
Here are some example interactions you can try with Claude after setting up the RollDev MCP server:
Basic Environment Management
- "Can you list all my RollDev environments?"
- "Start the project at /path/to/my-magento-project"
- "Stop the services for my current project"
Database Operations
- "Run the query 'SELECT * FROM admin_user LIMIT 5' in my project"
- "Show me all enabled modules in the database"
- "Check the current configuration values for my store"
Magento Development
- "Execute 'cache:flush' Magento command in my project"
- "Run 'setup:upgrade' on my Magento installation"
- "List all available Magento CLI commands"
Project Initialization
- "Initialize a new Magento 2.4.7 project called 'my-store'"
- "Create a Magento project with the latest version in /Users/dev/projects"
Composer Operations
- "Install dependencies with Composer in my project"
- "Require the symfony/console package in my project"
Development
# Start in development mode with debugging
npm run dev
# Run tests
npm test
Testing
You can test the server using the MCP Inspector:
npx @modelcontextprotocol/inspector node server.js
Contributing
- Fork the repository from dockergiant/rolldev-mcp-server
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
If you encounter any issues or have questions:
- Check the GitHub Issues section
- Consult the MCP documentation at modelcontextprotocol.io
- Open a new issue with detailed reproduction steps
Sponsored by