<?php
 namespace plugins\AiAssistant\Mcp\Examples\ExplicitRegistration; final class SimpleHandlers { private string $appVersion = '1.0-manual'; public function echoText(string $text): string { return 'Echo: '.$text; } public function getAppVersion(): string { return $this->appVersion; } public function greetingPrompt(string $userName): array { return [ ['role' => 'user', 'content' => "Craft a personalized greeting for {$userName}."], ]; } public function getItemDetails(string $itemId): array { return ['id' => $itemId, 'name' => "Item {$itemId}", 'description' => "Details for item {$itemId} from manual template."]; } }