Lightlines
By github

php-mcp-server-generator

github8.9k installs

A PHP MCP server project with tests included.

What it does

Creates a complete PHP MCP server project with tools, optional resources and prompts, documentation, and tests.

When to use it

Use when creating a PHP MCP server project with the official PHP SDK.

How to use it

Give it your server requirements; it asks for configuration choices and creates the complete PHP MCP server project.

What you provide

  • a project name
  • a server description
  • stdio, http, or both
  • a PHP version

Latest review

What you need · 2

Requires PHP 8.2 or higher to run the generated server.

Requires Composer to install the generated project's dependencies.


Access · 3

This skill

composer

Execute

Installs the server's dependencies

php server.php

Execute

Starts the PHP MCP server