croft
40
This project is an MCP server tailored for local Laravel environments, providing a variety of development tools to enhance collaboration with AI pair programmers. It facilitates tasks such as database querying and route management.
How do I install the Croft MCP server?
You can install the Croft MCP server via Composer with the command composer require ashleyhindle/croft --dev
.
How can I add my own tools to the Croft MCP server?
To add your own tools, create a class that extends the Croft\Feature\Tool\AbstractTool
class and ensure it's included in your croft.php
config file.
What is the command to run the MCP client?
The MCP client needs to run the command ./artisan croft
.
Can I expand the functionality of the Croft MCP server?
Yes, you can add more functionality with croft.fyi hosted servers, which are coming soon.
What should I do after adding a new tool?
After adding a new tool, restart the server or ask the MCP client to relist the tools.