php-mcp-server-generator

Generate a complete PHP MCP server project with configurable tools and PHPUnit tests.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/mkopcic/md-solutions.hr-racuni-app --skill php-mcp-server-generator-mkopcic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: php-mcp-server-generator
Source: https://github.com/mkopcic/md-solutions.hr-racuni-app/tree/main/.github/skills/php-mcp-server-generator
Command: npx skills add https://github.com/mkopcic/md-solutions.hr-racuni-app --skill php-mcp-server-generator-mkopcic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the rapid creation of a complete PHP MCP server project, including boilerplate, configuration, and testing scaffolding, reducing setup time and ensuring consistency across projects.

Core Features & Use Cases

  • Scaffolds a full PHP MCP server project with a standard layout (composer.json, server.php, src/, tests/).
  • Provides organized subpackages for Tools, Resources, Prompts, and Providers with example templates.
  • Includes a ready-to-run PHPUnit testing setup and sample tests for quick validation.
  • Ideal for bootstrapping new MCP servers, onboarding teams, and preserving consistent architecture across deployments.

Quick Start

Provide your project name, server description, transport type, tools to include, whether to include resources/prompts, and PHP version to generate a complete MCP server scaffold.

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 generate a PHP MCP server with a standard project layout?

You can scaffold a PHP MCP server by providing your project name, server description, transport type, and desired tools to generate a complete project with composer.json, server.php, src/, and tests/ directories ready for execution.

What is included in a scaffolded PHP MCP server project?

A scaffolded PHP MCP server includes a standardized layout with composer.json, server.php, src/, and tests/, organized subpackages for Tools, Resources, Prompts, and Providers, plus a ready-to-run PHPUnit testing setup with sample tests.

Can I use this PHP MCP server generator with PHP 8.2?

Yes, the generated PHP MCP server is compatible with PHP 8.2+ and includes a composer.json configured for this version, ensuring your server scaffolding meets modern PHP requirements for deployment.

Does the generated MCP server include unit tests with PHPUnit?

Yes, the generated MCP server includes a ready-to-run PHPUnit testing setup and sample tests for quick validation, ensuring your Tools, Resources, and Prompts function correctly out of the box.

What's the best way to bootstrap a PHP MCP server with configurable tools and resources?

The best way to bootstrap a PHP MCP server is to specify your required tools, whether to include resources and prompts, and your transport type to generate a production-ready project with consistent architecture.