Croft Laravel

by usecroft

Not rated
GitHub

About

A local MCP server for Laravel developers to boost productivity with artisan commands.

Details

Author
usecroft
Categories
Developer Tools, Automation, Productivity

Setup

Install Croft Laravel in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/usecroft/laravel

Follow the installation instructions in the repository README, then restart your MCP client.

Croft was built byAshley Hindlein collaboration withSpringloaded, and would eventually becomeLaravel Boost. Croft is no longer maintained - check outboostinstead!

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. Thephp artisan croftcommand provides tools to your MCP client to help your AI pair programmer work better. This package is specifically designed to offer tools that are usefullocally.

Add even more functionality withusecroft.com »hosted servers.

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

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

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

We recommend you ship anmcp.jsonfile with your project in.cursor/mcp.json

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

- 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)

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

It's trivial to add your own tools.

Just create a class that extends ourCroft\Feature\Tool\AbstractToolclass, then make sure it's in yourcroft.phpconfig file.

<?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.

Croft was developed byAshley Hindlewith support fromSpringloaded. If you like it, please star it, share it, and let us know!

- https://bsky.app/profile/ashleyhindle.com
-
https://twitter.com/ashleyhindle
-
https://ashleyhindle.com

- https://bsky.app/profile/springloaded.co
-
https://twitter.com/ashleyhindle
-
https://springloaded.co

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Runtime continuity layer MCP for AI coding agents, providing persistent workspace state and session context across tools and runs.

CLI bridge that wraps MCP servers as bash-invokable commands, recovering ~11K tokens of context window per session https://github.com/rodaddy/mcp2cli

A modular and extensible MCP server with essential utilities for developers.

Desktop MCP server manager for 14 AI clients. Browse and install 9,200+ MCP servers and 3,100+ AI Skills across Cursor, VS Code, Claude Code, Gemini CLI, and more from one GUI.

An MCP server for interactive user feedback and command execution in AI-assisted development, supporting both Web and Desktop interfaces.

A lightweight, extensible MCP server for running prompt-based tools and file utilities, with support for custom prompts.

Provides preset prompt templates as tools to assist clients like Cursor and Windsurf in executing various tasks.

Context Minifier & State Guard — Local-first MCP middleware proxy that reduces token waste by 61%, prevents context rot, and adds security hardening

A self-hostable middleware to manage all your MCPs through a GUI and a local proxy, supporting multiple clients and workspaces.

Local-first MCP tools for AI-assisted work receipts, source intake, workspace maps, routing ledgers, action receipts, and MATCH / DRIFT / UNVERIFIABLE verification.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.