← all repositories

modelcontextprotocol/php-sdk

Official PHP SDK for the Model Context Protocol, enabling PHP developers to build servers and clients for AI agent tool integration.

1.5k stars PHP Coding AssistantsAgents
php-sdk
Velocity · 7d
+4.7
★ / day
Trend
steady
star history

This SDK provides a framework-agnostic API for implementing MCP servers and clients in PHP. MCP is a protocol designed by Anthropic that allows AI assistants and agents to interact with external tools, data sources, and capabilities. The SDK supports both server-side implementation, enabling developers to expose tools and resources to AI systems, and client-side implementation, allowing PHP applications to connect to MCP servers. It was developed in collaboration with the PHP Foundation and the Symfony project.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.