Problem/Motivation

The DrushCaller MCP plugin uses escapeshellarg() on arguments that are passed as array elements to Symfony's Process component. This causes all Drush command executions to fail.

Steps to reproduce

Enable the drush plugin and enable at least one command.
Issue an MCP call request for that command.
Drush reports an unrecognised command name.

Proposed resolution

Remove all escapeshellarg() calls in executeTool()

Comments

aalin created an issue.