trackmcp
Back to directory
yamayuski

php-mcp-server-sdk

View on GitHub

PHP MCP Server SDK library

0 stars PHPDeveloper Kits Updated May 6, 2025

Documentation

PHP MCP Server sdk

Requirements

  • PHP 8.2+

Overview

  • Build MCP servers that expose resources, prompts and tools on PHP
  • Use standard transports like stdio and Streamable HTTP(SSE)
  • Handle all MCP protocol messages and lifecycle events

Installation

s
$ composer require yamayuski/php-mcp-server-sdk

Development

You need Development containers with vscode or PhpStorm

s
$ composer install

# Unit test
$ composer test

# Inspector test
$ ./start-inspector.sh

LICENSE

Under Apache-2.0.

Frequently asked questions

What is php-mcp-server-sdk?

php-mcp-server-sdk is PHP MCP Server SDK library

How do I install php-mcp-server-sdk?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is php-mcp-server-sdk open source?

Yes — it is hosted on GitHub at https://github.com/yamayuski/php-mcp-server-sdk.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP