PHP code example of stimmt / craft-mcp

1. Go to this page and download the library: Download stimmt/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/ */

    

stimmt / craft-mcp example snippets




return [
    'enabled' => true,
];
bash
php craft plugin/install mcp
bash
php craft mcp/install