Laravel SDK

•
1
•

Integrates Model Context Protocol 2025-06-18 specification support seamlessly into Laravel applications, enhancing development with its native conventions.

This SDK acts as a robust Laravel wrapper for the underlying PHP MCP SDK, providing complete support for the Model Context Protocol 2025-06-18 specification. It allows developers to effortlessly build, deploy, and manage MCP servers and clients directly within their Laravel applications, benefiting from Laravel's native conventions, service container integration, and extensive ecosystem. With support for all transport types (STDIO, HTTP, WebSocket) and core MCP functionalities like tools, resources, and prompts, alongside advanced features like authentication, cancellation, and progress reporting, it streamlines the creation of sophisticated AI-driven or agent-based systems.

Key Features

01Full MCP 2025-06-18 Specification Support (tools, resources, prompts, roots, sampling, elicitation)
02Support for multiple dynamic MCP server instances and client connections
03Deep integration with Laravel's service container, events, cache, and queue system
04Production-ready security including OAuth 2.1, bearer token, and scope-based authorization
05Comprehensive Artisan commands for all MCP operations and system management
061 GitHub stars

Use Cases

01Building and managing multiple MCP servers and clients within a Laravel application
02Integrating AI-powered functionalities and agent communication into Laravel projects
03Developing custom MCP tools, resources, and prompts with Laravel's ecosystem