carlin / laravel-mcp
Laravel MCP SDK with PHP 8.1+ and Laravel 8-13 compatibility (drop-in fork of laravel/mcp).
Requires
- php: ^8.1
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.0.1|^8.0
- illuminate/console: ^8.77|^9.0|^10.0|^11.0|^12.0|^13.0
- illuminate/container: ^8.77|^9.0|^10.0|^11.0|^12.0|^13.0
- illuminate/contracts: ^8.77|^9.0|^10.0|^11.0|^12.0|^13.0
- illuminate/http: ^8.77|^9.0|^10.0|^11.0|^12.0|^13.0
- illuminate/routing: ^8.77|^9.0|^10.0|^11.0|^12.0|^13.0
- illuminate/support: ^8.77|^9.0|^10.0|^11.0|^12.0|^13.0
- illuminate/validation: ^8.77|^9.0|^10.0|^11.0|^12.0|^13.0
- symfony/mime: ^5.4|^6.0|^7.0|^8.0
- symfony/polyfill-php83: ^1.31
- symfony/polyfill-php84: ^1.31
- symfony/process: ^5.4|^6.0|^7.0|^8.0
- symfony/yaml: ^5.4|^6.0|^7.0|^8.0
Requires (Dev)
- jasonmccreary/double: ^1.0
- laravel/pint: ^1.20,!=1.32.2
- orchestra/testbench: ^9.15|^10.8|^11.0
- pestphp/pest: ^3.8.5|^4.3.2
- phpstan/phpstan: ^2.1.27
- rector/rector: ^2.2.4
Suggests
None
Provides
None
Conflicts
None
Replaces
- laravel/mcp: v1.3.0.1
- dev-compat/laravel-8-11 / 1.x-dev
- v1.3.0.1
- v1.3.0
- v1.2.1
- v1.2.0
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.2
- v1.0.1
- v1.0.0
- v1.0.0-beta.1
- 0.x-dev
- v0.9.7
- v0.9.6
- v0.9.5
- v0.9.4
- v0.9.3
- v0.9.2
- v0.9.1
- v0.9.0
- v0.8.2
- v0.8.1
- v0.8.0
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.7
- v0.6.6
- v0.6.5
- v0.6.4
- v0.6.3
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.9
- v0.5.8
- v0.5.7
- v0.5.6
- v0.5.5
- v0.5.4
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.4
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.1
- v0.2.0
- v0.1.2-beta
- v0.1.1
- v0.1.0
- dev-main
- dev-client-metadata-documents
- dev-elicitation/stateless-elicitation
- dev-stateless-dcr
- dev-fix-host-parameters-resource-metadata-url
- dev-fix/issue-402-guzzle-8-oauth-options
- dev-oauth-pin-resolved-hosts
- dev-harden-oauth-defaults
- dev-fix/strip-headers-cross-origin-probe
- dev-feat/elicitation
- dev-fix-oauth-loopback-redirect-validation-0.x
- dev-web-mcp
- dev-sync-0.x
This package is auto-updated.
Last update: 2026-12-03 01:43:54 UTC
README
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 officiallaravel/mcpon 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.