laravel

MCP.Pizza Chef: php-mcp

This is a builder's toolkit rather than something you install into a chat app. A team running a Laravel website uses it to expose chosen actions, such as looking up an order, sending an email, or reading a setting, so Claude, Cursor, or ChatGPT can call them. Progress has slowed, with the last release in March 2026 and support for an early 2025 version of the protocol. Laravel now publishes its own official MCP package, which is worth comparing first.

Coding
Data

Use This MCP server To

Let my assistant look up orders in my own app Expose a few safe actions from my site to Claude Give my team's AI tools access to internal records Reuse existing Laravel code instead of writing new glue Serve those actions over the web or locally

README

Laravel MCP Server SDK

Latest Version on Packagist Total Downloads License

A comprehensive Laravel SDK for building Model Context Protocol (MCP) servers with enterprise-grade features and Laravel-native integrations.

This SDK provides a Laravel-optimized wrapper for the powerful php-mcp/server library, enabling you to expose your Laravel application's functionality as standardized MCP Tools, Resources, Prompts, and Resource Templates for AI assistants like Anthropic's Claude, Cursor IDE, OpenAI's ChatGPT, and others.

Key Features

  • Laravel-Native Integration: Deep integration with Laravel's service container, configuration, caching, logging, sessions, and Artisan console
  • Fluent Element Definition: Define MCP elements with an elegant, Laravel-style API using the Mcp facade
  • Attribute-Based Discovery: Use PHP 8 attributes (#[McpTool], #[McpResource], etc.) with automatic discovery and caching
  • Advanced Session Management: Laravel-native session handlers (file, database, cache, redis) with automatic garbage collection
  • Flexible Transport Options:
    • Integrated HTTP: Serve through Laravel routes with middleware support
    • Dedicated HTTP Server: High-performance standalone ReactPHP server
    • STDIO: Command-line interface for direct client integration
  • Streamable Transport: Enhanced HTTP transport with resumability and event sourcing
  • Artisan Commands: Commands for serving, discovery, and element management
  • Full Test Coverage: Comprehensive test suite ensuring reliability

This package supports the 2025-03-26 version of the Model Context Protocol.

Requirements

  • PHP >= 8.1
  • Laravel >= 10.0
  • Extensions: json, mbstring, pcre (typically enabled by default)

Installation

Install the package via Composer:

composer require php-mcp/laravel:^3.0 -W

Publish the configuration file:

laravel FAQ

Is this still maintained?
Slowly. The last release was March 2026, adding Laravel 13 support, and it targets the March 2025 version of the protocol.
Is there an official alternative?
Yes. Laravel now ships its own first-party MCP package, which is more actively developed. Compare both before you commit.
Do I need to write code?
Yes. This is for developers who already run a Laravel website and want to expose parts of it.
Can I use this to let ChatGPT read data from our own site?
Yes, for the specific actions your developer chooses to expose, and nothing else.
Do I need a paid key?
No. The package is free, though you decide how to protect access to your own site.
Which apps can connect to it?
Claude, Cursor, ChatGPT, and other tools that support MCP servers, over a web address or a local connection.