2026-04-11 09:03 UTC
#LaravelRestify: One codebase โ #REST #API for humans + #MCP server for AI agents ๐ค Build once, serve everywhere with full #JSON_API compliance, unified auth & #Laravel policies
#Laravel #PHP #opensource
๐ Write a single Repository class and instantly get:
๐ฅ Full JSON:API CRUD endpoints for developers & apps
๐ค Structured MCP (Model Context Protocol) tools for AI agents
๐ Same auth, policies & validation rules for both consumers
๐งต ๐
Replies (1)
-
@michabbb@social.vivaldi.net 2026-04-11 09:03
โ๏ธ Define fields once in a Repository โ #LaravelRestify auto-generates: โ Paginated REST endpoints with filtering & sorting โ MCP tool definitions with input schemas โ #LaravelSanctum auth protecting both interfaces equally ๐ Powerful query capabilities out of the box: ๐ Full-text search across fields ๐ Sorting, filtering & pagination for JSON:API ๐ค AI agents get the same filtering via generated MCP tool input schemas