diff --git a/README.md b/README.md index 905421a..d278225 100644 --- a/README.md +++ b/README.md @@ -26,10 +26,10 @@ This package handles: ```bash composer require php-mcp/laravel ``` -2. The `LaravelMcpServiceProvider` will be automatically discovered and registered by Laravel. +2. The `McpServiceProvider` will be automatically discovered and registered by Laravel. 3. Publish the configuration file: ```bash - php artisan vendor:publish --provider="PhpMcp\Laravel\Server\LaravelMcpServiceProvider" --tag="mcp-config" + php artisan vendor:publish --provider="PhpMcp\Laravel\Server\McpServiceProvider" --tag="mcp-config" ``` This will create a `config/mcp.php` file where you can customize the server's behavior. @@ -249,4 +249,4 @@ The MIT License (MIT). Please see [License File](LICENSE) for more information. ## Support & Feedback -Please open an issue on the [GitHub repository](https://github.com/php-mcp/laravel) for bugs, questions, or feedback. \ No newline at end of file +Please open an issue on the [GitHub repository](https://github.com/php-mcp/laravel) for bugs, questions, or feedback. diff --git a/src/Commands/ListCommand.php b/src/Commands/ListCommand.php index cacba79..45b7daf 100644 --- a/src/Commands/ListCommand.php +++ b/src/Commands/ListCommand.php @@ -33,7 +33,7 @@ class ListCommand extends Command */ public function handle(Registry $registry): int { - $registry->loadElements(); // Ensure elements are loaded + $registry->loadElementsFromCache(); // Ensure elements are loaded $type = $this->argument('type'); $outputJson = $this->option('json');