croft-laravel
This project is an MCP server specifically for local Laravel development, providing tools to enhance the efficiency and capabilities of AI pair programmers. It is easy to integrate and offers functionality like querying databases and listing routes.
How do I install the Croft MCP server?
You can install the Croft MCP server via Composer with the command composer require usecroft/croft-laravel --dev
.
How can I add custom tools to Croft?
To add custom tools, create a class that extends Croft\Feature\Tool\AbstractTool
and ensure it's included in your croft.php
config file.
What is the purpose of the mcp.json
file?
The mcp.json
file is used to configure MCP servers for tools like Cursor, specifying the command and arguments needed to run the server.
Can I use Croft with remote servers?
Yes, additional functionality can be added with remote MCP servers from usecroft.com, which are expected to be available soon.
What kind of database operations can Croft perform?
Croft can perform read-only or read-write database queries, as well as read and filter database structures such as tables, columns, and indexes.