Build MCP servers and clients for PHP applications with the official PHP SDK

Use the official Model Context Protocol PHP SDK to expose PHP application capabilities as MCP tools, resources, and prompts for agent workflows.

agentskillexchange Updated 28 repo stars

File contents

Build MCP servers and clients for PHP applications with the official PHP SDK

Use the official Model Context Protocol PHP SDK to expose PHP application capabilities as MCP tools, resources, and prompts for agent workflows.

Prerequisites

PHP, Composer, MCP-compatible host/client

Installation

Use the upstream install or setup path that matches your environment:

  • composer require mcp/sdk

Basic usage or getting-started notes:

Documentation

Source

agentskillexchange/skills/tree/main/skills/build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk commit 3f4408f949

Frequently asked questions

npx skillmds@latest add agentskillexchange/build-mcp-servers-and-clients-for-php-applications-with-the-