Submit

PHP MCP Server sdk

@yamayuski

a year ago
developer-tools
PHP MCP Server SDK library
Overview

What is PHP MCP Server SDK?

PHP MCP Server SDK is a library designed to help developers build MCP (Multi-Channel Protocol) servers that expose resources, prompts, and tools using PHP.

How to use PHP MCP Server SDK?

To use the PHP MCP Server SDK, you need to install it via Composer with the command: $ composer require yamayuski/php-mcp-server-sdk. After installation, you can start building your MCP server by handling protocol messages and lifecycle events.

Key features of PHP MCP Server SDK?

  • Build MCP servers with ease using PHP.
  • Support for standard transports like stdio and Streamable HTTP(SSE).
  • Comprehensive handling of MCP protocol messages and lifecycle events.

Use cases of PHP MCP Server SDK?

  1. Creating custom MCP servers for various applications.
  2. Integrating MCP protocol into existing PHP applications.
  3. Developing tools that require multi-channel communication.

FAQ from PHP MCP Server SDK?

  • What are the requirements for using PHP MCP Server SDK?

PHP 8.2 or higher is required to use this SDK.

  • How do I run tests for the SDK?

You can run unit tests using the command $ composer test after installation.

  • Is there a license for this SDK?

Yes, the PHP MCP Server SDK is licensed under the Apache-2.0 license.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.