- Posted on
- Featured Image
Hands-on MCP debugging guide: leverage jq, socat/nc, strace, lsof, rg, and curl to surface JSON-RPC traffic (stdio/TCP), compare PATH/permissions/env across shells, systemd, and containers, trace syscalls to pinpoint ENOENT/EACCES/timeouts, validate method/ID framing, and apply fixes for tool discovery, handshake, permission, and socket issues, with a concise checklist and minimal repros.