1. Go to this page and download the library: Download particle-academy/prism-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/ */
particle-academy / prism-mcp example snippets
use Prism\Mcp\Facades\PrismMcp;
use Prism\Prism\Prism;
$tools = PrismMcp::server('github')->tools();
Prism::text()
->using('anthropic', 'claude-sonnet-4-5')
->withTools($tools)
->withPrompt('Which of our open PRs touch the billing module?')
->asText();