Skip to content

Releases: Digital-Process-Tools/mcp-phpunit-warm

v0.1.0 — Initial release

22 May 13:46

Choose a tag to compare

Warm-process MCP server for PHPUnit. Keeps PHPUnit bootstrapped across calls inside a long-lived PHP process.

~4.5× faster per call vs cold vendor/bin/phpunit (350ms vs 1600ms warm steady-state).

Install

```bash
composer require --dev dpt/mcp-phpunit-warm

or globally

composer global require dpt/mcp-phpunit-warm
```

Use

```json
{
"mcpServers": {
"phpunit": {
"command": "mcp-phpunit-warm",
"args": [
"--working-dir=/path/to/project",
"--config=/path/to/project/phpunit.xml"
]
}
}
}
```

Works with Claude Desktop, Cline, Continue, Cursor, Zed — any MCP client.

Highlights

  • Static singleton reset between calls (EventFacade, Registry, OutputFacade, CodeCoverage)
  • stdio-safe via `--no-output` + JUnit temp file (PHPUnit's DefaultPrinter writes directly to php://stdout)
  • PHPUnit ^10 || ^11 || ^12 supported
  • Tested on PHP 8.2 / 8.3 / 8.4 in CI

See README for full details.