php-sdk
Official PHP SDK for Model Context Protocol, supporting the development of MCP servers and clients.
- Type
- MCP
- Open source
- Yes
- GitHub Stars
- ★ 1.5k
- Source
- mcp-github
- Repository
- github.com/modelcontextprotocol/php-sdk
Overview
The MCP PHP SDK is the official development toolkit for Model Context Protocol, providing a framework-agnostic API to implement MCP servers and clients. With this SDK, you can expose PHP application functionalities (such as tools, resources, and prompts) to AI agents, or connect to and interact with MCP servers from within your PHP application. Suitable for developers who need to integrate MCP functionality into PHP environments.
Capabilities
- ▪Build MCP servers
- ▪Build MCP clients
- ▪Define tool capabilities
- ▪Define resource capabilities
- ▪Support multiple transport protocols
Use cases
Setup
composer require mcp/sdk
This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.
FAQ
How to install the MCP PHP SDK?
Install using Composer by running the command `composer require mcp/sdk`.
What transport protocols does the MCP PHP SDK support?
Supports STDIO and HTTP transport protocols.
Related skills
gemini-cli
Gemini CLI is an open-source AI agent that brings Gemini's powerful capabilities directly into the terminal.
private-gpt
Provides a complete API layer for local models, supporting RAG, skills, tools, and more.
planning-with-files
File-based persistent planning skill, ideal for AI coding agents and long-running tasks.
scientific-agent-skills
Transform any AI agent into a scientific assistant with 147 ready-to-use research skills.
susi_alexa_skill
A skill that enables question-and-answer interactions between Alexa and Susi AI.
claude-context
Provides code search capabilities for Claude Code, turning the entire codebase into context.