← Back to Leaderboard
Mlaravel

laravel/mcp

A PHP package that exposes Laravel application capabilities over MCP

View on GitHub ↗
MCP Server & SkillStack: MCP & CODING →
Engineering Health (Methodology)
A+ · 94/100
Maintenance Activity
● Updated today
Latest Release
v1.3.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence20/20
License Clarity20/20
MCP
Total Stars
★ 887
24h Growth
+1
7d Growth
+5
Forks
143

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

laravel/mcp Star History (2025-08-12 - 2026-12-04) ALL-TIME STAR HISTORY (2025-08 – 2026-12) +886 in 479d · avg +2/day 937 469 0 2025-08-12: ★ 12025-09-13: ★ 3482025-10-18: ★ 5082025-11-22: ★ 5522025-12-27: ★ 6022026-01-31: ★ 6422026-03-07: ★ 6832026-04-11: ★ 7082026-05-16: ★ 7322026-06-20: ★ 7552026-07-25: ★ 7742026-08-29: ★ 8022026-10-03: ★ 8452026-11-03: ★ 8622026-12-04: ★ 887 ★ 887 2025-08 2026-04 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Laravel MCP is a PHP package for building a Model Context Protocol server around a Laravel application. It connects AI clients to capabilities the application chooses to expose. Laravel remains the home of the business logic; the package provides the MCP-facing integration rather than a separate model runtime or a ready-made catalog of business tools.

The tree has a Composer manifest and separate src/, config/, routes/, resources/, and stubs/ directories, with tests/, workbench/, and testbench.yaml for development and testing. In v1.2.1, tests resolve Tool classes through the Laravel container. That confirms container integration in tests, but does not establish the production dispatch path, exact entrypoint, or dependency version ranges.

Key Capabilities & Differentiators

The package's core capability is exposing application functionality to AI clients over MCP. v1.2.0 adds JSON assertions for structured content, and v1.2.1 adds conformance fixtures, pins the conformance suite version, and fixes failures in quick server and client conformance runs. These are useful signals for regression testing, not a guarantee that every MCP client or protocol revision is supported.

The v1.3.0 changes confirm support for stdio and an OAuth authorization flow: the release addresses a Windows stdio idle-exit issue, supports resolving the resource metadata URL in an OAuth challenge, and makes the authorization view translatable. Exact HTTP transport modes, coverage across MCP primitives, and compatibility with specific clients or model families are not established. Test discovery, authorization, and tool invocation with the clients you plan to support.

Trade-offs & Limitations

Adding MCP inside an existing Laravel application can avoid duplicating business logic and operating a second service. A standalone MCP server is a better fit when several applications share one interface or when independent scaling, releases, or isolation matter more than in-process integration. Keeping the MCP surface with the app can also make expensive tool calls compete with ordinary application traffic, depending on how the deployment is configured.

OAuth support helps establish client access, but it does not substitute for per-operation authorization, tenant isolation, or safeguards on writes. For an initial rollout, favor a small read-only surface and review what data each operation returns before expanding it. MIT permits commercial use and self-hosting under its notice terms; neither the license nor the conformance work establishes production readiness for a particular environment.

Hardware & Deployment Guide

Plan for a PHP runtime and a compatible Laravel application, with dependencies managed through Composer. Check the selected release's manifest for exact version constraints and the official Laravel MCP documentation for transport configuration and start commands. A routes/ directory and OAuth changes are not enough to infer an HTTP transport mode, and no container image or start command is established here.

For local stdio use, test process startup, idle behavior, and reconnection with the actual host client, especially on Windows given the v1.3.0 idle-exit fix. For an OAuth-enabled deployment, verify the externally visible resource metadata URL and the full authorization flow in the target environment. Size for PHP process concurrency and tool workload rather than inference hardware; there are no measured capacity figures to use as a baseline.

Protocol boundary: AI clients access Laravel application capabilities through the Model Context Protocol.
Package layout: src/, config/, routes/, and stubs/ sit alongside a PHP Composer manifest.
Local transport: v1.3.0 addresses premature stdio server exit after extended Windows idle periods.
OAuth integration: v1.3.0 supports resolving an OAuth challenge's resource metadata URL and makes the authorization view translatable.
Conformance testing: v1.2.1 adds fixtures, pins the suite version, and fixes quick server and client conformance failures.
Tool testing: v1.2.1 resolves Tool classes through the Laravel container in tests.
Best For

Laravel teams that want to expose a defined set of existing application operations to MCP clients while keeping the business logic in the app.

Skip If

You need a model runtime, have no Laravel application, or require a separately deployed MCP gateway spanning multiple services.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
mcp ★887+5PHPMITA PHP package that exposes Laravel application capabilities over MCP
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis
skills338.9k+4.6kShellMITComposable Markdown skills that bring engineering workflows to coding agents
superpowers332.6k+4.4kShellMITA skills framework that gives coding agents a test-first development workflow

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/laravel/mcp.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

laravel/mcp Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about mcp

Where does Laravel MCP sit in an existing application?

Place the PHP package alongside your Laravel application and define which operations AI clients may access over MCP. Keep business logic in the application and enforce authorization for each exposed operation. The exact registration API and route setup are not established here; verify them in the official Laravel MCP documentation for your chosen release.

Does it need a GPU, and how should I size the server?

The package exposes application capabilities; it is not a model inference runtime. No GPU or VRAM requirement is established for the package itself. Size CPU and memory against your PHP runtime, request concurrency, and the cost of the Laravel operations clients invoke.

Can I self-host it in a commercial product?

Yes. MIT permits commercial use and self-hosting. If you redistribute copies or substantial portions, retain the required copyright and license notices. Review dependency licenses, access controls, and obligations around the application data exposed to clients separately.

When should I choose a standalone MCP server instead?

Choose Laravel MCP when the capabilities already live in one Laravel application and you want to reuse its business logic. Consider a standalone MCP server when the interface needs an independent release cycle, a separate trust boundary, or integration across several applications. The standalone option adds a service to operate but gives you a clearer separation from application internals.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining laravel/mcp? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature laravel/mcp on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare