Skip to main content
Glama
LOG-ANALYSIS.md4.28 kB
# Claude Desktop Log Analysis **Date**: 2025-10-08 **Log File**: `/Users/thomas/Library/Logs/Claude/mcp-server-WordPress MCP Server.log` **Status**: 🔴 **CRITICAL ERRORS FOUND** --- ## Critical Error Identified ### Error: `keyValidator._parse is not a function` **Lines**: 30, 32, 34, 36 ``` 2025-10-07T13:23:31.803Z [WordPress MCP Server] [info] Message from server: {"jsonrpc":"2.0","id":4,"error":{"code":-32603,"message":"keyValidator._parse is not a function"}} 2025-10-07T13:23:39.383Z [WordPress MCP Server] [info] Message from server: {"jsonrpc":"2.0","id":5,"error":{"code":-32603,"message":"keyValidator._parse is not a function"}} 2025-10-07T13:23:48.158Z [WordPress MCP Server] [info] Message from server: {"jsonrpc":"2.0","id":6,"error":{"code":-32603,"message":"keyValidator._parse is not a function"}} 2025-10-07T13:23:57.316Z [WordPress MCP Server] [info] Message from server: {"jsonrpc":"2.0","id":7,"error":{"code":-32603,"message":"keyValidator._parse is not a function"}} ``` **Affected Tools**: - `wp_test_auth` (line 30) - `wp_get_auth_status` (line 32) - `wp_get_site_settings` (line 34) - `wp_list_posts` (line 36) **Impact**: **ALL TOOLS FAIL** - No WordPress operations work --- ## Non-Critical Issues ### 1. Method Not Found - prompts/list **Lines**: 12, 27, 54 ``` Message from server: {"jsonrpc":"2.0","id":2,"error":{"code":-32601,"message":"Method not found"}} ``` **Cause**: Client requests `prompts/list` but server doesn't implement it **Impact**: Prompts not available (but this is expected - server doesn't expose prompts endpoint) **Status**: Expected behavior, not a bug ### 2. Method Not Found - resources/list **Lines**: 13, 28, 55 ``` Message from server: {"jsonrpc":"2.0","id":3,"error":{"code":-32601,"message":"Method not found"}} ``` **Cause**: Client requests `resources/list` but server doesn't implement it **Impact**: Resources not available (but this is expected - server doesn't expose resources endpoint) **Status**: Expected behavior, not a bug --- ## Root Cause Analysis ### Problem: Zod Schema Validation Error The error `keyValidator._parse is not a function` indicates a **Zod validation library issue**. ### Location This error happens during tool execution, likely in the tool wrapper or validation layer. ### Possible Causes 1. **Zod Version Mismatch** - DXT bundled dependencies might have wrong Zod version - Production dependencies might be incompatible 2. **Schema Definition Error** - Invalid schema structure in tool definitions - Missing or incorrect validator configuration 3. **DXT Compilation Issue** - TypeScript compilation produced invalid code - Module resolution failing for Zod imports --- ## Investigation Needed ### Files to Check 1. **Tool Validation Layer** - `src/utils/validation.ts` - `src/server/ToolRegistry.ts` - `src/tools/BaseToolManager.ts` 2. **Zod Schema Usage** - `src/config/ConfigurationSchema.ts` - Any files using Zod `.parse()` or validators 3. **Package Dependencies** - `package.json` - Zod version - `package-lock.json` - Actual installed version - DXT `node_modules/` - What's actually bundled --- ## Timeline | Time | Event | Status | |------|-------|--------| | 13:21:48 | Server initialized | ✅ OK | | 13:21:49 | Tools list returned (59 tools) | ✅ OK | | 13:21:49 | prompts/list - Method not found | ⚠️ Expected | | 13:21:49 | resources/list - Method not found | ⚠️ Expected | | 13:23:31 | wp_test_auth called | ❌ FAILED | | 13:23:39 | wp_get_auth_status called | ❌ FAILED | | 13:23:48 | wp_get_site_settings called | ❌ FAILED | | 13:23:57 | wp_list_posts called | ❌ FAILED | | 22:29:18 | Server disconnected unexpectedly | ❌ CRASH | --- ## Server Info from Log **Version Reported**: `2.7.0` (line 6, 21, 48) **Expected Version**: `2.10.2` This confirms the **old DXT package was being used** during the logged session. --- ## Next Steps 1. ✅ Find Zod usage in validation code 2. ✅ Check for schema definition issues 3. ✅ Verify Zod version in dependencies 4. ✅ Test with corrected DXT package (v2.10.2) 5. ⏳ Rebuild and reinstall DXT --- **Priority**: 🔴 **CRITICAL** - Server completely non-functional **Severity**: **HIGH** - All tool operations fail

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/docdyhr/mcp-wordpress'

If you have feedback or need assistance with the MCP directory API, please join our Discord server