
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A PHP library that exposes a project's Composer scripts as MCP tools so AI assistants can discover and run them.
Composer Scripts MCP Server is cataloged as an MCP server attributed to vodmal. A PHP library that exposes a project's Composer scripts as MCP tools so AI assistants can discover and run them. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Composer Scripts MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It exposes composer_list, which lists available scripts with a count, and composer_run, which runs a named script with optional arguments.
Each project's tool name is taken from its composer.json name field, so multiple projects appear distinctly in Claude's tool list.
README.md · 0c7e1c80b448 · 采集于 2026-11-13 12:14:03 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A PHP library that exposes your project's Composer scripts as MCP (Model Context Protocol) tools. Once installed, AI assistants (or any MCP client) can discover and execute your Composer scripts automatically—no need to explain commands each time.
This works with any PHP project, and you can connect multiple projects without limits. Each project's MCP tool name is derived automatically from its composer.json (e.g., the "name" field).
Composer scripts let you standardize and automate common tasks (tests, linting, code generation, etc.) without adding extra dependencies. Key benefits include:
composer install.composer.json doubles as documentation for available commands.While this approach has many advantages, there are some limitations:
Despite these minor drawbacks, the convenience of having commands available immediately after composer install without additional external dependencies is a significant advantage. This is where this tool comes in - it allows AI assistants to discover and execute your Composer scripts without you having to explain the commands each time.
Here's an example of how powerful Composer scripts can be in a real project:
"scripts": {
"check:before:commit": [
"@test",
"@check:code:style",
"@check:code:static",
"@check:code:dependency"
],
"check:before:push": [
"@check:config",
"@check:before:commit",
"@check:code:security"
],
"check:code:static": [
"@check:code:lint",
"@rector",
"@psalm",
"@phpstan",
"@classleak",
"@check:code:comments"
],
"test": [
"@test:unit:phpunit"
],
"test:unit:phpunit": [
"@phpunit --testsuite Unit"
],
"phpunit": "./vendor/bin/phpunit"
}
With these scripts, developers can run comprehensive checks before committing or pushing code with simple commands like composer check:before:commit. The MCP server exposes these scripts to AI assistants, allowing them to understand and execute the appropriate commands without requiring you to explain your project's specific testing or validation procedures each time.
One of the biggest advantages of this approach is that you don't need to repeatedly explain to each LLM how to run tests, check code style, or perform other common development tasks. Instead, the LLM can discover the available commands through the MCP server and suggest the appropriate command for the task at hand. This saves time and reduces friction when working with AI assistants on your PHP projects.
By installing VoDmAl Composer Scripts MCP Server, you get two major advantages:
To get started, run:
composer require vodmal/composer-scripts-mcp-server
composer install
As soon as Composer finishes, your project's composer.json will include two new scripts:
"scripts": {
"mcp:server:start": "vendor/bin/mcp-server-start",
"mcp:server:install": "vendor/bin/mcp-server-install"
}
You now have everything you need. You do not need to run composer mcp:server:start immediately. Instead, if you want to integrate with Claude Desktop (or any MCP-compatible LLM), run:
composer mcp:server:install
If Claude Desktop is installed and its configuration file is detected, this command merges the MCP configuration automatically.
If it doesn't find Claude's config, it prints out a JSON snippet. Paste that snippet into your claude_config.json under "tools" and restart Claude.
Connect to any number of projects You can run composer mcp:server:install in each PHP project folder without limit. Each project's tool name is pulled from its own composer.json "name" field, so multiple projects appear distinctly in Claude's tool list.
If you're not using Claude Running:
composer mcp:server:install
will output a JSON block showing exactly how to launch the MCP server. Copy that into whatever LLM or MCP client configuration you need. Once that's configured, your AI assistant can call the composer_list and composer_run MCP methods without further setup.
To start the server with stdio transport (for integration with AI assistants):
vendor/bin/mcp-server-start
To start the server with HTTP transport (for testing with the client):
vendor/bin/mcp-server-start --http [--host=<host>] [--port=<port>]
By default, the server will listen on 127.0.0.1:8088.
To integrate this MCP server with Claude Desktop, you can use the provided mcp-server-install command:
vendor/bin/mcp-server-install
This command will automatically detect your operating system and search for the Claude Desktop configuration file. If found, it will update it to include the MCP server configuration. If not found, it will output the configuration that you need to manually merge with your Claude Desktop configuration file. The server will automatically expose all Composer scripts in your project as MCP tools.
--output=<file>: Specify a custom output file (by default, the command will try to find the Claude Desktop configuration file for your OS)--name=<name>: Specify the server name (default: the project name from composer.json)If you have multiple PHP projects with this library installed, you can add each of them to the same configuration file:
# In project1
vendor/bin/mcp-server-install --name=project1
# In project2
vendor/bin/mcp-server-install --name=project2 --output=/path/to/claude_desktop_config.json
If the server isn't being picked up by Claude Desktop:
~/Library/Logs/Claude%APPDATA%\Claude\logsvendor/bin/mcp-server-start
Note: When using stdio transport with LLM applications, all log messages are written to stderr instead of stdout. This prevents log messages from interfering with the JSON communication between the server and the LLM application, which could cause JSON parsing errors.
The library provides the following MCP tools:
Lists all available Composer scripts.
Parameters: None
Returns:
scripts: Array of script information (name and command)count: Number of available scriptsRuns a Composer script.
Parameters:
script (string, required): The name of the script to runarguments (array, optional): Additional arguments to pass to the scriptReturns:
script: The name of the script that was runcommand: The command that was executedoutput: The output of the commandreturn_code: The return code of the commandsuccess: Whether the command was successful (return code 0)This project is dual-licensed:
This project is licensed under the GNU General Public License v3.0 (GPL-3.0) for open source use. See the LICENSE-GPL file for details.
For commercial use in proprietary software, a separate commercial license is available. Contact [ваш email] for commercial licensing terms.
If you're unsure which license applies to your use case, please contact us.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Composer Scripts MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/composer-scripts-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.