mcp-debug

mcp-debug is a Go command-line tool for debugging Model Context Protocol (MCP) servers. It can connect to MCP servers (including via streamable-http), provide an interactive REPL to inspect tools/resources/prompts, log JSON-RPC traffic verbosely, and run in an MCP server mode itself. It also supports OAuth 2.1 authentication flow options (including PKCE, discovery, resource indicators, and optional CIMD/DRC) to access protected MCP endpoints.

Evaluated Mar 30, 2026 (21d ago)
Repo ↗ DevTools model-context-protocol mcp debugging cli oauth json-rpc repl
⚙ Agent Friendliness
46
/ 100
Can an agent use this?
🔒 Security
58
/ 100
Is it safe for agents?
⚡ Reliability
36
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
55
Documentation
70
Error Messages
0
Auth Simplicity
45
Rate Limits
10

🔒 Security

TLS Enforcement
70
Auth Strength
80
Scope Granularity
40
Dep. Hygiene
50
Secret Handling
40

OAuth 2.1 support with PKCE and resource indicators suggests security-forward design, but this evaluation is based only on the README content (no confirmation of safe logging behavior). Verbose JSON-RPC logging may risk leaking tokens/PII if the tool logs sensitive fields; TLS enforcement level is inferred from typical usage but not explicitly guaranteed in the provided README.

⚡ Reliability

Uptime/SLA
0
Version Stability
60
Breaking Changes
50
Error Recovery
35
AF Security Reliability

Best When

You’re developing against MCP servers and need to introspect capabilities, test tool calls/notifications, and verify OAuth/OIDC authorization behaviors quickly.

Avoid When

You need a stable, long-lived API surface for other services to call; or you must run in environments with strict constraints on interactive browser-based auth and verbose logging of protocol messages.

Use Cases

  • Inspect an MCP server’s advertised capabilities (tools/resources/prompts)
  • Debug JSON-RPC tool calls and MCP notifications
  • Validate integration with AI assistants by running an MCP-facing debug server
  • Test and troubleshoot OAuth-protected MCP endpoints
  • Explore/verify server transports and authorization behaviors during development

Not For

  • Production-grade MCP gateway/security proxy (it’s a debugging CLI)
  • Automating large-scale workloads without human-in-the-loop interaction
  • Handling highly sensitive tokens where you need guaranteed no logging of secrets

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
No
Webhooks
No

Authentication

Methods: OAuth 2.1 (with PKCE) via interactive browser flow
OAuth: Yes Scopes: No

README indicates an OAuth 2.1 flow with authorization discovery (RFC 9728/RFC 8414), Resource Indicators (RFC 8707), PKCE validation, and optional client metadata (CIMD) with fallback to dynamic client registration. Specific scope strings/handling semantics are not detailed in the provided README.

Pricing

Free tier: No
Requires CC: No

Open-source tool (Apache-2.0). Cost is primarily your own infrastructure/IdP usage during OAuth authorization.

Agent Metadata

Pagination
none
Idempotent
False
Retry Guidance
Not documented

Known Gotchas

  • This is primarily a CLI/debugger; agent automation may require driving interactive REPL/browser-based OAuth.
  • Verbose JSON-RPC logging could expose sensitive information in logs if misconfigured.
  • No evidence (from README alone) of structured machine-readable error formats for agents; failures may be CLI-output driven.

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for mcp-debug.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-30.

8642
Packages Evaluated
17761
Need Evaluation
586
Need Re-evaluation
Community Powered