MCPSERV.CLUB
usecroft

Croft

MCP Server

Laravel MCP server for AI pair programming

Stale(55)
90stars
0views
Updated Sep 6, 2025

About

Croft is a plug‑and‑play Model Context Protocol server built by Laravel developers for Laravel developers. It offers local tools—such as database queries, route listings, artisan commands, and log access—to enhance AI pair‑programmer productivity.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

Croft Laravel

Croft is a purpose‑built Model Context Protocol (MCP) server that bridges the gap between Laravel projects and AI assistants. It solves a common pain point for developers: the need to expose local tooling, configuration, and data in a structured way that an AI pair programmer can consume. By running , the server publishes a rich set of tools that let the AI read database schemas, list routes and Artisan commands, fetch configuration values, and even retrieve recent log entries—all without leaving the IDE or risking accidental data leaks.

The server’s core value lies in its local‑first philosophy. Unlike generic cloud services, Croft operates entirely on the developer’s machine, ensuring that sensitive information such as environment variables or database credentials never leave the local environment. This makes it ideal for production‑ready workflows where security and speed are paramount. Developers can embed Croft directly into their favorite MCP client (e.g., Cursor) by adding a simple configuration, and the AI instantly gains access to a curated toolbox that mirrors the current state of the Laravel application.

Key capabilities include:

  • Database introspection – read‑only or read/write queries, table and column listings, index and foreign key details.
  • Routing & command discovery – list all registered routes or Artisan commands, with optional filtering.
  • Configuration and environment lookup – retrieve keys or values safely, without exposing secrets.
  • Utility tools – generate absolute URLs from relative paths, fetch the current date/time, and read recent log entries.
  • Extensibility – developers can add custom tools by extending a simple abstract class, allowing bespoke functionality to be exposed to the AI.

Real‑world scenarios where Croft shines include rapid debugging sessions, automated code generation that respects the current schema, and AI‑driven documentation of API endpoints. By integrating seamlessly with MCP workflows, it lets the assistant act as a knowledgeable teammate that can query the live application context and suggest precise code changes, migrations, or configuration tweaks.

What sets Croft apart is its combination of security, speed, and developer ergonomics. It eliminates the need for external services or manual data export, reduces context‑switching, and ensures that every AI interaction is grounded in the actual, up‑to‑date state of the Laravel project. For any team that relies on AI tools to accelerate development, Croft provides a lightweight, plug‑and‑play gateway that turns the local codebase into an intelligent resource.