
php mcp server sdk
PHP MCP Server SDK library
Repository Info
About This Server
PHP MCP Server SDK library
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
PHP MCP Server sdk
Requirements
- PHP 8.2+
Overview
- Build MCP servers that expose resources, prompts and tools on PHP
- Use standard transports like stdio and Streamable HTTP(SSE)
- Handle all MCP protocol messages and lifecycle events
Installation
$ composer require yamayuski/php-mcp-server-sdk
Development
You need Development containers with vscode or PhpStorm
$ composer install
# Unit test
$ composer test
# Inspector test
$ ./start-inspector.sh
LICENSE
Under Apache-2.0.
Quick Start
Clone the repository
git clone https://github.com/yamayuski/php-mcp-server-sdkInstall dependencies
cd php-mcp-server-sdk
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.