Releases: opgginc/laravel-mcp-server
Releases · opgginc/laravel-mcp-server
1.3.3
What's Changed
- Bump actions/setup-node from 3 to 4 by @dependabot in #34
Full Changelog: 1.3.2...1.3.3
1.3.2
1.3.1
Simplified Tool Interface
- Replaced confusing messageType(): ProcessMessageType with intuitive isStreaming(): bool
- Backward Compatible: Existing tools work without modification - isStreaming() is optional
- Smart Defaults: Tools default to HTTP transport when isStreaming() is not implemented
- Cleaner Code: Removed deprecated ProcessMessageType::PROTOCOL enum
Enhanced Migration Command
- Smart Migration: Automatically removes deprecated messageType() methods
- Conditional Logic: Adds isStreaming(): bool only for SSE tools that need it
- Backup Safety: Interactive backup confirmation with --no-backup option
- Clean Imports: Automatically removes unused ProcessMessageType imports
- Multi-Version Support: Migrates from v1.0.x, v1.1.x, v1.2.x → v1.3.0
Comprehensive Documentation
- Enhanced Configuration: Detailed security and deployment guidance in config/mcp-server.php
- Better Examples: Improved tool stubs with comprehensive documentation
- Migration Guide: Step-by-step upgrade instructions with examples
Migration Guide
Before (v1.2.x):
public function messageType(): ProcessMessageType
{
return ProcessMessageType::HTTP; // or ::SSE
}
After (v1.3.x):
// For HTTP tools: Remove messageType() entirely (default behavior)
// For SSE tools only:
public function isStreaming(): bool
{
return true;
}
Auto-migrate with:
php artisan mcp:migrate-tools
No Breaking Changes
- All v1.1.x and v1.2.x tools continue working without modification
- Migration is completely optional
- Fallback logic ensures compatibility
Full Changelog: 1.2.1...1.3.1
1.3.0
1.2.1
What's Changed
- Fix bugs in the stub template for generating prompts and resources.
- Fix typo in tool.stub by @nfauchelle in #29
- [docs] fix missing end tags for code by @barryvdh in #30
New Contributors
- @nfauchelle made their first contribution in #29
- @barryvdh made their first contribution in #30
Full Changelog: 1.2.0...1.2.1
1.2.0
New Features Added:
- MCP Prompts support with argument validation and rendering
- MCP Resources support for exposing application data
- MCP Resource Templates with URI template patterns
- Domain restriction capability for multi-tenant setups
- New endpoints: prompts/list, prompts/get, resources/list, resources/read, resources/templates/list
New Artisan Commands:
- php artisan make:mcp-prompt
- php artisan make:mcp-resource
- php artisan make:mcp-resource-template
Enhanced Documentation:
- Comprehensive stub files with detailed examples
- Updated README with all new features
- Improved test coverage
Testing:
- Updated test-setup.sh script with new endpoint tests
PRs
- Improve streamable HTTP test coverage by @kargnas in #23
- Add domain restriction configuration for MCP routes by @veneliniliev in #22
- Add MCP integration tests to CI by @kargnas in #25
- Add resources, resource templates, and prompts by @kargnas in #27
New Contributors
- @veneliniliev made their first contribution in #22
Full Changelog: 1.1.2...1.2.0
1.1.2
What's Changed
- Add StreamableHttp Provider by @jskorlol in #13
- Update README for streamable HTTP support by @kargnas in #15
- Fixing when use swoole by @evecimar in #5
- Improve documentations and adding automatic migration tool by @kargnas in #19
- Breaking change:
- run
php artisan mcp:migrate-tools
after updating from 1.0.x
- run
New Contributors
- @jskorlol made their first contribution in #13
- @kargnas made their first contribution in #15
- @evecimar made their first contribution in #5
Full Changelog: 1.1.0...1.1.2
1.1.0
What's New
Added Streamable HTTP Protocol 2025-03-26
Known Limitations
Streamable HTTP SSE (Server-Sent Events) connection is not yet implemented
Streamable HTTP SSE support will be added in a future release
SSE(legacy) Provider will be removed in future versions
Configuration Update Required
Change server_provider
to streamable_http
in mcp-server.php
config file