Skip to content
Back to skills

Build Mcp Servers And Clients For Php Applications With The Official Php Sdk

ASecurity

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

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentsgophpbashgitapisecuritydocumentation

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Build Mcp Servers And Clients For Php Applications With The Official Php Sdk?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Build Mcp Servers And Clients For Php Applications With The Official Php Sdk
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-build-mcp-servers-and-clients-for-php-applications/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-build-mcp-servers-and-clients-for-php-applications)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Build MCP servers and clients for PHP applications with the official PHP SDK"
slug: "build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk"
description: "Use the official Model Context Protocol PHP SDK to expose PHP application capabilities as MCP tools, resources, and prompts for agent workflows."
github_stars: 1479
verification: "security_reviewed"
source: "https://github.com/modelcontextprotocol/php-sdk"
author: "Model Context Protocol / The PHP Foundation collaborators"
publisher_type: "foundation"
category: "Library & API Reference"
framework: "MCP"
tool_ecosystem:
  github_repo: "modelcontextprotocol/php-sdk"
  github_stars: 1479
---

# 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:
- bash
- ## Overview
- The MCP PHP SDK provides both **server** and **client** implementations for the Model Context Protocol, enabling you to:

- Source: https://github.com/modelcontextprotocol/php-sdk
- Extracted from upstream docs: https://raw.githubusercontent.com/modelcontextprotocol/php-sdk/HEAD/README.md

## Documentation

- https://github.com/modelcontextprotocol/php-sdk

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/build-mcp-servers-and-clients-for-php-applications-with-the-official-php-sdk/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.