#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

๐Ÿงต ๐Ÿ‘‡

โš™๏ธ 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

๐Ÿค– MCP Server support โ€” AI agents connect via standard MCP protocol
๐Ÿ› ๏ธ Tools auto-generated from your Repository field definitions
๐Ÿ”— Integrates with #ClaudeDesktop and other MCP-compatible AI clients

๐Ÿ“ฆ Optional laravel-restify-boost dev companion for AI-assisted development
๐Ÿ“ฆ More features:
๐Ÿงฉ #GraphQL schema auto-generation

โœ”๏ธ Consistent field validation across REST & MCP
๐ŸŽฏ Artisan commands: restify:setup & restify:repository
๐Ÿ“š Full docs at https://laravel-restify.com

Laravel Restify - Build APIs for Humans & AI Agents

Transform your Laravel Eloquent models into JSON:API compliant endpoints and MCP servers automatically. No boilerplate, just results.

GitHub - BinarCode/laravel-restify: Laravel API for Ai Agents and humans.

Laravel API for Ai Agents and humans. Contribute to BinarCode/laravel-restify development by creating an account on GitHub.

GitHub