Skip to main content
Glama

Warden Magento MCP Server

by run-as-root

warden_php_script

Execute PHP scripts within the php-fpm container of a Warden-managed Magento 2 environment by specifying the project directory and script path, enabling automation and direct interaction with the development setup.

Instructions

Run a PHP script inside the php-fpm container

Input Schema

NameRequiredDescriptionDefault
argsNoAdditional arguments to pass to the script
project_pathYesPath to the project directory
script_pathYesPath to the PHP script relative to project root

Input Schema (JSON Schema)

{ "properties": { "args": { "default": [], "description": "Additional arguments to pass to the script", "items": { "type": "string" }, "type": "array" }, "project_path": { "description": "Path to the project directory", "type": "string" }, "script_path": { "description": "Path to the PHP script relative to project root", "type": "string" } }, "required": [ "project_path", "script_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