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

Mcp Kit Laravel Package

heihallo/mcp-kit

A Laravel toolkit for building Model Context Protocol servers, helping you expose tools, resources, and prompts to AI clients with clean, framework-native APIs and minimal setup.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. The package is Laravel-native in shape — service provider, publishable config, middleware aliases — which is the right pattern for this problem. The ability catalogue maps cleanly onto Laravel's existing Gate/Policy vocabulary, and per-person tokens onto the Sanctum/Passport mental model. The two features that carry the most architectural weight are preview/confirm writes and audit middleware: those are what make agent-driven mutations defensible in a real staff-tooling context. Conceptually this is a thin MCP façade over domain actions the app already owns, not a new system of record — which is the correct boundary.

Integration feasibility. Mechanically easy: composer require, register the provider, publish config, declare abilities, point an MCP client at it. The variable is the client side — Claude Desktop, Claude Code, Cursor, or a custom agent runtime — where preview/confirm and memory support are not uniform. A working spike is days, not weeks. A production-hardened deployment is weeks.

Technical risk. High, and driven almost entirely by project maturity rather than design quality. Zero stars, zero dependents, and a single-maintainer profile mean no external validation of the security model, no second set of eyes on the confirm-gating logic, and no ecosystem pressure to keep pace with MCP spec churn. It is almost certainly pre-1.0 with an unstable ability schema. The intrinsic security surface is also large: you are deliberately exposing tool invocation to a language model, and preview/confirm mitigates prompt-injection-driven writes without eliminating them.

Key questions for the maintainer / spike.

  • Which MCP spec revision and transports (stdio, SSE, streamable HTTP) are implemented, and how quickly does it track spec changes?
  • How are abilities declared — config array, attribute, interface — and what happens when the catalogue drifts from actual Gate definitions?
  • Token lifecycle: issuance, scoping, rotation, revocation, storage at rest.
  • Preview/confirm: is it stateful? What prevents replay, or a client bypassing the confirm turn? What is the timeout behavior?
  • Audit schema: what is captured (actor, token, tool, arguments, result, latency), where does it sink, is it tamper-evident?
  • Memory: how is per-user scoping guaranteed, what PII handling and retention apply, and can a single user's memory be deleted on request?
  • Are "ground rules" enforced server-side or merely advisory in the system prompt?
  • Laravel/PHP support matrix, test coverage, CI, and static analysis status.

Integration Approach

Stack fit. Laravel 10/11 on PHP 8.1/8.2+, sitting alongside existing users/roles/teams rather than replacing them. The best-fitting host is an application that already has a clean action or command layer — the kit then becomes the agent-facing edge over logic that is already tested.

Migration path. There is no data migration; the migration is organizational. Land it on a branch of an internal admin app, expose read-only abilities only, attach one MCP client, and measure. Enable preview/confirm writes for low-blast-radius actions next. Expand only after audit coverage is verified end to end.

Compatibility. Validate against your actual client, not the README. Lock the package version and pin protocol expectations explicitly. If you are on the Laravel 11 slim skeleton, confirm service provider auto-discovery and middleware registration behave as documented.

Sequencing.

  1. Spike — install, run one read-only ability, confirm the audit log captures actor, tool, and arguments.
  2. Pilot — 3–5 internal staff, one client, 5–10 read abilities, one or two confirm-gated writes.
  3. Harden — token rotation, memory retention policy, audit sink forwarded to SIEM, ground rules expressed server-side.
  4. Expand — additional ability groups, a second client, structured onboarding for new staff.
  5. Re-evaluate — fork or replace if upstream cadence stalls.

Wrap the package behind an internal interface so ability definitions and transport wiring do not bleed into domain code. That is the single cheapest hedge against abandonment.

Operational Impact

Maintenance. The dominant concern. Zero adoption means you are effectively the maintainer of your fork. Budget for reading source, patching spec drift, and owning upgrades. Pin the version — do not float. Track upstream commits; if the repo goes quiet for a quarter, start the fork conversation.

Support. No community, no commercial backing, no SLA. GitHub issues only. Requires one named owner on the platform team with the authority to patch.

Scaling. Call volume per staff user is low (tens to hundreds per day), so throughput is not the constraint. What actually scales is headcount (one token per person), audit volume (every tool call, so budget storage and retention), and per-user memory growth. Confirm round-trips add latency to every write — fine for staff tooling, wrong for high-frequency automation.

Failure modes.

  • Prompt injection produces an unintended write that the confirm step rubber-stamps.
  • Ability catalogue drifts from policy, granting more than intended.
  • Token leakage or missed rotation.
  • Audit gaps during MCP server errors — actions taken but not recorded.
  • Memory cross-contamination between users, or PII retained past policy.
  • Upstream breaks on a Laravel/PHP upgrade or MCP spec bump.
  • Maintainer abandons the project mid-pilot.
  • Client-side incompatibility with preview/confirm discovered late in onboarding.

Ramp-up. Two audiences. Engineers need MCP concepts, ability design, and policy review — roughly a week to productivity for a mid-level Laravel developer. Staff need onboarding to the assistant itself, an understanding of what the confirm prompt means, and your ground rules written in your language; the package's onboarding feature provides scaffolding, not content. Expect several weeks before staff should be trusted with write-adjacent capabilities.

Position. Viable for internal, low-blast-radius staff tooling as a time-boxed pilot with an owner and a fork contingency. Not viable for customer-facing surfaces or high-privilege writes until maturity signals improve — dependents, release cadence, a second maintainer, and published audit/security documentation.

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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager