Looking to hire Laravel developers? Try LaraJobs

laravel-mcp maintained by carlin

Description
Laravel MCP SDK with PHP 8.1+ and Laravel 8-13 compatibility (drop-in fork of laravel/mcp).
Author
Last update
2026/12/02 08:34 (dev-compat/laravel-8-11)
License
Downloads
3
Tags

Comments
comments powered by Disqus

Introduction

carlin/laravel-mcp is a drop-in compatibility fork of laravel/mcp supporting PHP 8.1+ and Laravel 8.77+, 9.x, 10.x, 11.x, 12.x, and 13.x, while keeping identical Laravel\Mcp\* namespaces and declaring "replace": { "laravel/mcp": "self.version" }.

Laravel MCP allows you to rapidly build MCP servers for your Laravel applications. MCP servers allow AI clients to interact with your Laravel application through the Model Context Protocol.

Laravel 8–13 Compatibility & Installation

composer require carlin/laravel-mcp
  • Preserves the exact Laravel\Mcp\* namespaces, service provider, and Artisan commands so upgrading back to official laravel/mcp on Laravel 12/13 requires zero code changes.
  • Pairs cleanly with carlin/laravel-ai (composer require carlin/laravel-ai).
  • See COMPAT.md for full compatibility matrix and polyfill details.

Official Documentation

Documentation for Laravel MCP can be found on the Laravel website.

Contributing

Thank you for considering contributing to Laravel MCP! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

Laravel MCP is open-sourced software licensed under the MIT license.