Laravel MCP: Turn Your App Into an AI-Ready Server
The laravel/mcp package lets you expose your application as a structured MCP server so AI clients like Claude, Cursor, and GitHub Copilot can query your actual data instead of guessing at it.
There is a recurring frustration with AI coding assistants: they know a lot about Laravel in general, but they know nothing about your Laravel app specifically. They invent column names. They generate routes that do not exist. They suggest package versions that do not match what is in your composer.json. The assistant is guessing, and every wrong guess costs you time. The Laravel team's answer to this is Laravel MCP, and it shipped the laravel/mcp package in early 2026 to address exactly this problem. What Is MCP? MCP stands for Model Context Protocol. Anthropic introduced it as an open standard in November 2024 to define how AI agents communicate with external tools and data sources. Before MCP, every AI tool that wanted to connect to your data built its own proprietary integration. MCP replaces that chaos with a single standard protocol. Any MCP-compatible client — Claude, Cursor, GitHub Copilot, ChatGPT — can connect to any MCP-compatible server, including one you build in Laravel....
The laravel/mcp package lets you expose your application as a structured MCP server so AI clients like Claude, Cursor, and GitHub Copilot can query your actual data instead of guessing at it.
Middleware in Laravel goes well beyond authentication guards. These five techniques cover terminable middleware, priority ordering, route-level parameters, and more.
PHP 8.4 shipped property hooks, asymmetric visibility, and more. Here is what each feature means for your day-to-day Laravel code and how to start using them now.
These five underused Eloquent features will help you write less code, run fewer queries, and make your models a lot more pleasant to work with.
Nuno Maduro just shipped Moat, a free Rust-powered CLI that scans your GitHub account, org, or repo and gives your security posture a hard look. Here is what it checks and why you should care.