Search by

stolt / lean-package-validator-mcp

Raphael Stolt

A MCP server exposing lean-package-validator commands as tools.

Package info

github.com/raphaelstolt/lean-package-validator-mcp

pkg:composer/stolt/lean-package-validator-mcp

Statistics

Installs: 4

Dependents: 0

Suggesters: 1

Stars: 1

Open Issues: 0

v0.1.3 2026-09-19 07:49 UTC

This package is auto-updated.

Last update: 2026-09-19 14:59:43 UTC


README

Test Status Version Downloads PHP Version PDS Skeleton Lean dist package

A framework-agnostic Model Context Protocol (MCP) server for the lean-package-validator.

This package exposes tools to manage and validate .gitattributes files and Git archives, helping to maintain small package distributions.

Available tools

The MCP server exposes the following tools:

  • lean_package_validator_mcp: Run arbitrary lean-package-validator commands.
  • generate_gitattributes: Create a new .gitattributes file for a project/micro-package repository.
  • update_gitattributes: Update an existing .gitattributes file for a project/micro-package repository.
  • validate_package_archive: Validate the .gitattributes file of a given project/micro-package repository, including Git archive validation against HEAD.

Installation

You can install this package via Composer:

composer require --dev stolt/lean-package-validator-mcp

Setup in MCP clients

Add the server to your MCP client configuration (e.g., Cursor, Claude Desktop):

{
  "mcpServers": {
    "lean-package-validator": {
      "command": "php",
      "args": ["/path/to/lean-package-validator-mcp/bin/server.php"]
    }
  }
}

Contributing

If you're considering contributing to this project, have a look at this repository's CONTRIBUTING.md for more advice.

License

This project is licensed under the MIT license. Please see LICENSE.md for more details.