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