@@ -38,7 +38,7 @@ This package utilizes `php-mcp/server` v2.1.0+ which supports the `2024-11-05` v
3838
39392. ** Publish Configuration:**
4040 ` ` ` bash
41- php artisan vendor:publish --provider=" PhpMcp\Laravel\Server\ McpServiceProvider" --tag=" mcp-config"
41+ php artisan vendor:publish --provider=" PhpMcp\Laravel\McpServiceProvider" --tag=" mcp-config"
4242 ` ` `
4343
4444# # Configuration
@@ -303,19 +303,19 @@ If your available MCP elements or resource content change while the server is ru
303303* **List Changes (Tools, Resources, Prompts):**
304304 Dispatch the corresponding Laravel event. The package includes listeners to send the appropriate MCP notification.
305305 ```php
306- use PhpMcp\Laravel\Server\ Events\ToolsListChanged;
307- use PhpMcp\Laravel\Server\ Events\ResourcesListChanged;
308- use PhpMcp\Laravel\Server\ Events\PromptsListChanged;
306+ use PhpMcp\Laravel\Events\ToolsListChanged;
307+ use PhpMcp\Laravel\Events\ResourcesListChanged;
308+ use PhpMcp\Laravel\Events\PromptsListChanged;
309309
310310 ToolsListChanged::dispatch();
311311 // ResourcesListChanged::dispatch();
312312 // PromptsListChanged::dispatch();
313313 ```
314314
315315* **Specific Resource Content Update:**
316- Dispatch the `PhpMcp\Laravel\Server\ Events\ResourceUpdated` event with the URI of the changed resource.
316+ Dispatch the `PhpMcp\Laravel\Events\ResourceUpdated` event with the URI of the changed resource.
317317 ```php
318- use PhpMcp\Laravel\Server\ Events\ResourceUpdated;
318+ use PhpMcp\Laravel\Events\ResourceUpdated;
319319
320320 $resourceUri = ' file:///path/to/updated_file.txt' ;
321321 // ... your logic that updates the resource ...
0 commit comments