Looking to hire Laravel developers? Try LaraJobs

laravel-client maintained by veda-ai

Description
Laravel SDK for Sveda AI: HTTP client, embed sessions, and automatic host MCP server.
Author
Last update
2026/09/18 11:10 (dev-main)
License
Downloads
0
Tags

Comments
comments powered by Disqus

veda-ai/laravel-client

Laravel SDK for integrating your application with Veda AI without writing your own MCP server.

Install

composer require veda-ai/laravel-client

veda-ai/client is pulled in transitively.

Host integration

use Veda\LaravelClient\Facades\VedaClient;

VedaClient::host()->resolveToolsUsing(fn () => [
    new SearchOrdersTool,
]);

VedaClient::host()->authorizeUsing(function ($user) {
    return $user->is_active && $user->can('use-ai');
});

$session = VedaClient::host()->startSession($user);

The package automatically registers /mcp/veda (configurable) and mints Sanctum tokens for the sidecar.

License

MIT