Laravel Restify Package: Build REST APIs for... AI Agents?
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
Laravel Restify is a package that lets you build REST APIs without writing controllers, API routes, or API resources — just repository classes tied to Eloquent models. It handles authentication via Laravel Sanctum, supports filtering, sorting, relationships, and policies automatically. A standout feature is built-in MCP (Model Context Protocol) support, allowing the same codebase to serve both a standard JSON API for humans and an MCP server for AI agents like Claude Code or Codex. Developers can granularly control which operations (index, create, update, delete) are exposed to AI agents via a simple trait, making it easy to build secure agentic backends.
Sort: