Skip to content

Commit c1dea5a

Browse files
committed
feat: move to singular 'search docs' tool
1 parent 5a00d71 commit c1dea5a

File tree

8 files changed

+76
-837
lines changed

8 files changed

+76
-837
lines changed

src/Concerns/MakesHttpRequests.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,16 @@ trait MakesHttpRequests
1212
{
1313
public function client(): PendingRequest
1414
{
15-
return Http::withHeaders([
15+
$client = Http::withHeaders([
1616
'User-Agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:140.0) Gecko/20100101 Firefox/140.0 Laravel Boost',
1717
]);
18+
19+
// Disable SSL verification for local development URLs
20+
if (app()->environment('local') || str_contains(config('boost.hosted.api_url', ''), '.test')) {
21+
$client = $client->withoutVerifying();
22+
}
23+
24+
return $client;
1825
}
1926

2027
public function get(string $url): Response

src/Mcp/Tools/GetInertiaDoc.php

Lines changed: 0 additions & 127 deletions
This file was deleted.

src/Mcp/Tools/GetLaravelDoc.php

Lines changed: 0 additions & 106 deletions
This file was deleted.

src/Mcp/Tools/ListInertiaDocs.php

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)