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 Laravel Package

laravel/mcp

Build MCP servers inside Laravel so AI clients can safely interact with your app via the Model Context Protocol. Includes tools to expose app capabilities, run requests, and integrate quickly using Laravel’s conventions and docs.

View on GitHub
Deep Wiki
Context7
v0.9.0

What's Changed

New Contributors

Full Changelog: https://github.com/laravel/mcp/compare/v0.8.2...v0.9.0

Upgrading To v0.9.0 From v0.8.0

Custom Client Transports

Likelihood Of Impact: low

The Laravel\Mcp\Client\Contracts\Transport contract now requires a setProtocolVersion method. The client calls this method after the initialize handshake so the transport can send the negotiated protocol version on subsequent requests.

If your application implements this contract, add the method to your transport:

public function setProtocolVersion(string $version): void
{
    $this->protocolVersion = $version;
}


Transports that do not send per-request headers may implement the method as a no-op, as the first-party StdioTransport does.

Client Protocol Version Negotiation

Likelihood Of Impact: Medium

The MCP client now validates the negotiated protocol version against the new ProtocolVersion::clientSupported() method rather than ProtocolVersion::supported(). The client supports 2025-11-25 and 2025-06-18.

Connecting to a server that negotiates 2025-03-26 or 2024-11-05 previously succeeded and will now throw a Laravel\Mcp\Exceptions\ClientException. The ProtocolVersion::supported() method is unchanged and still reports every version the server accepts.

v0.8.2

What's Changed

New Contributors

Full Changelog: https://github.com/laravel/mcp/compare/v0.8.1...v0.8.2

v0.8.1

What's Changed

New Contributors

Full Changelog: https://github.com/laravel/mcp/compare/v0.8.0...v0.8.1

v0.8.0

What's Changed

New Contributors

Full Changelog: https://github.com/laravel/mcp/compare/v0.7.2...v0.8.0

v0.7.2

What's Changed

New Contributors

Full Changelog: https://github.com/laravel/mcp/compare/v0.7.1...v0.7.2

v0.7.1
v0.7.0
v0.6.7

What's Changed

New Contributors

Full Changelog: https://github.com/laravel/mcp/compare/v0.6.6...v0.6.7

v0.6.6
v0.6.5

What's Changed

New Contributors

Full Changelog: https://github.com/laravel/mcp/compare/v0.6.4...v0.6.5

v0.6.4
v0.6.3
v0.6.1
v0.6.0
v0.5.9
v0.5.8
v0.5.7
v0.5.6
v0.5.5
v0.5.3
v0.5.2
v0.5.1

What's Changed

New Contributors

Full Changelog: https://github.com/laravel/mcp/compare/v0.5.0...v0.5.1

v0.4.1
v0.4.0

What's Changed

New Contributors

Breaking Change

1. Case Name Updates (https://github.com/laravel/mcp/pull/116)

Applications referencing the previous case names will need manual updates.

Required changes

  • Role::ASSISTANT should be updated to Role::Assistant
  • Role::USER should be updated to Role::User

Make sure your codebase reflects these changes before upgrading to avoid build or runtime errors.

2. JsonSchema Contract Change (https://github.com/laravel/mcp/pull/120)

Tool implementations that explicitly type hint Illuminate\JsonSchema\JsonSchema in their schema() or outputSchema() methods must update to use the contract interface Illuminate\Contracts\JsonSchema\JsonSchema.

Migration Guide

Before

use Illuminate\JsonSchema\JsonSchema;

public function schema(JsonSchema $schema): array
{
    //
}





























After

use Illuminate\Contracts\JsonSchema\JsonSchema;

public function schema(JsonSchema $schema): array
{
    //
}





























This affects only custom tool classes that override the schema methods. The update is minimal, requiring only the import change to the contract interface.

Full Changelog: https://github.com/laravel/mcp/compare/v0.3.4...v0.4.0

v0.3.3
v0.3.2

What's Changed

New Contributors

Full Changelog: https://github.com/laravel/mcp/compare/v0.3.1...v0.3.2

v0.3.1
v0.3.0
v0.2.1
v0.2.0
  • First official "beta" release of Laravel MCP package.
v0.1.0

Initial pre-release.

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.
codraw/framework-extra-bundle
codraw/messenger
codraw/security
codraw/mailer
codraw/contracts
codraw/profiling
codraw/dependency-injection
codraw/tester
codraw/core
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony