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

Filament Mcp Laravel Package

guava/filament-mcp

guava/filament-mcp brings the Model Context Protocol to Filament, exposing your admin panel's resources and tools to AI assistants and MCP clients so they can query and act on your Laravel app through a standardized, permission-aware interface.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. guavacz/filament-mcp is a Laravel package that bridges Filament admin panels to the Model Context Protocol (MCP), letting MCP-capable clients (Claude Desktop, Cursor, IDE agents, internal chat tooling) discover and invoke panel capabilities as tools. Architecturally this is a natural Laravel fit: a service provider with package auto-discovery, a Filament plugin registered against a panel, publishable config, and an MCP server endpoint or command transport. It slots into the existing HTTP kernel and Filament authorization stack rather than requiring a sidecar service — a meaningful simplification versus building a bespoke tool-calling API.

Integration feasibility. High on paper, unproven in practice. The 1.0.0 tag contains a single initial commit — no prior tags, no migration guide, no documented upgrade path, and no changelog history to infer intent from. Integration is expected to be composer require + plugin registration + config publish + MCP client wiring, but the actual constraints (Laravel/Filament/PHP version ranges, transport support, auth mechanism) are unverified. Treat every assumption as a hypothesis until a spike confirms it.

Technical risk.

  • Maturity risk (high): a 1.0.0 semver tag on a single-commit repository asserts API stability that has not been earned. Expect breaking changes in 1.x with or without a major bump.
  • Security surface (high): MCP tools that expose admin-panel data are an exfiltration path and, if write tools exist, a mutation path. The authorization model — whether tool calls re-enter Filament policies, gate checks, and tenant scoping — is the single most important unknown. Prompt injection via untrusted content reaching an agent with admin tools is a live threat model.
  • Protocol churn (medium): MCP is evolving quickly (transports, tool schema, auth conventions). A thin package will chase spec changes.
  • Coupling risk (medium): Filament majors move fast; a package tracking Filament resource/panel internals is brittle across upgrades.
  • Bus factor (medium): GuavaCZ ships many Filament plugins; maintenance bandwidth across a broad portfolio is a real consideration.

Key questions.

  1. Which MCP transports are supported (stdio command vs HTTP/SSE), and is the HTTP surface authenticated by default or opt-in?
  2. Do tool invocations pass through Filament's policy/canAccessPanel/tenant scoping, or is there a separate allowlist?
  3. Are generated tools read-only, or do they include create/update/delete actions? Is there a global read-only mode?
  4. What are the declared composer.json constraints (PHP, Laravel, Filament major)?
  5. Is there test coverage, and does CI run against a matrix of Filament majors?
  6. Is there rate limiting, audit logging, or per-token scoping for tool calls?
  7. What is the project's stated backwards-compatibility policy?
  8. How is tool schema drift handled when a Filament resource changes shape?

Integration Approach

Stack fit. Assumes a conventional Laravel 11/12 + Filament 3/4 application on PHP 8.2+. Before committing, run composer require guavacz/filament-mcp --dry-run against the locked dependency set to surface conflicts; version constraints are unknown from the release notes.

Migration path. None required — this is greenfield adoption with no existing surface to migrate. The relevant "migration" is organizational: moving from manual admin workflows or ad-hoc read APIs to agent-invoked tool calls. Do not frame this as a replacement for existing admin UI; frame it as an additive, narrowly scoped interface.

Compatibility. Pin the exact version ("guavacz/filament-mcp": "1.0.0") rather than a caret range for the first evaluation cycle, given the single-commit history. Verify MCP client compatibility independently — the package's supported spec revision must match what the team's chosen clients implement. Validate against a non-production panel first, and confirm behavior on both a fresh panel and a panel with custom resources, relation managers, and widgets.

Sequencing.

  1. Spike (1–2 days): install in a throwaway Laravel app, register against a demo Filament panel, connect one MCP client, enumerate the generated tools. Produce a written inventory of exactly what is exposed.
  2. Security review: map every generated tool to a policy check. Confirm tenant scoping and confirm whether write operations are reachable. Decide read-only vs read-write explicitly.
  3. Isolated deployment: a dedicated, least-privilege service account and a scoped token in a staging panel containing synthetic data only.
  4. Observability first: land audit logging and rate limiting before any production exposure — this is not optional for an LLM-facing admin surface.
  5. Production, gated: ship behind a feature flag to a single internal team; expand only after tool-call telemetry is trustworthy.

Operational Impact

Maintenance. Expect to actively track upstream releases rather than pin and forget. Budget recurring time for version bumps, MCP spec drift, and Filament major upgrades. Given the single-maintainer profile, assess fork-and-vendor risk now: confirm the license permits it and that the codebase is small enough for the team to adopt if upstream stalls. A vendored fork is a credible contingency for a package this thin.

Support. Community-only — GitHub issues, no SLA, no LTS branch, no commercial backing evident. Internal ownership must be assigned explicitly; "the platform team owns it" without a named engineer is how these packages rot. Document the pinned version, the reason for it, and the upgrade trigger.

Scaling. Tool calls are synchronous request/response and will consume PHP workers and DB connections under agent load — LLM clients retry and fan out in ways human users do not. Expect bursty traffic patterns rather than smooth concurrency. Secondary scaling cost is token spend: verbose Filament resource schemas inflate context on every call, so tool-surface breadth has a direct, recurring dollar cost. Start with a deliberately narrow tool set; expand on evidence of need.

Failure modes.

  • Authorization bypass: a tool that reaches data the calling user's policies would deny. Highest-severity, hardest to detect.
  • Destructive invocation: an agent misinterpreting intent and calling a write tool. Mitigate with read-only mode and human confirmation where available.
  • Silent schema drift: a Filament resource changes; generated tool schemas no longer match, producing malformed calls or confident wrong answers.
  • Timeout / worker exhaustion: long-running tool calls under agent retry loops.
  • Client incompatibility: MCP client upgrades past the package's supported spec revision, breaking tool discovery with no clear error.
  • Upstream abandonment: package stops tracking Filament releases; blocks the app's own upgrade path.

Ramp-up. Two distinct learning curves. The team needs MCP literacy — protocol basics, tool schema design, client configuration, and the prompt-injection threat model — plus a working understanding of how Filament surfaces resources so tool output can be sanity-checked. Realistic estimate: 2–3 days for an engineer to reach productive spike velocity, longer for the security reviewer. Given that the release notes for 1.0.0 consist of a single initial commit line, the package's own documentation cannot yet be assumed to carry this load; plan for the team to learn from source.

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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource