Model Context Protocol SDK for Client and Server applications in PHP. Backport of symfony/mcp-sdk for PHP 7.4 compatibility.

dev-main 2025-08-05 16:13 UTC

This package is auto-updated.

Last update: 2025-08-05 16:14:03 UTC


README

Important

This is a backport of the Symfony MCP SDK https://github.com/symfony/mcp-sdk for PHP 7.4 compatibility.

Model Context Protocol SDK for Client and Server applications in PHP.

This Component is experimental. Experimental features are not covered by Symfony's Backward Compatibility Promise.

Installation

composer require gregory-gerard/mcp-sdk

This is a low level SDK that implements the Model Context Protocol (MCP). The protocol is used by LLM model to build "plugins" and give them extra context. Example the logged in users' latest order.

This repository is a READ-ONLY sub-tree split. See https://github.com/symfony/ai to create issues or submit pull requests.

Resources