Major Changes
- Upgraded to php-mcp/server ^3.0 with latest MCP protocol support(
2025-03-26
) - Laravel-native session management with multiple storage backends (file, database, cache, redis)
- Streamable HTTP transport with resumability and better connection handling
- Simplified configuration structure for capabilities and session management
Improvements
- Enhanced transport layer with better error handling
- Automatic session garbage collection
- Updated documentation with migration guide
Fixes
- Fixed SSE stream handling for expired sessions
- Improved transport initialization
- Better memory management for long-running servers
Breaking Changes
- Requires
php-mcp/server ^3.0
- Updated configuration structure (see migration guide in
README
) - Transport class names changed for consistency
Installation
composer require php-mcp/laravel:^3.0
php artisan vendor:publish --provider="PhpMcp\Laravel\McpServiceProvider"
Full Changelog: 2.1.1...3.0.0