github docdyhr/mcp-wordpress v3.1.25

latest releases: v3.1.28, v3.1.27, v3.1.26...
7 hours ago

๐Ÿ› Bug Fixes

  • cache: wp_cache_info handler now races a 5 s setTimeout so a stalled getCacheStats() call can never block the MCP response indefinitely; throws/timeouts are caught and return { caching_enabled: false, status: "unavailable", error: "โ€ฆ" } instead of hanging.
  • performance: wp_performance_benchmark handler now races a 5 s setTimeout; any exception from benchmarkPerformance() is caught and returns a graceful { success: false, status: "unavailable", โ€ฆ } payload instead of hanging.
  • encoding: ComposedRequestManager.makeRequest now uses new TextDecoder('utf-8').decode(await response.arrayBuffer()) for non-JSON response bodies, completing the D8 UTF-8 fix across all HTTP client paths (previously only WordPressClient error and fallback paths were covered).

๐Ÿงช Tests

  • cache: added 3 regression tests for wp_cache_info โ€” graceful error response on getCacheStats throw, timing guard with no backend, timing guard with successful stats.
  • performance: fixed toolWrapper mock to use a plain function (immune to mockReset: true) and added 2 regression tests for wp_performance_benchmark โ€” never-hang timing guard and graceful error on benchmarkPerformance throw.

Don't miss a new mcp-wordpress release

NewReleases is sending notifications on new releases.