mdrbx/nova-mcp
mdrbx/nova-mcp brings Model Context Protocol support to Laravel Nova. It exposes Nova resources, tools, and administrative capabilities to AI assistants through a secure MCP server, enabling context-aware workflows and automation inside your Nova admin panel.
nova:write scope, per-token authorization, and the NOVA_MCP_READ_ONLY kill switch makes it feasible to ship an "assistant with limited write access" feature with a defensible security posture, rather than treating agent writes as out of scope.NOVA_MCP_GUARDRAILS lets product shape the instructions clients receive (e.g., "confirm before destructive actions"), supporting UX policy decisions without forking the package.canRun, visibility, and policy enforcement intact.NOVA_MCP_READ_ONLY=true) that revokes mutation capability globally, including existing write tokens — useful for incident response.nova:read/nova:write) provide, or when "writes on by default" is incompatible with your compliance posture and you cannot enforce read-only via environment configuration.For executives: Nova MCP v0.2.0 turns our Nova admin from an AI-readable surface into an AI-actionable one — assistants can now make governed changes (link records, create children, restore/delete, run approved actions) through the exact same permissions and validation rules our staff already use. That's a meaningful capability expansion without a parallel authorization system to audit. Risk is bounded by a single environment flag that disables all writes org-wide, and by per-token nova:write scope. Maturity signals are solid for a 0.x package: 126 tests / 1,387 assertions, PHPStan level 6, and CI across PHP 8.3–8.5 and Laravel 12–13.
For engineering: The write path deliberately routes through native Nova controllers and policies rather than shadowing them, so authorization, validation, pivot rules, and action canRun semantics stay consistent with the UI. Upgrade is a composer update mdrbx/nova-mcp plus a config cache rebuild — no migrations or frontend builds. Note the operational requirements: writes require the nova:write scope, remain enabled by default, and the NOVA_MCP_GUARDRAILS text is client guidance only — it is not an authorization control. Treat server-side policy defaults for undefined methods as a review item before issuing write tokens.
Recommendation: Adopt for a bounded pilot (read + relationship writes on non-destructive resources), default environments to NOVA_MCP_READ_ONLY=true outside controlled rollout, and revisit when queued/standalone/pivot actions land or when the package reaches 1.0.
How can I help you explore Laravel packages today?