php-mcp-server-generator
Generate a complete PHP Model Context Protocol server project with tools, resources, prompts, and tests using the official PHP SDK
Security Assessment
About php-mcp-server-generator
The php-mcp-server-generator is a powerful tool designed to streamline the creation of PHP Model Context Protocol (MCP) server projects. It addresses the common challenges developers face when setting up a new server, such as ensuring compatibility with the latest PHP versions, managing dependencies, and structuring the project correctly. By leveraging the official PHP SDK, this skill automates the generation of a complete, production-ready server project, allowing developers to focus on building features rather than boilerplate code.
FAQ
What are the project requirements?
The project requires a project name, server description, transport type (stdio, http, or both), tools to include, whether to include resources and prompts, and PHP version 8.2 or higher.
How do I start the server?
You can start the server by running the command 'php server.php' in your terminal.
Is there a testing framework included?
Yes, the project includes PHPUnit for testing, and you can run tests using 'vendor/bin/phpunit'.
Can I customize the tools included in the project?
Yes, you can specify which tools to include when generating the project.
What PHP version is required for this skill?
The skill requires PHP version 8.2 or higher.
Install php-mcp-server-generator
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
github/awesome-copilot