Skip to content

Releases: logiscape/mcp-sdk-php

1.0.0

21 Jan 03:44
Compare
Choose a tag to compare

MCP SDK for PHP - First Stable Release

We're pleased to announce the first stable release of the PHP implementation of the Model Context Protocol (MCP) SDK. This release marks successful client compatibility testing with the official "Everything MCP Server".

Major Achievement

  • Successful compatibility test with @modelcontextprotocol/server-everything, the official MCP test server
  • Execution of prompts, tools, and resources through the MCP Web Client in a standard cPanel web hosting environment

Core Functionality

  • Complete implementation of the MCP protocol specification
  • Robust client-side implementation with web-based testing interface
  • Cross-SDK compatibility (tested with Python and TypeScript implementations)
  • Interactive testing and debugging tools

MCP Web Client Features

  • Comprehensive testing interface for MCP servers
  • Real-time execution of prompts, tools, and resources
  • Detailed JSON-RPC message logging
  • FastCGI and standard web hosting compatibility

Installation

composer require logiscape/mcp-sdk-php:^1.0

Important Notes

While this is a stable release, developers should note:

  • This SDK is primarily targeted at developers experimenting with frontier AI integrations
  • Production implementations should undergo thorough security review
  • Review by experienced developers is recommended for production deployments

Use Cases

  • Development of web-based AI clients
  • Integration of large language models with custom data sources
  • Creation of specialized AI tools and interfaces
  • Testing and prototyping of MCP implementations

Ongoing Development

Future releases will focus on:

  • Performance optimizations
  • Additional security features
  • Enhanced error handling
  • Extended testing coverage
  • Protocol updates as the MCP specification evolves

Feedback

We welcome community input on:

  • Production use cases and implementations
  • Bug reports and feature requests
  • Security considerations
  • Integration challenges
  • Performance optimization opportunities

Credits

This SDK is a PHP implementation of the Model Context Protocol, developed in alignment with the reference implementations provided by Anthropic and the MCP community. Full attribution and license details are available in the README.

MCP SDK for PHP - Alpha Release 1.0.0-alpha.2

03 Jan 10:07
Compare
Choose a tag to compare

MCP SDK for PHP - Alpha Release 1.0.0-alpha.2

This release builds upon the initial alpha, focusing on client-side improvements and cross-SDK compatibility. Major additions include a new web-based testing interface and enhanced type implementations.

Major Updates

  • Added MCP Web Client for testing and development
  • Improved Types classes for better schema compliance
  • Some PHP client testing with non-PHP MCP servers via stdio

New Features

MCP Web Client

  • Web-based interface for testing MCP servers
  • Tested with FPM/FastCGI in a standard web hosting environment
  • Interactive testing of Prompts, Tools, and Resources
  • Detailed JSON-RPC message logging for debugging
  • Optimized wrapper class for web handler environments

Compatibility Improvements

Important Notes

  • This remains an alpha release for testing and development
  • The MCP Web Client should not be deployed publicly without additional security measures
  • Further testing needed for:
    • Security hardening
    • Error handling
    • Resource management

Installation

composer require logiscape/mcp-sdk-php:1.0.0-alpha.2

Known Limitations

  • The MCP Web Client does not currently support stateful connections with MCP servers
  • Production deployment not yet recommended
  • Additional testing needed for resource management, client or server processes may need to be terminated manually

Upcoming Development

  • Enhanced security features for Web Client
  • Additional error handling
  • Resource management optimization
  • Further cross-SDK compatibility testing
  • Testing with remote MCP servers via SSE

Feedback

We continue to welcome feedback on:

  • Bug reports
  • Feature requests
  • Security considerations
  • Cross-SDK compatibility experiences
  • Web Client usability

Alpha Release 1.0.0

22 Dec 21:50
Compare
Choose a tag to compare
Alpha Release 1.0.0 Pre-release
Pre-release

MCP SDK for PHP - Initial Alpha Release

This is the initial alpha release of the PHP implementation of the Model Context Protocol (MCP) SDK. The SDK enables standardized context provisioning for Large Language Models (LLMs), separating context handling from LLM interactions.

Current Features

  • Full implementation of MCP protocol types and structures according to schema
  • Support for both MCP server and client development
  • Stdio transport implementation for local communication
  • Working examples for basic server with pre-defined prompts
  • Working examples for client connection and prompt listing
  • Cross-platform compatibility (tested on Windows and Linux)

Example Use Cases

  • Implementing MCP servers for databases
  • Creating MCP clients for LLM applications
  • Local development and testing of MCP implementations

Current Limitations

  • Synchronous calls only (async support planned for future releases)
  • Remote connections not yet thoroughly tested
  • Not all schema types tested in production scenarios

Installation

composer require logiscape/mcp-sdk-php:1.0.0-alpha

Getting Started

Check the README for:

  • Basic server implementation example
  • Client connection example
  • Configuration details
  • Usage guidelines

Upcoming Development

  • Testing of all schema-defined types
  • Enhanced error handling
  • Asynchronous connection support
  • Cross-language MCP SDK compatibility testing (PHP ↔ Python)
  • Remote connection testing and optimization

Credits

This SDK is a PHP port of the Python MCP SDK from Anthropic, released under the MIT license. The port was developed by Josh Abbott with assistance from Claude 3.5 Sonnet and ChatGPT o1 pro mode. Full attribution and license details are available in the README.

Feedback

This is an alpha release meant for testing and feedback. We welcome your input on:

  • Bug reports
  • Feature requests
  • Implementation challenges
  • Cross-platform compatibility issues