Php icon

Php

16

Provides a PHP framework for building Model Control Protocol (MCP) servers using annotations.

About

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.

Key Features

  • 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

Use Cases

  • 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