PHP MCP SDK icon

PHP MCP SDK

Official PHP SDK for building Model Context Protocol servers - a framework-agnostic, production-ready implementation for the PHP ecosystem

View Source

PHP MCP SDK

The official PHP SDK for building Model Context Protocol (MCP) servers. This framework-agnostic, production-ready reference implementation enables PHP developers to integrate MCP functionality into their applications, ensuring PHP remains a strong choice for AI ecosystem development.

Features

  • Server-side building blocks - Complete toolkit for MCP server development
  • Framework-agnostic design - Works with any PHP framework or standalone applications
  • Production-ready - Built with stability and performance in mind
  • AI application integration - Seamlessly connect PHP applications to AI tools and systems
  • Collaborative development - Joint effort by PHP Foundation, Anthropic, and Symfony team

Installation

Install the SDK via Composer:

composer require mcp/sdk

Available on Packagist: mcp/sdk

Getting Started

Use this SDK to build MCP-compatible servers in PHP, enabling your applications to integrate with Claude AI and other MCP-enabled tools. The framework-agnostic design allows integration with Laravel, Symfony, or any PHP project.

Development & Roadmap

Current Features:

  • Server-side components (initial release)

Upcoming Features:

  • Client capabilities
  • Enhanced documentation
  • Stability improvements

Maintainers

  • Lead Team: Symfony development team
  • Core Contributor: Kyrian Obikwelu
  • Community: Open to contributions from PHP developers

Resources

Sponsored
Algolia Inc logo

Algolia Inc

“I can't code” is no longer an excuse. The technical barrier is gone. What will you create first?

Try Algolia MCP

Related Categories