Provides a PHP framework for building Model Control Protocol (MCP) servers using annotations.
This PHP framework enables developers to create MCP servers by defining services through annotations. It supports Tool, Prompt, and Resource handlers, along with Stdio and Sse transport options. The framework is compatible with both Swow and Swoole, offering a complete logging system and Docker support for streamlined deployment.
主要功能
01Compatible with Swow and Swoole
02Built-in logging system
03Supports Tool, Prompt, and Resource handlers
04Supports Stdio and Sse transport
05Annotation-based MCP service definition
0616 GitHub stars
使用案例
01Developing resource servers for AI agents
02Creating custom tools for interacting with AI models