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.
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.
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.
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.
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.
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.
How can I help you explore Laravel packages today?