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

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

soukicz/mcp
===========

PHP implementation of Model Context Protocol (MCP) server with PSR-7 support

19PHP

Since Jun 18Pushed 11mo agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#php-mcp-server)

A simple PHP implementation of the Model Context Protocol (MCP) server that supports HTTP communication and tool calls using PSR-7 interfaces.

Features
--------

[](#features)

- ✅ HTTP-only communication (no Server-Sent Events)
- ✅ PSR-7 request/response interfaces for easy integration
- ✅ JSON-RPC 2.0 compliant messaging
- ✅ Simple tool registration and execution
- ✅ Comprehensive error handling
- ✅ Request/response only (no streaming)
- ✅ Tools only (no resources or prompts)

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

[](#installation)

```
composer require soukicz/mcp
```

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

[](#quick-start)

```
