PHP code example of boneframework / mcp

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

    

boneframework / mcp example snippets




return [
    'packages' => [
        Bone\BoneDoctrine\BoneDoctrinePackage::class,
        App\AppPackage::class,
        Bone\MCP\MCPPackage::class,
    ],
];



return [
    'mcp' => [
        'server_name' => 'Your Application MCP',
        'server_version' => '1.0.0',
        'instructions' => 'MCP server for managing your application features.',
    ],
];