codebase-memory-mcp icon indicating copy to clipboard operation
codebase-memory-mcp copied to clipboard

Free MCP Server Audit - Protocol Compliance & Cross-Platform Testing

Open scotia1973-bot opened this issue 5 months ago • 0 comments

🎯 Free MCP Server Audit — Protocol Compliance & Cross-Platform Testing

Hey @DeusData — codebase-memory-mcp is a genuinely impressive piece of engineering. A single static C binary with tree-sitter for 158 languages, knowledge graph persistence, sub-ms queries, and 99% token reduction — it's one of the most technically ambitious MCP servers I've seen.

I can see from your issue tracker that you're hitting platform-specific MCP protocol problems:

  • #513 — Windows stdio handshake hangs (stdout flushes only on stdin EOF)
  • #511 — get_code_snippet emits invalid UTF-8 in JSON responses, hanging MCP clients
  • #530 — Windows pipe WaitForSingleObject fails, causing server loop to break
  • #453 (mrexodia/ida-pro-mcp) — same is_typeddict not found error, cross-project Python MCP schema issue
  • #503 — CALLS edges omit line numbers (captured but never persisted)

The Windows stdio and UTF-8 issues are specifically MCP transport compliance bugs — they violate the JSON-RPC spec (must emit valid UTF-8) and the stdio transport agreement (must flush after each response).

What I'm offering

I run the MCP Auditor — an automated testing & certification platform for MCP servers. I'll run codebase-memory-mcp through the full suite:

  1. Protocol handshake — validates initialize/initialized flow across stdio and SSE transports
  2. JSON-RPC compliance — checks every response for valid UTF-8, correct jsonrpc: "2.0", and proper error objects
  3. Tool discovery — verifies tools/list returns complete schemas
  4. Cross-platform transport tests — specifically targets the Windows stdio flush issue
  5. Resource model — validates that resources (projects, symbols, graph nodes) follow the MCP resource spec
  6. Error handling — tests that every tool returns a proper error on failure instead of hanging

Free, one-time audit. Full PDF report with PASS/FAIL per test, latency data, and code-level recommendations.

Why now

Several of your issues describe MCP clients hanging or timing out indefinitely — these are the hardest bugs to diagnose because the failure happens on the client side (JSON-RPC parse failure, UTF-8 decode stalling, buffered pipe deadlock). An automated audit would catch all of these in one pass with exact reproduction steps.

How to claim

Reply here, DM, or self-serve at api.gadgethumans.com/mcp-audit (mention this issue for the waived fee).

Cheers, — Scotty

scotia1973-bot avatar Jun 20 '26 22:06 scotia1973-bot