Laravel MCP Server for better AI Pair Programming

Laravel MCP Server for better AI Pair Programming avatar

by ashleyhindle

laravelmcpBrowser Automation

Laravel specific MCP server - better AI pair programming

What is Laravel MCP Server for better AI Pair Programming

Laravel MCP Server for better AI Pair Programming

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation

You can install the package via composer:

composer require ashleyhindle/croft

You can publish and run the migrations with:

Lovely British welcome message for Abigail:

php artisan vendor:publish --tag="croft-migrations"
php artisan migrate


should have a command to publish an mcp config file too for cursor? -> https://docs.cursor.com/context/model-context-protocol#project-specific-mcp-configuration

You can publish the config file with:

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

This is the contents of the published config file:

return [
];

Optionally, you can publish the views using

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

Usage

$croft = new Croft\Croft();
echo $croft->echoPhrase('Hello, Croft!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Leave a Comment

Comments section will be available soon. Stay tuned!

Frequently Asked Questions

What is MCP?

MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications, providing a standardized way to connect AI models to different data sources and tools.

What are MCP Servers?

MCP Servers are lightweight programs that expose specific capabilities through the standardized Model Context Protocol. They act as bridges between LLMs like Claude and various data sources or services, allowing secure access to files, databases, APIs, and other resources.

How do MCP Servers work?

MCP Servers follow a client-server architecture where a host application (like Claude Desktop) connects to multiple servers. Each server provides specific functionality through standardized endpoints and protocols, enabling Claude to access data and perform actions through the standardized protocol.

Are MCP Servers secure?

Yes, MCP Servers are designed with security in mind. They run locally with explicit configuration and permissions, require user approval for actions, and include built-in security features to prevent unauthorized access and ensure data privacy.