Skip to content

Releases: opgginc/laravel-mcp-server

1.3.3

10 Jun 14:44
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.3.2...1.3.3

1.3.2

10 Jun 13:13
8f4c0ce
Compare
Choose a tag to compare

What's Changed

  • Add new read functionality for resource templates by @kargnas in #35

Full Changelog: 1.3.1...1.3.2

1.3.1

07 Jun 11:41
Compare
Choose a tag to compare

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

07 Jun 11:25
965d22a
Compare
Choose a tag to compare

What's Changed

  • Enhance MCP tool interface and improve documentation for v1.3.0 by @kargnas in #31

Full Changelog: 1.2.1...1.3.0

1.2.1

07 Jun 10:57
Compare
Choose a tag to compare

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

Full Changelog: 1.2.0...1.2.1

1.2.0

06 Jun 08:34
Compare
Choose a tag to compare

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

Full Changelog: 1.1.2...1.2.0

1.1.2

01 Jun 18:35
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 1.1.0...1.1.2

1.1.0

29 May 09:43
Compare
Choose a tag to compare

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

Breaking Changes

⚠️ Migration Required: The interface has been modified and may require updates to existing implementations.

1.0.5

27 May 16:17
Compare
Choose a tag to compare
Merge branch 'feat/ping-handler'

1.0.4

27 May 07:20
Compare
Choose a tag to compare

fix: disable unicode escaping in JSON encoding for MCP tools results

MCP tools results with unicode strings are not properly understood by LLMs.
Disable unicode encoding to ensure correct interpretation.