Download the PHP package dalehurley/php-mcp-sdk without Composer

On this page you can find all versions of the php package dalehurley/php-mcp-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-mcp-sdk

PHP MCP SDK

Latest Version PHP Version Total Downloads License Documentation

PHP implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.

โœจ Features

๐Ÿ“‹ Requirements

๐Ÿš€ Installation

Via Composer

Development Version

โšก Quick Start

Creating an MCP Server

Creating an MCP Client

Test Your Implementation

๐ŸŽฏ Examples Overview

The PHP MCP SDK includes 20+ comprehensive examples across all skill levels:

๐ŸŽ“ Getting Started (4 examples)

๐Ÿ—๏ธ Framework Integration (2 examples)

๐Ÿค– Agentic AI (4 examples)

๐Ÿญ Real-World Applications (5 examples)

๐Ÿข Enterprise & Production (3 examples)

All examples are tested and working! ๐ŸŽ‰

Framework Integration

The PHP MCP SDK is designed to work with any PHP framework through its PSR-compliant architecture.

Laravel Integration

You can use the core PHP MCP SDK directly in Laravel applications:

For a complete Laravel package with service providers, Artisan commands, and Laravel-specific features, see the separate laravel-mcp-sdk package.

๐Ÿ“š Documentation

The most comprehensive MCP SDK documentation in the ecosystem is available in the docs/ directory:

๐ŸŽ“ Getting Started (Beginner-Friendly)

๐Ÿ—๏ธ Implementation Guides

๐Ÿค– Agentic AI Development

๐Ÿญ Real-World Applications

๐Ÿข Enterprise & Production

๐Ÿ“– API Reference

๐Ÿ”„ Migration & Examples

Testing

Contributing

Contributions are welcome! Please read our Contributing Guide for details.

Changelog

All notable changes to this project are documented in the CHANGELOG.md. Please update it when making changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments


All versions of php-mcp-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
ext-mbstring Version *
amphp/amp Version ^3.0
amphp/byte-stream Version ^2.0
amphp/http-client Version ^5.0
amphp/http-server Version ^3.0
amphp/process Version ^2.0
amphp/socket Version ^2.0
amphp/websocket-server Version ^4.0
evenement/evenement Version ^3.0
guzzlehttp/guzzle Version ^7.8
guzzlehttp/psr7 Version ^2.6
monolog/monolog Version ^3.5
psr/http-message Version ^2.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
ramsey/uuid Version ^4.7
respect/validation Version ^2.2
symfony/console Version ^6.4|^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dalehurley/php-mcp-sdk contains the following files

Loading the files please wait ...