php-mcp-server-generator

Generate a PHP MCP server project scaffold with tools, resources, prompts, and tests.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/yunusemrgrl/filament-storybook --skill php-mcp-server-generator-yunusemrgrl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: php-mcp-server-generator
Source: https://github.com/yunusemrgrl/filament-storybook/tree/main/.agents/skills/php-mcp-server-generator
Command: npx skills add https://github.com/yunusemrgrl/filament-storybook --skill php-mcp-server-generator-yunusemrgrl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates a ready-to-use PHP MCP server project scaffold with tools, prompts, resources, and tests, eliminating manual setup and configuration.

Core Features & Use Cases

  • Scaffolds a complete MCP server project structure: composer.json, server.php, src/, tests/, and README.
  • Includes configurable prompts, tools, resources, and providers as described, with guidance for PHP 8.2+ compatibility.
  • Use case: teams can rapidly initialize a production-ready MCP server for rapid development and testing.

Quick Start

Run the generator to scaffold a new PHP MCP server project with your chosen name and options.

Frequently Asked Questions about php-mcp-server-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a PHP MCP server with tools, resources, and tests?

This generator scaffolds a complete PHP MCP server project structure, including composer.json, server.php, src/, tests/, and README, eliminating manual setup and configuration for your tools, resources, and prompts.

What do I need to build a production-ready MCP server in PHP?

To build a production-ready MCP server in PHP, you need PHP 8.2+ compatibility, PSR-12 standards compliance, and PHPUnit testing configured, all of which are enforced and provided by this scaffolding generator.

Can I configure the transport and PHP version when generating an MCP server?

Yes, you can configure the transport and PHP version when generating an MCP server, as the scaffolding process adapts to user-specified project names, server descriptions, transport layers, and PHP versions.

What is the best way to initialize a PHP 8.2 MCP server project for rapid development?

The best way to initialize a PHP 8.2 MCP server project is using a generator that provides a ready-to-run skeleton with configurable prompts, tools, resources, and providers for rapid team development and testing.

Does the generated PHP MCP server include PHPUnit testing setup?

Yes, the generated PHP MCP server includes PHPUnit testing setup, enforcing testing standards alongside PSR-12 compliance and PHP 8.2+ compatibility within the scaffolding to ensure production readiness.