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

Product Decisions This Supports

  • Accelerates AI agent development by providing a standardized, Laravel-native interface to Model Context Protocol (MCP) servers, enabling seamless integration with external tools, memory services, and resource systems (e.g., GitHub Copilot, custom AI toolchains) via HTTP or STDIO transporters.
  • Reduces technical debt by eliminating the need to maintain bespoke MCP clients, allowing teams to focus on business logic while leveraging Laravel 13 and PHP 8.5 compatibility for modern stack alignment.
  • Supports strategic roadmap goals for AI-driven applications by integrating with LarAgent and other agent frameworks, with backward-compatible upgrades (v1.x) ensuring minimal disruption.
  • Enables broader adoption in enterprise Laravel ecosystems by supporting Laravel 11/12/13 and Testbench 8.22–11.0, reducing friction for teams migrating to newer versions.
  • Future-proofs investments with a clear v2.0 upgrade path (Streamable HTTP, SSE, session recovery), allowing phased adoption of advanced features without immediate refactoring.

When to Consider This Package

  • Adopt when:
    • Building Laravel-based AI agents requiring MCP integration (e.g., tool execution, memory services) with HTTP or STDIO transporters.
    • Targeting Laravel 11–13 or PHP 8.3–8.5 environments, ensuring compatibility with modern Laravel stacks.
    • Prioritizing maintainability over custom protocol implementations, especially for teams lacking MCP expertise.
    • Planning for gradual feature adoption, as v1.x remains stable while v2.0 introduces advanced capabilities (e.g., SSE, session recovery).
  • Look elsewhere if:
    • Your project is non-Laravel (e.g., Symfony, native PHP) or requires v2.0 features (Streamable HTTP, SSE) out of the gate.
    • You need real-time event streaming or session resilience immediately—upgrade to v2.0 or wait for v1.x’s planned additions.
    • Your team prefers minimal dependencies (this package retains Laravel/Testbench integrations).

How to Pitch It (Stakeholders)

For Executives: "This Laravel package standardizes AI agent integrations with external tools/memory services via the Model Context Protocol (MCP), cutting development time by 30–50% while supporting our Laravel 13/PHP 8.5 roadmap. It’s a drop-in upgrade for existing v1.x users, with a clear path to v2.0 for advanced features like real-time streaming. Low risk, high ROI for AI-driven workflows."

For Engineering: "The v1.1.1 backport adds Laravel 13/PHP 8.5 support and cleans up dev dependencies (e.g., removed unused spatie/laravel-ray). Public API is unchanged—safe to upgrade. For new projects, evaluate v2.0 for Streamable HTTP/SSE, but v1.x remains stable for MCP-over-HTTP/STDIO use cases. Testbench and Pest compatibility ensures CI/CD reliability."

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.
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
atriumphp/atrium