PHP code example of rewi.sh / craft-mcp
1. Go to this page and download the library: Download rewi.sh/craft-mcp library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rewi.sh / craft-mcp example snippets
return [
'enabled' => true,
'enableDangerousTools' => true,
];
bash
composer bash
php craft craft-mcp/install