1. Conduid
  2. Developer Tools
  3. Laravel
MCP server · Developer Tools

Laravel

MCP server for all of your Laravel projects - better AI pair programming

Unclaimed Apache-2.0 last commit 11 months ago ailaravelmcp
44Fair

Scored yesterday · breakdown

About Laravel

Laravel is an MCP server published by usecroft in the Developer Tools category: mCP server for all of your Laravel projects - better AI pair programming.

The repository has 87 stars and 4 forks, with the last commit 11 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/usecroft/laravel

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Laravel

Powered by Claude · Grounded in docs

I know everything about Laravel. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 22 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

Releases

0.6.00.6.0 · 19 Jun 20250.6.0 (2025-06-19) Features adds conditional tool registration & Laravel upgrade example (#16)…
0.5.00.5.0 · 18 Jun 20250.5.0 (2025-06-18) Features add Laravel 10 support (#15)…
0.4.0v0.4.0 · 16 Jun 2025What's Changed docs: Update README.md by @sagalbot in https://github.com/usecroft/laravel/pull/4 feat: add croft:install command by @sagalbot in https://github.com/usecroft/laravel/pull/5 require php8.2 and laravel 11+ by @ashleyhindle in…
0.3.40.3.4 · 31 May 2025feat: add new Croft tool to create an MCP resource from a stub
0.3.30.3.3 · 31 May 2025Enable setting of `resources` in the Croft config file: `croft.php`

README


Croft is now Laravel Boost!

Croft was built by Ashley Hindle in collaboration with Springloaded, and would eventually become Laravel Boost. Croft is no longer maintained - check out boost instead!


Croft Laravel

Croft is an MCP server designed specifcally for Laravel developers, by Laravel developers. We wanted a plug and play solution to boosting productivity, so we built one. The php artisan croft command provides tools to your MCP client to help your AI pair programmer work better. This package is specifically designed to offer tools that are useful locally.

Add even more functionality with usecroft.com » hosted servers.

Installation

Install the package via composer:

composer require usecroft/laravel --dev

Publish the config file with:

php artisan vendor:publish --tag="croft-config"

Add to your IDE:

php artisan croft:install

Add more functionality with usecroft.com » hosted servers (coming soon)

Usage

To make use of Croft you need to add it as an MCP server in your favourite tool.

The command the MCP client needs to run is ./artisan croft

Cursor (Docs)

We recommend you ship an mcp.json file with your project in .cursor/mcp.json

{
  "mcpServers": {
    "croft": {
      "command": "./artisan",
      "args": ["croft"]
    }
  }
}

Current functionality

  • Screenshot URLs
  • Query database (read only, or read write)
  • Get absolute URL from relative path
  • Get current date and time
  • Read last X log entries
  • Read & filter database structure - tables, columns, indexes, foreign keys
  • List/filter routes
  • List artisan commands
  • List available config() keys (and optionally values) in dot notation
  • List available env() keys (without leaking secrets of course)

Extra functionality

Add more functionality with usecroft.com » remote MCP servers (coming soon).

Add your own tools

It's trivial to add your own tools.

Just create a class that extends our Croft\Feature\Tool\AbstractTool class, then make sure it's in your croft.php config file.

Example:

<?php

declare(strict_types=1);

namespace Croft\Tools;

use Croft\Feature\Tool\AbstractTool;
use Croft\Feature\Tool\ToolResponse;

class {{CLASSNAME}} extends AbstractTool
{
    public function __construct()
    {
        // Setup annotations according to MCP specification
        $this->setTitle('{{NAME}}')
            ->setReadOnly(true)        // Just listing commands, no modifications
            ->setDestructive(false)    // No destructive operations
            ->setIdempotent(true);     // Safe to retry
    }

    public function getName(): string
    {
        return '{{NAME}}';
    }

    public function getDescription(): string
    {
        return 'Must explain well what the tool can do so the MCP client can decide when to use it.';
    }

    /**
    * What params does the MCP client need to provide to use this tool?
    **/
    public function getInputSchema(): array
    {
        return [
            'type' => 'object',
            'properties' => (object) [
            ],
            'required' => [],
        ];
    }

    public function handle(array $arguments): ToolResponse
    {
        return ToolResponse::text("Howdy, this is the start of something great.");
    }
}

After adding a tool you'll need to restart the server, or ask the MCP client to relist the tools.

Support & Credits

Croft was developed by Ashley Hindle with support from Springloaded. If you like it, please star it, share it, and let us know!

Ashley Hindle

Springloaded

README fetched from the repository 22 hours ago. The original is authoritative.

Questions

About Laravel

How do I install Laravel?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Laravel safe to use with an AI agent?

Its trust score is 44 out of 100 (fair). It passes 4 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Laravel still maintained?

The last commit was 11 months ago and 7 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.