PHPackages                             fastmcphp/fastmcphp - 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. [Database &amp; ORM](/categories/database)
4. /
5. fastmcphp/fastmcphp

ActiveLibrary[Database &amp; ORM](/categories/database)

fastmcphp/fastmcphp
===================

PHP implementation of the Model Context Protocol (MCP)

00PHP

Since Feb 26Pushed 4mo agoCompare

[ Source](https://github.com/mfrederico/fastmcphp)[ Packagist](https://packagist.org/packages/fastmcphp/fastmcphp)[ RSS](/packages/fastmcphp-fastmcphp/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Fastmcphp
=========

[](#fastmcphp)

NOTE:
-----

[](#note)

- sse is deprecated according to anthropic:
- use http instead

A PHP 8.2+ implementation of the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/).

Inspired by [FastMCP](https://github.com/jlowin/fastmcp) for Python.

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

[](#requirements)

- PHP 8.2+
- Swoole 5.0+ or OpenSwoole 4.0+ (optional, recommended for production HTTP/SSE)

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

[](#installation)

```
composer require fastmcphp/fastmcphp
```

Quick Start
-----------

[](#quick-start)

```
