v0.2.5
Release Notes - Tools Validation and Linting Improvements
Overview
This release introduces a comprehensive validation infrastructure for MCP tools, improves code quality through enhanced linting, and adds new WP-CLI commands for tool validation and debugging.
๐ New Features
WP-CLI Tool Validation Command
- Added
wp mcp validate-toolscommand for validating registered MCP tools - Support for specific tool validation with flexible options
- Multiple validation levels (strict, extended, permissive)
- Configurable output formats for different use cases
- Comprehensive documentation with usage examples
Enhanced Validation System
- New
ValidateToolclass providing comprehensive MCP tool validation - New
SchemaValidatorclass for JSON schema loading and validation - Built-in caching mechanisms for improved performance
- Detailed error handling and validation result reporting