server

Core PHP implementation for the Model Context Protocol (MCP) server

GitHub Stars

645

User Rating

Not Rated

Favorites

0

Views

30

Forks

46

Issues

10

Installation
Difficulty
Beginner
Estimated Time
5-10 minutes

Installation

Installation

Prerequisites

PHP: 8.1 or higher
Composer
For HTTP Transport: An event-driven PHP environment (CLI recommended)
Extensions: json, mbstring, pcre (typically enabled by default)

Installation Steps

1. Install using Composer

bash
composer require php-mcp/server
> 💡 Laravel Users: Consider using [php-mcp/laravel](https://github.com/php-mcp/laravel) for enhanced framework integration and configuration management.

Troubleshooting

Issue: Composer fails to install dependencies Solution: Check your PHP version and ensure required extensions are enabled.

Additional Resources