Skip to content

Alpha Release 1.0.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@logiscape logiscape released this 22 Dec 21:50
· 12 commits to main since this 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