Skip to content

v0.5.0

Latest

Choose a tag to compare

@galatanovidiu galatanovidiu released this 15 Apr 19:17
7bfc49f

Highlights

v0.5.0 is a major internal upgrade for MCP Adapter. The biggest change is the adoption of wordpress/php-mcp-schema across the plugin, so MCP responses now use typed protocol DTOs instead of hand-built arrays.

This gives us a more consistent and spec-aligned foundation for tools, resources, prompts, initialization, and error responses, while making future MCP spec updates easier to support.

For most users, this should be a seamless upgrade. Existing ability registration, create_server(), and WordPress hooks continue to work as before. If you have custom handlers, transports, or code that depends on internal component structures, review the migration guide for upgrade details.

Included in this release

  • Full integration of wordpress/php-mcp-schema throughout the adapter
  • Typed DTO-based handling for MCP tools, resources, prompts, initialization, and JSON-RPC errors
  • Protocol version negotiation support for 2025-11-25, 2025-06-18, and 2024-11-05
  • Validation, encapsulation, and type-safety improvements across the core and domain layers
  • Security hardening with stricter input validation and fail-closed permission handling
  • Better observability for protocol errors and isError tool responses
  • Reduced SessionManager write amplification to lower lock contention
  • Packaging and dependency updates, including the php-mcp-schema v0.1.1 follow-up for cleaner Composer dist archives

Documentation

Documentation was expanded significantly for this release, including:

  • A new v0.5.0 migration guide
  • Updated architecture documentation
  • Improvements to the default server guide and troubleshooting docs
  • README updates, including WordPress 6.9/7.0 notes
  • Additional guidance for ability registration

Contributors

New Contributors

Full Changelog: v0.4.1...v0.5.0