Download the PHP package desino/mcp-framework-boilerplate without Composer

On this page you can find all versions of the php package desino/mcp-framework-boilerplate. 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-framework-boilerplate

desino/mcp-framework-boilerplate

Laravel scaffolding package that publishes the Desino MCP reference application into your host app via a single Artisan command — similar to desino/boilerplate.

After installation, MCP code lives in your application (app/, routes/, resources/, etc.) and can be edited like first-party code.

What gets published

Requirements

Installation

1. Require the package

For local development from this repository:

2. Publish Desino boilerplate (if not already done)

3. Publish MCP boilerplate

The command always overwrites existing files, so re-running it resets published MCP files back to the packaged versions. Keep local edits to published files under version control before re-running.

This copies MCP scaffolding into your application:

Published to Contents
app/Http/Controllers/McpToolController.php Admin UI controller
app/Http/Middleware/VerifyMcpToken.php MCP bearer token middleware
app/Mcp/Servers/MyMcpServer.php Dynamic MCP server
app/Mcp/Tools/ Library MCP tools
app/Models/ McpTool, McpProject, McpAuditLog
app/Contracts/CodingStandardRule.php Coding standard rule contract
app/CodingStandardRules/ Coding standard rule definitions
app/Services/ Tool registry, GitHub/PM services, generator, coding standard rules
config/my_mcp.php MCP configuration
routes/ai.php MCP HTTP endpoint registration
resources/views/mcp_tools/ Admin Blade views
database/migrations/ MCP database tables
stubs/mcp/ Custom tool generation stubs

The command also merges:

4. Configure environment

5. Run migrations

Tables created:

MCP tool ordering:

6. Add navigation link (optional)

Add an MCP Tools menu item to your layout:

Usage

MCP endpoint

Active tools registered in the admin UI are exposed at:

MCP tool execution order:

When the MCP server handles a request, it returns active tools ordered by mcp_tools.ordering ascending (then by id to break ties).

Admin UI routes

Route Name
/mcp_tools mcpTools.index
/mcp_tools/create mcpTools.create
/mcp_tools/{id}/edit mcpTools.edit

Ordering in the tools list:

Library tools

Coding standard rules

The coding_standard library tool builds its description from rules you select in the admin UI, so AI clients only ever see the instructions for the enabled rules.

Published rules in app/CodingStandardRules/:

To add a rule, drop a class into app/CodingStandardRules/ that implements App\Contracts\CodingStandardRule. The class name becomes the rule ID shown in the admin UI, and it is picked up automatically — no registration step.

Custom tools

Custom tools are generated into app/Mcp/Tools/ when created from the admin UI.

Configuration

Key options in config/my_mcp.php:

Key Description
mcp_api_token Bearer token for MCP requests
mcp_github_api_url GitHub API base URL
mcp_github_timeout GitHub API timeout (seconds)
mcp_max_safe_select_limit Maximum rows for safe select tool auto-limit
mcp_pmtool_base_url PM tool API URL
mcp_pmtool_api_key PM tool API key
mcp_pmtool_timeout PM tool API timeout (seconds)
mcp_pmtool_verify Verify PM tool TLS certificate

Package vs application code

This package is a thin installer. It only ships:

All runtime MCP logic runs from your host application's app/ directory after publishing.

License

MIT — see LICENSE.


All versions of mcp-framework-boilerplate with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
desino/boilerplate Version *
laravel/framework Version ^13.0
laravel/mcp Version *
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 desino/mcp-framework-boilerplate contains the following files

Loading the files please wait ...