Download the PHP package larafony/mcp-assistant without Composer

On this page you can find all versions of the php package larafony/mcp-assistant. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mcp-assistant

Larafony MCP Assistant

AI-powered development assistant for the Larafony PHP 8.5 framework. Provides scaffolding tools, documentation resources, and learning prompts accessible via Model Context Protocol (MCP).

Quick Start - No Installation Required!

You don't need to clone any repository or install anything locally. Larafony provides a public MCP server that you can connect to directly from your AI assistant.

Connect to Public MCP Server

Add the Larafony MCP server URL to your AI assistant:

This gives you instant access to:

AI Assistant Configuration

Claude Desktop

Edit your configuration file:

Option A: Remote Server (Recommended)

Option B: Local Development Server

Claude Desktop MCP Documentation

Cursor IDE

Open MCP settings: Ctrl+Shift+P → "Cursor Settings" → MCP section.

Or edit ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

Option A: Remote Server (Recommended)

Option B: Local Development Server

Cursor MCP Documentation

Claude Code CLI

Option A: Remote Server (Recommended)

Option B: Local Development Server

Useful commands:

Scope options:

Claude Code MCP Documentation

OpenAI Codex

Edit ~/.codex/config.toml:

Or add via CLI:

Codex MCP Documentation

ChatGPT

ChatGPT does not currently support MCP servers natively. Use Claude Desktop, Cursor, Claude Code, or Codex instead.


Local Installation (For Development)

If you want to run the MCP assistant locally with full scaffolding tools:

Requirements

Installation

Register the service provider in bootstrap/app.php:

Configuration

Create or update config/mcp.php:


Available Tools (Local Installation Only)

Scaffolding tools require local installation and create files in your project.

Tool Description Parameters
make_controller Generate controller with routes name, resource (bool)
make_model Generate ORM model name, migration (bool), fillable (string[])
make_view Generate Blade view name, layout, title
make_job Generate queueable job name
make_migration Generate database migration name, table
make_command Generate console command name, command_name

Tool Examples

Create a resource controller:

"Create a PostController with all CRUD methods"

Create a model with migration:

"Create a Comment model with migration"


Available Resources

Resources are available both on the public server and local installations.

Project Structure

URI Name Description
project://structure project-structure Complete project directory overview
project://controllers project-controllers List of controllers with their routes
project://models project-models List of ORM models

Framework Documentation

Getting Started

URI Name Description
docs://getting-started getting-started-docs Introduction to Larafony framework
docs://bootstrap bootstrap-docs How to bootstrap a Larafony application
docs://structure structure-docs Larafony project directory structure

HTTP Layer

URI Name Description
docs://controllers controllers-docs Controllers and routing with #[Route] attributes
docs://middleware middleware-docs PSR-15 middleware
docs://http-client http-client-docs PSR-18 HTTP client

Views

URI Name Description
docs://views views-docs Blade views with components
docs://validation validation-docs DTO validation
docs://inertia inertia-docs Inertia.js + Vue SPAs

Database

URI Name Description
docs://models models-docs ORM models with property hooks
docs://query-builder query-builder-docs Query builder
docs://schema-builder schema-builder-docs Migrations and schema

Architecture

URI Name Description
docs://container container-docs PSR-11 dependency injection
docs://config config-docs Configuration management
docs://cache cache-docs PSR-6 caching
docs://auth auth-docs RBAC authorization

Security

URI Name Description
docs://encryption encryption-docs Data encryption
docs://session session-docs Sessions and cookies

Utilities

URI Name Description
docs://events events-docs PSR-14 event system
docs://logging logging-docs PSR-3 logging

Async

URI Name Description
docs://queue queue-docs Background jobs and queues
docs://websockets websockets-docs Real-time communication

Communication

URI Name Description
docs://mail mail-docs Email sending

Debugging

URI Name Description
docs://error-handling error-handling-docs Error and exception handling
docs://console-debugging console-debugging-docs Console debugging
docs://debugbar debugbar-docs PHP Debug Bar

Bridges (Third-party Integrations)

URI Name Description
docs://bridges bridges-docs Overview of integrations
docs://bridge-carbon bridge-carbon-docs Carbon date/time
docs://bridge-flysystem bridge-flysystem-docs Flysystem file storage
docs://bridge-guzzle bridge-guzzle-docs Guzzle HTTP client
docs://bridge-monolog bridge-monolog-docs Monolog logging
docs://bridge-phpdotenv bridge-phpdotenv-docs PHP dotenv
docs://bridge-symfony-mailer bridge-symfony-mailer-docs Symfony Mailer
docs://bridge-twig bridge-twig-docs Twig templates
docs://bridge-smarty bridge-smarty-docs Smarty templates
docs://bridge-debugbar bridge-debugbar-docs Debug Bar integration

Available Prompts

Learning Prompts

Prompt Description Parameters
learn_larafony Guided topic learning topic (routing, models, controllers, views, middleware, validation, testing, overview)
build_feature Step-by-step feature building feature (description of what to build)

Debugging Prompts

Prompt Description Parameters
debug_error Debug error messages error, file (optional)
debug_route Debug routing issues path, method, expected (optional)
debug_model Debug ORM/database issues model, issue
debug_view Debug Blade view issues view, issue

Prompt Examples

Learn about models:

"Teach me about Larafony ORM models"

Build a feature:

"Help me build user authentication"


Larafony Conventions

This assistant understands and follows Larafony conventions:

Routing

Models

Views


Development

Adding New Tools

Create a class in src/Tools/:

Adding New Resources

Create a class in src/Resources/:

Adding New Prompts

Create a class in src/Prompts/:

Running Tests


Learn How It's Built - From Scratch

Interested in how Larafony is built step by step?

Check out my full PHP 8.5 course, where I explain everything from architecture to implementation - no magic, just clean code.

Get it now at masterphp.eu

License

MIT License. Larafony-mcp-assistant is open-sourced software licensed under the MIT license.

Links


All versions of mcp-assistant with dependencies

PHP Build Version
Package Version
Requires php Version >=8.5
larafony/core Version ^2.0
larafony/docs Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package larafony/mcp-assistant contains the following files

Loading the files please wait ...