PHPackages                             pronskiy/mcp - 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. pronskiy/mcp

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

pronskiy/mcp
============

🐉 The fast, PHP way to build MCP servers

1245117[2 issues](https://github.com/pronskiy/mcp/issues)PHP

Since Sep 4Pushed 9mo ago3 watchersCompare

[ Source](https://github.com/pronskiy/mcp)[ Packagist](https://packagist.org/packages/pronskiy/mcp)[ RSS](/packages/pronskiy-mcp/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

🐉 The fast, PHP way to build MCP servers
========================================

[](#-the-fast-php-way-to-build-mcp-servers)

The Model Context Protocol (MCP) is a new, standardized way to provide context and tools to your LLMs, and `pronskiy/mcp` makes building MCP servers simple and intuitive.

Create tools, expose resources, define prompts, and connect components with clean PHP code.

Installation
------------

[](#installation)

With composer:

```
composer require pronskiy/mcp
```

Usage
-----

[](#usage)

```
require 'vendor/autoload.php';

$server = new \Pronskiy\Mcp\Server('simple-mcp-server');

$server
    ->tool(
        'add-numbers',
        'Adds two numbers together',
        fn(float $num1, float $num2) => "The sum of {$num1} and {$num2} is " . ($num1 + $num2)
    )
    ->tool(
        'multiply-numbers',
        'Multiplies two numbers',
        fn(float $num1, float $num2) => "The product of {$num1} and {$num2} is " . ($num1 * $num2)
    )
;

$server->run();
```

Credits
-------

[](#credits)

-

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance40

Moderate activity, may be stable

Popularity33

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1196825?v=4)[Roman Pronskiy](/maintainers/pronskiy)[@pronskiy](https://github.com/pronskiy)

---

Top Contributors

[![pronskiy](https://avatars.githubusercontent.com/u/1196825?v=4)](https://github.com/pronskiy "pronskiy (4 commits)")[![alebedev80](https://avatars.githubusercontent.com/u/777096?v=4)](https://github.com/alebedev80 "alebedev80 (1 commits)")

### Embed Badge

![Health badge](/badges/pronskiy-mcp/health.svg)

```
[![Health](https://phpackages.com/badges/pronskiy-mcp/health.svg)](https://phpackages.com/packages/pronskiy-mcp)
```

###  Alternatives

[spatie/emoji

Display emoji characters

4681.3M35](/packages/spatie-emoji)[imanghafoori/php-imports-analyzer

A command line tool to scan for extra or wrong use statements in composer based apps.

21226.1k23](/packages/imanghafoori-php-imports-analyzer)

PHPackages © 2026

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