first commit

This commit is contained in:
Ariyutta
2026-08-07 10:47:09 +07:00
commit 1c094fbe7f
11630 changed files with 1580900 additions and 0 deletions
@@ -0,0 +1,35 @@
<?php
namespace Workbench\App\Providers;
use Illuminate\Support\ServiceProvider;
use Laravel\Mcp\Facades\Mcp;
use Tests\Fixtures\ExampleServer;
use Tests\Fixtures\ServerWithDynamicTools;
class WorkbenchServiceProvider extends ServiceProvider
{
/**
* Register services.
*/
public function register(): void
{
//
}
/**
* Bootstrap services.
*/
public function boot(): void
{
$this->loadAiRoutes();
}
public function loadAiRoutes(): void
{
// Used in tests
Mcp::local('test-mcp', ExampleServer::class);
Mcp::web('test-mcp', ExampleServer::class);
Mcp::web('test-mcp-dynamic-tools', ServerWithDynamicTools::class);
}
}