mcp-debugging-specialist

Diagnose MCP server connectivity and tool invocation failures.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Whaleylaw/llm-lawyer --skill mcp-debugging-specialist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-debugging-specialist
Source: https://github.com/Whaleylaw/llm-lawyer/tree/main/.claude/skills/mcp-debugging-specialist
Command: npx skills add https://github.com/Whaleylaw/llm-lawyer --skill mcp-debugging-specialist

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured, step-by-step approach to diagnose and resolve MCP server connection issues, tool invocation failures, protocol errors, server crashes, and timeouts so integrations reliably expose AI tools.

Core Features & Use Cases

  • Configuration validation: Check MCP server entries, command/args, environment variables, and JSON syntax to catch setup mistakes.
  • Independent server testing: Run the server command manually, inspect startup errors, and verify basic endpoints before integrating with the client.
  • Log-driven diagnosis: Tail and search Claude and MCP logs for connection attempts, timeouts, crashes, and protocol errors to pinpoint failures.
  • Tool discovery and invocation checks: Confirm registered tool names, test simple tool calls, and inspect registration schemas to resolve "method not found" and timeout issues.
  • Protocol and performance debugging: Compare protocol versions, validate JSON-RPC messages, enable verbose logging, and profile startup and call latency.
  • Use case: When MCP tools fail to appear in the client, follow the checklist to determine whether the problem is configuration, server startup, registration, or protocol mismatch.

Quick Start

Open your Claude Code MCP config, run the configured server command manually to confirm it starts, tail the Claude MCP logs to observe connection attempts, and invoke a basic mcp__server__ping to verify the tool responds.

Frequently Asked Questions about mcp-debugging-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I troubleshoot an MCP server connection failure in Claude Code?

To troubleshoot an MCP server connection failure, validate your MCP config entries and environment variables, run the server command manually to check startup errors, and tail Claude Code logs to observe connection attempts and pinpoint the failure.

Why does my MCP tool timeout or crash during a client call?

MCP tools timeout or crash due to server startup failures, protocol mismatches, or unhandled exceptions. Diagnose by profiling call latency, enabling verbose logging, validating JSON-RPC messages, and inspecting server process crashes in the logs.

What is the best way to resolve "method not found" protocol errors for AI tool integrations?

Resolve "method not found" protocol errors by confirming registered tool names, testing simple tool calls, and inspecting registration schemas. Comparing protocol versions and validating JSON-RPC messages ensures the client and server communicate correctly.

How do I fix missing MCP tools that fail to appear in the client?

Fix missing MCP tools by following a configuration checklist to determine whether the issue stems from setup mistakes, server startup crashes, tool registration failures, or protocol version mismatches between the client and server.

Do I need access to server start commands and Claude Code logs to debug MCP integrations?

Yes, debugging MCP integrations requires access to the MCP server start command, environment setup, and Claude Code logs. You also need the ability to run and inspect server processes and protocol messages to diagnose failures accurately.

How do I validate MCP server configuration and JSON syntax for tool integrations?

Validate MCP server configuration by checking server entries, command arguments, environment variables, and JSON syntax. Catching these setup mistakes early prevents connection errors and ensures integrations reliably expose AI tools to the client.