php-mcp/server is a PHP library designed to simplify the creation of Model Context Protocol (MCP) compliant servers. It facilitates exposing PHP methods as MCP Tools, Resources, or Prompts using PHP 8 Attributes, supporting a specific protocol version and integrating with various MCP clients. The library is PSR-compliant,
Table of contents
IntroductionKey FeaturesRequirementsInstallationGetting Started: A Simple stdio ServerCore ConceptsAdvanced Usage & RecipesConnecting MCP ClientsExamplesTestingContributingLicenseSupport & Feedback4 Comments
Sort: