Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mcp Client Laravel Laravel Package

redberry/mcp-client-laravel

Laravel client for the Model Context Protocol (MCP). Supports JSON-RPC 2.0 over Streamable HTTP (including SSE) and STDIO. Configure multiple servers and use a single facade to list/call tools and read resources, with per-request content negotiation.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: Excellent fit for Laravel ecosystems, now explicitly supporting Laravel 13 and PHP 8.5. Maintains alignment with Laravel’s service container, config publishing, and facades while expanding compatibility with newer framework versions. STDIO transporter limitations persist (php artisan serve incompatibility remains unresolved).

Integration feasibility: High. Backward-compatible drop-in upgrade for v1.x users with no breaking API changes. Laravel 13 and PHP 8.5 support broadens adoption potential, though the package’s low adoption (0 dependents, 13 stars) still signals limited real-world validation. CI matrix improvements (PHP/Laravel/Testbench combinations) suggest better cross-version testing.

Technical risk: Moderate (unchanged). Future-dated release metadata (2025-11-07) persists as a red flag. STDIO transporter’s php artisan serve incompatibility remains critical for local development. No evidence of expanded test coverage beyond unit tests. Dependency widening (e.g., Pest, Larastan) may introduce subtle compatibility edge cases in edge environments.

Key questions:

  • What MCP server versions are officially supported in v1.1.1? (Critical for production reliability.)
  • How does the package handle transient network failures or server timeouts in Laravel 13? (No mention of changes to error handling.)
  • Are there known compatibility issues with Laravel 13’s new features (e.g., improved dependency injection, new HTTP client)?
  • What is Redberry’s formal support SLA for this package, and how does it differ from v2.0’s roadmap?
  • Does the removal of spatie/laravel-ray (a dev dependency) impact debugging or profiling in CI environments?

Integration Approach

Stack fit: Native Laravel compatibility expanded to Laravel 10–13 and PHP 8.3–8.5. Uses standard Laravel patterns (config, DI, facades) with no external runtime dependencies beyond core framework components. Ideal for projects using Laravel’s ecosystem tools, including newer versions leveraging PHP 8.5 features (e.g., typed properties, enums).

Migration path:

  • Minimal for existing v1.x users: Drop-in upgrade via composer require redberry/mcp-client-laravel:^1.1.1.
  • New projects: V2.0 recommended for Streamable HTTP, SSE, and session-loss recovery (see UPGRADE.md).
  • Sequencing:
    1. Update composer.json constraints (PHP/Laravel/Testbench).
    2. Run php artisan config:clear and test STDIO/HTTP transporters separately.
    3. Validate CI/CD pipelines with the new PHP/Laravel matrix (e.g., Pest v4.x if used).

Compatibility:

  • Breaking changes: None in v1.x line. Dev dependency removal (spatie/laravel-ray) may affect local debugging but does not impact production.
  • Deprecations: None. V2.0 introduces breaking changes (e.g., Streamable HTTP), but v1.x remains stable.
  • Edge cases: Testbench v11.x compatibility (new in CI matrix) may require adjustments if using custom testbench configurations.

Operational Impact

Maintenance:

  • Dev dependency cleanup: Removal of spatie/laravel-ray reduces potential conflicts in test environments but may require local debugging toolchain updates (e.g., switching to laravel-debugbar).
  • CI/CD: Expanded matrix (PHP 8.3/8.4/8.5 × Laravel 11/12/13) improves coverage but may increase build times. Monitor prefer-lowest tests for edge-case failures.

Support:

  • Error handling: StdioTransporter::handleStartupFailure() no longer duplicates logs, reducing noise but requiring developers to inspect TransporterRequestException messages for stderr/stdout.
  • Documentation: No updates mentioned; assume v1.x docs remain accurate. V2.0’s features (e.g., SSE) are not backported.

Scaling:

  • Performance: No changes to core transporters; scaling assumptions unchanged. HTTP/SSE improvements are v2.0-only.
  • Resource usage: PHP 8.5’s JIT may improve performance, but no benchmarks provided.

Failure modes:

  • STDIO transporter: Still incompatible with php artisan serve (critical for local dev). Workaround: Use HTTP transporter or external process management (e.g., Docker).
  • Network timeouts: No explicit changes to retry logic; assume v1.0 behavior persists.
  • Laravel 13: Potential risks with new features (e.g., improved DI) untested; monitor for regressions.

Ramp-up:

  • Onboarding: Simplified for Laravel 13 users due to explicit support. Existing v1.x users face zero disruption.
  • Training: Highlight v2.0’s advantages (Streamable HTTP, SSE) to justify migration if adopting new features.
  • Tooling: Update local dev environments to PHP 8.5/Laravel 13 if leveraging new constraints, but not required for v1.x.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle