Weave 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

Laravel Mcp Server Laravel Package

yoosuf/laravel-mcp-server

A Laravel package for building Model Context Protocol servers, letting you expose tools, resources, and prompts to AI clients like Claude through a clean, framework-native API. Includes simple tool registration, configurable transport, and authentication.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • "AI-accessible product" roadmap bets. This package is the cheapest credible path to exposing existing Laravel domain logic (orders, tickets, billing, catalog, internal admin actions) as MCP tools/resources that Claude Desktop, IDE agents, and other MCP-compatible clients can call. It turns "should we build an AI integration layer?" into "which of our existing capabilities do we expose first?"
  • Build vs. buy for agent plumbing. Protocol handling, discovery, three transports (HTTP, CLI, STDIO), auth/security hooks, and audit logging are undifferentiated heavy lifting. Adopting an existing Laravel-native implementation avoids a multi-quarter internal protocol project and keeps the team focused on which capabilities to expose rather than how to serialize them.
  • Prioritization input for the roadmap. Artisan generators and Eloquent integration mean the marginal cost of exposing a new capability is low — so roadmap sequencing can be driven by customer/agent value (e.g., "read-only order lookup" before "issue refund") rather than by engineering effort. This supports a phased capability roadmap: read → act-with-approval → autonomous.
  • Platform vs. one-off integration decision. Because it supports HTTP transport plus queue-backed async execution, the same package can serve an internal copilot, a customer-facing assistant, and developer tooling. That supports a decision to build one MCP surface as a platform asset instead of three bespoke integrations.
  • Security and compliance gating. Audit logging and a security layer at v1.0.0 make it feasible to take an MCP surface through security review earlier — which affects whether the AI feature ships this half or next.
  • Use cases to validate in discovery: internal ops copilots over admin data, customer support agents with scoped read/act tools, and developer/partner tooling that exposes a product API to agentic clients.

When to Consider This Package

Consider adopting when:

  • The product is (or will be) Laravel/PHP-based and the team is already fluent in Eloquent, Artisan, and Laravel's queue/auth conventions — the integration cost is then genuinely low.
  • You have concrete near-term demand to let AI clients (Claude Desktop, IDE agents, partner agents) read from or act on your application, not a speculative "AI strategy" with no user.
  • You need protocol-standard exposure rather than a proprietary plugin format — i.e., you want to avoid re-implementing each time a new client appears.
  • Security review will demand authentication, audit trails, and the ability to run long actions asynchronously — all present at v1.0.0.
  • You want read-only or narrowly scoped tools first, with the option to expand to write actions under approval.

Look elsewhere when:

  • The stack is not Laravel/PHP — the value proposition is Laravel-native conventions; a framework-agnostic MCP SDK is a better fit.
  • The requirement is a chat UI or LLM orchestration — this package is a server-side capability layer, not an agent runtime.
  • You need a long-term vendor SLA, indemnity, or guaranteed support — this is a v1.0.0 open-source package; plan for internal ownership and fork-ability.
  • Your MCP needs are trivial and one-off (a single static endpoint for one internal script) — a thin custom handler may be less total surface area.
  • Your organization forbids taking critical-path dependencies on single-maintainer/pre-1.x-maturity projects, or your MCP requirements outrun the upstream spec's stability.

Adoption caveats to plan for: pin the version, confirm the maintainer/contribution model, and treat the MCP specification's evolution as ongoing integration work. v1.0.0 signals API stability but not ecosystem maturity — budget for upgrades and for owning the security review of every tool you expose.

How to Pitch It (Stakeholders)

For executives (one paragraph): We can make our existing product callable by AI assistants — ours, our customers', and third-party agents — by adopting laravel-mcp-server rather than building protocol infrastructure ourselves. It is a Laravel-native, v1.0.0 implementation of the Model Context Protocol with the controls our security team will ask for (authentication hooks, audit logging, async execution) and the developer ergonomics our engineers already use (Eloquent, Artisan generators, tests, CI, docs). The decision it unlocks is not "should we do AI" but "which three capabilities do we expose first and in what order" — a sequencing conversation with clear customer value and a low incremental cost per capability.

For engineering: This removes the protocol, transport (HTTP/CLI/STDIO), and discovery work from the critical path and gives us generators plus Eloquent integration so exposing a tool is measured in days, not sprints. Queue support means long-running actions don't block agent sessions. Ask: do we accept ownership of a v1.0.0 OSS dependency, and who owns upgrades as the MCP spec moves? Mitigation is version pinning, an internal wrapper layer around tool definitions, and a documented fallback to a framework-agnostic MCP SDK.

For security/compliance: Audit logging, an explicit security layer, and per-tool scoping mean we can ship read-only tools under review quickly, and gate write/action tools behind approval flows. Every exposed tool is an intentional API surface — recommend a per-tool data-classification and least-privilege review before any write capability goes live.

For product/GTM: Fastest route to a credible, standards-based "works with your AI assistant" story, with a natural tiering path (read-only lookup → assisted actions → autonomous workflows) that doubles as our packaging and pricing ladder.

Recommendation: Run a two-to-three week spike exposing two read-only capabilities to an internal agent client, with security review in parallel. Proceed to production adoption if the spike ships and the maintainer/upgrade story holds; revisit the choice if the MCP spec churns faster than we can absorb.

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.
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox