Laravel AI SDK Now Lets Agents Connect to External MCP Servers as Clients
Laravel shipped a new client-side MCP feature on June 9, 2026, enabling AI agents built with the Laravel AI SDK to connect outward to any MCP server, such as GitHub, Notion, or Laravel Nightwatch, rather than only acting as a server. The functionality is split across two packages: laravel/mcp v0.8.1 handles the connection, authentication, and tool-calling logic, while laravel/ai v0.8.1 integrates those tools seamlessly into existing agent configurations. Developers can connect to remote servers via HTTP or to local servers via STDIO using just two constructors, with no manual connection management required. The feature requires Laravel 12 or 13 and PHP 8.3 or higher, as laravel/ai enforces the 8.3 floor even though laravel/mcp alone tolerates 8.2. This allows agents to leverage external tools their teams already use without writing any custom integration code.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in