Releases: code-wheel/mcp-events-php
Releases · code-wheel/mcp-events-php
v2.1.0 - JsonSerializable & Decoupled from SDK
What's New
JsonSerializable Support
- All event classes now implement
JsonSerializable - Easy serialization for logging, debugging, and transport
Decoupled from MCP SDK
- Removed hard dependency on
mcp/sdk - Now listed as optional suggestion for enhanced integration
- Lighter footprint for standalone usage
100% Test Coverage
- Comprehensive unit tests for all event classes
- Integrated Codecov for coverage tracking
CI/CD Pipeline
- Automated testing workflow
- Multi-PHP version testing (8.1, 8.2, 8.3, 8.4)
Installation
composer require code-wheel/mcp-eventsRequirements
- PHP >= 8.1
- Zero required dependencies (mcp/sdk optional)
Event Classes
ToolExecutionStarted- Fired when tool execution beginsToolExecutionCompleted- Fired on successful completionToolExecutionFailed- Fired on execution failureToolAccessDenied- Fired when access is deniedToolRateLimited- Fired when rate limit exceededToolValidationFailed- Fired on input validation failure
Full Changelog
0420848Add README badgescd6b684Document JsonSerializable in READMEd84ada2Add JsonSerializable to all event classes2149cf4Achieve 100% test coverage8426b01Decouple from mcp/sdk, add CI with Codecov
v2.0.0 - Decoupled from SDK
Breaking Changes
- Removed hard dependency on
mcp/sdk - SDK now optional (listed in suggests)
Features
- Lighter footprint for standalone usage
- All event classes for MCP tool execution lifecycle
Installation
composer require code-wheel/mcp-eventsv1.0.0 - Initial Release
Initial Release
Standardized event classes for MCP tool execution lifecycle in PHP.
Features
- Event classes for tool execution lifecycle
- Integration with mcp/sdk
- PHP 8.1+ support
Installation
composer require code-wheel/mcp-events