Php icon

Php

16

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.

主要功能

  • Compatible with Swow and Swoole
  • Built-in logging system
  • Supports Tool, Prompt, and Resource handlers
  • Supports Stdio and Sse transport
  • Annotation-based MCP service definition
  • 16 GitHub stars

使用案例

  • Developing resource servers for AI agents
  • Creating custom tools for interacting with AI models
  • Building prompt engineering interfaces
Craft Better Prompts with AnyPrompt
Sponsored
    PHP MCP Server: Build MCP Servers with Annotations