#
ENJA

laravel

php-mcp/laravel

A comprehensive Laravel SDK for building Model Context Protocol (MCP) servers with native framework integrations and attributes.

477 30MITUpdated 2026-03-29

Overview

This package acts as a Laravel wrapper for the php-mcp/server library, allowing developers to effortlessly expose application functionalities such as tools, resources, prompts, and templates to AI assistants. It supports both fluent definition blocks via facades and automatic discovery through PHP 8 attributes.

Capabilities

  • Laravel-native service container integration
  • Attribute-based discovery of MCP elements
  • Fluent API configuration using the Mcp facade
  • Multiple transport options including STDIO and HTTP
  • Advanced session and state management

Best for

Exposing Laravel database queries or services as AI tools, Providing application configurations and files as resources to LLMs, Generating dynamic prompts and templates based on application state

Works with

Claude CodeCursorChatGPT
Evoa Score breakdown= Σ (score × weight)
70
Task usefulness20%88 → +17.6

実タスクにどれだけ役立つか(機能の豊富さ・用途の明確さ)。 AIによるcapabilities/use-cases解析

Code quality15%90 → +13.5

実装・指示の品質。 AIによるSKILL.md/README解析

Maintenance15%70 → +10.5

リポジトリがどれだけ活発に保守されているか。 GitHub 最終push日時の新しさ

Documentation12%24 → +2.9

ドキュメントの充実度・分かりやすさ。 README/独自要約の情報量

Security15%50 → +7.5

危険・不審な挙動が無いか。 AIによるセキュリティレビュー

Originality10%85 → +8.5

ありふれたラッパーではない独自性。 AIによる独自性判定

Popularity8%68 → +5.4

コミュニティの採用度。 GitHub Stars/Forks(対数スケール)

Compatibility5%75 → +3.8

対応AIエージェントの広さ。 AIによる対応エージェント判定

Weighted total69.7 / 100

ライセンス不明/制限あり(Red)のSkillは総合スコアに0.85倍の補正を適用します。 ランキングはこのScoreのみで決まり、広告で変わりません。 算出方法の詳細 →

Security considerations

Exposing application models and services as tools via MCP may introduce security risks if proper authorization checks are not implemented in the underlying Laravel methods.

Categories

Summary and analysis are original content generated by AI Skills Rank. The skill's source text is not reproduced here — view it on the linked repository.