mcp-debug

mcp-debug is a skill for Claude Code from TechNickAI/ai-coding-config. It costs 28 tokens per session (1,581 once invoked), scanned A, original, MIT.

A debugging skill for testing MCP servers. MCP, or Model Context Protocol, is a way for an AI assistant to connect to external tools and data sources.

In plain words
What is it for?
It helps scan server configurations, list available tools, call tools with JSON parameters, and inspect responses.
Why use it?
It helps reveal which tools an MCP server provides and why a tool returns unexpected data, instead of requiring guesswork.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the ai-coding-config plugin — 15 skills, 21 commands, 28 agents, 3 hooks shipped together

Good fit It helps scan server configurations, list available tools, call tools with JSON parameters, and inspect responses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/technickai/ai-coding-config/mcp-debug
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TechNickAI/ai-coding-config --skill mcp-debug
Clone the repo
git clone --depth 1 https://github.com/TechNickAI/ai-coding-config

Made for: Claude Code.

Or install ai-coding-config, the plugin that ships this one along with the rest of its 15 skills, 21 commands, 28 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/technickai/ai-coding-config/mcp-debug/github.svg)](https://agentmods.dev/skills/technickai/ai-coding-config/mcp-debug)
Your own site
<a href="https://agentmods.dev/skills/technickai/ai-coding-config/mcp-debug"><img src="https://agentmods.dev/badge/skills/technickai/ai-coding-config/mcp-debug/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/technickai/ai-coding-config/mcp-debug"><img src="https://agentmods.dev/badge/skills/technickai/ai-coding-config/mcp-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,581 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.01581
Opus 5.5 $0.00011 $0.00632
Sonnet 5.5 $0.00006 $0.00316
Haiku 4.5 $0.00003 $0.00158

Measured 25d ago against content hash 00a1210537b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-debug scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://localhost:9900/health
plugins/core/skills/mcp-debug/SKILL.md · 260 lines

How it starts

The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Before using MCP debug commands, ensure mcptools is installed:

# Check if installed
which mcp || which mcpt

# Install via Homebrew (macOS)
brew tap f/mcptools && brew install mcp

# Or via Go
go install github.com/f/mcptools/cmd/mcptools@latest

If mcptools is not found, install it first before proceeding.

  1. Claude Code config: ~/.config/claude/claude_desktop_config.json
  2. Direct URL: http://localhost:9900 with optional auth
  3. mcptools aliases: Previously saved with mcp alias add

To find available servers:

# Scan all known config locations
mcp configs scan

# List saved aliases
mcp alias list

List Tools

See what tools/operations an MCP server provides:

# HTTP server with bearer auth
mcp tools http://localhost:9900 --headers "Authorization=Bearer $AUTH_TOKEN"

# Using an alias
mcp tools server-alias

# Pretty JSON output
mcp tools --format pretty http://localhost:9900

Call a Tool

Execute an MCP tool directly with parameters:

# Call with JSON params
mcp call describe --params '{"action":"describe"}' http://localhost:9900 \
  --headers "Authorization=Bearer $AUTH_TOKEN"

# Gateway-style (single tool with action param)
mcp call server-tool --params '{"action":"messages_recent","params":{"limit":5}}' \
  http://localhost:9900 --headers "Authorization=Bearer $AUTH_TOKEN"

# Format output as pretty JSON
mcp call tool_name --params '{}' --format pretty http://localhost:9900

Read the full file on GitHub · 260 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago First seen · 260 lines · 28 tokens per session scan A 00a1210537b0

Subscribe to this mod's changes

mcp-debug is a skill published in the GitHub repository TechNickAI/ai-coding-config (24 stars, last pushed 25d ago), licensed MIT. It adds 28 tokens to every session and 1,581 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-22.

Related

Other skills, from other repositories

explore

Build an accurate mental model of an unfamiliar codebase, feature, or area before changing it — where it lives, how it connects, what it does, and why. Use when asked how something works, where something is, when onboarding to a repo, or before editing code you don't know. For a cross-cutting question that needs…

TheWinci/mimirs · 79 tokens

debug

Trace a bug, error, or regression to its root cause. Use when investigating a failure, a stack trace, unexpected behavior, or "why does X happen".

TheWinci/mimirs · 35 tokens

github-webhooks

Receive and verify GitHub webhooks. Use when setting up GitHub webhook handlers, debugging signature verification, or handling repository events like push, pullrequest, issues, or release.

hookdeck/webhook-skills · 40 tokens

cursor-webhooks

Receive and verify Cursor Cloud Agent webhooks. Use when setting up Cursor webhook handlers, debugging signature verification, or handling Cloud Agent status change events (ERROR, FINISHED).

hookdeck/webhook-skills · 38 tokens

debug-assistant

Systematic debugging assistant that helps identify and fix bugs through structured analysis, hypothesis testing, and root cause identification. Use when facing errors, unexpected behavior, or mysterious bugs.

richardcb/oh-my-gemini · 39 tokens

quick-fix

Apply a minimal, targeted fix to a specific bug or issue. Focused on speed and precision - locate the problem, make the smallest correct change, and verify. Not a planning workflow; use for small fixes, patches, and hotfixes.

richardcb/oh-my-gemini · 55 tokens