PHPackages                             yamayuski/php-mcp-server-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. yamayuski/php-mcp-server-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yamayuski/php-mcp-server-sdk
============================

Model Context Protocol Server SDK for PHP

0.1.1(1y ago)01Apache-2.0PHPPHP ~8.2.0|~8.3.0|~8.4.0CI failing

Since May 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/yamayuski/php-mcp-server-sdk)[ Packagist](https://packagist.org/packages/yamayuski/php-mcp-server-sdk)[ RSS](/packages/yamayuski-php-mcp-server-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

PHP MCP Server sdk
==================

[](#php-mcp-server-sdk)

Requirements
------------

[](#requirements)

- PHP 8.2+

Overview
--------

[](#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
------------

[](#installation)

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

Development
-----------

[](#development)

You need [Development containers](https://containers.dev/) with [vscode](https://code.visualstudio.com/docs/devcontainers/create-dev-container) or [PhpStorm](https://www.jetbrains.com/help/phpstorm/connect-to-devcontainer.html)

```
$ composer install

# Unit test
$ composer test

# Inspector test
$ ./start-inspector.sh
```

LICENSE
-------

[](#license)

Under [Apache-2.0](./LICENSE).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance52

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

368d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/372d2b542086b9604cbd3d2833b6ffb33c85b57d00741a797c2ec8fbf6a4ea1a?d=identicon)[yamayuski](/maintainers/yamayuski)

---

Top Contributors

[![yamayuski](https://avatars.githubusercontent.com/u/15116901?v=4)](https://github.com/yamayuski "yamayuski (3 commits)")

###  Code Quality

TestsPHPUnit

Code StyleECS

### Embed Badge

![Health badge](/badges/yamayuski-php-mcp-server-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/yamayuski-php-mcp-server-sdk/health.svg)](https://phpackages.com/packages/yamayuski-php-mcp-server-sdk)
```

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.4k187.2M2.6k](/packages/composer-composer)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[getdkan/dkan

DKAN Open Data Catalog

385135.4k2](/packages/getdkan-dkan)[e0ipso/shaper

Lightweight library to handle in and out transformations in PHP.

157.8M4](/packages/e0ipso-shaper)[nfephp-org/sped-esocial

e-Social library

18030.7k](/packages/nfephp-org-sped-esocial)[optimizely/optimizely-sdk

Optimizely PHP SDK for Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts

191.8M1](/packages/optimizely-optimizely-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
