Skip to main content
Glama

Warden Magento MCP Server

by run-as-root

warden_run_unit_tests

Execute PHPUnit unit tests in Warden-managed Magento 2 environments by specifying project paths, config files, test paths, and additional arguments for precise testing automation.

Instructions

Run unit tests using PHPUnit in the php-fpm container

Input Schema

NameRequiredDescriptionDefault
config_fileNoPHPUnit configuration file (auto-detects phpunit.xml.dist or phpunit.xml)
extra_argsNoAdditional PHPUnit arguments
project_pathYesPath to the project directory
test_pathNoOptional path to specific test file or directory

Input Schema (JSON Schema)

{ "properties": { "config_file": { "default": "", "description": "PHPUnit configuration file (auto-detects phpunit.xml.dist or phpunit.xml)", "type": "string" }, "extra_args": { "default": [], "description": "Additional PHPUnit arguments", "items": { "type": "string" }, "type": "array" }, "project_path": { "description": "Path to the project directory", "type": "string" }, "test_path": { "default": "", "description": "Optional path to specific test file or directory", "type": "string" } }, "required": [ "project_path" ], "type": "object" }
Install Server

Other Tools from Warden Magento MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/run-as-root/warden-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server