
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP 서버를 디버깅하기위한 명령 줄 도구
개요
mcp-debug는 MCP(모델 Context Protocol) 서버를 디버깅하는 명령줄 도구입니다. 개발자는 MCP 서버 기능, 디버그 도구 통합 및 테스트 서버 알림을 검사합니다. - : streamable-http 수송을 사용하는 서버와 함께 작동합니다. - : 전체 MCP 인증 사양 (2025-11-25) 보안 첫 번째 기본 준수 - 자동 발견 (RFC 9728 보호 자원 메타 데이터, RFC 8414 AS 메타 데이터) - 자원 지표 (RFC 8707) 토큰 청중 바인딩 - PKCE 검증 (MCP spec에 의해 필요) - 동적 클라이언트 등록 (RFC 7591) 및 클라이언트 ID 메타 데이터 문서 - 런타임 권한 확장을위한 단계 최대 권한 부여 - 지능형 범위 선택 (자동 및 수동 및 탐색 가능 도구) - 수동 및 상호 작용 가능한 도구. - : MCP 서버 자체로서 Cursor와 같은 AI 조수와 통합 할 수 있습니다. - : 심층 디버깅을 위한 JSON-RPC 메시지의 상세한 로깅. - : 단일 명령으로 업데이트된 도구를 유지하십시오.
개요(AI 번역)
mcp-debug는 MCP (모델 Context Protocol) 서버를 디버깅하는 명령줄 도구입니다. 개발자는 MCP 서버 기능, 디버그 도구 통합 및 테스트 서버 알림을 검사합니다.
키 기능
- ** 어떤 MCP Server에 연결 **:
streamable-http전송을 사용하여 서버와 함께 작동합니다. - OAuth 2.1 인증: 전체 MCP 인증 사양 (2025-11-25) 보안 우선 기본 준수
- 자동 발견 (RFC 9728 보호 자원 메타 데이터, RFC 8414 메타 데이터)
- Resource Indicators (RFC 8707) 토큰 청중 바인딩
- PKCE 검증 (MCP spec에 의해 필요)
- 동적 클라이언트 등록 (RFC 7591) 및 클라이언트 ID 메타데이터 문서
- 런타임 권한을 위한 Step-up 인증
- 지능형 범위 선택 (자동 및 수동 모드) -Interactive REPL: 사용 가능한 도구, 리소스 및 대화형으로 신속한 검색.
- MCP Server Mode: MCP 서버 자체로서 Cursor와 같은 AI 조수와 통합할 수 있습니다. -Verbose Logging: 심층 디버깅을 위한 JSON-RPC 메시지의 자세한 로깅.
- Self-Update: 단일 명령으로 업데이트된 도구를 유지하십시오.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP Debug
mcp-debug is a command-line tool for debugging MCP (Model Context Protocol) servers. It helps developers inspect MCP server capabilities, debug tool integrations, and test server notifications.
Key Features
- Connect to any MCP Server: Works with servers using
streamable-httptransport. - OAuth 2.1 Authentication: Full MCP authorization specification (2025-11-25) compliance with security-first defaults
- Automatic discovery (RFC 9728 Protected Resource Metadata, RFC 8414 AS Metadata)
- Resource Indicators (RFC 8707) for token audience binding
- PKCE validation (required by MCP spec)
- Dynamic Client Registration (RFC 7591) and Client ID Metadata Documents
- Step-up authorization for runtime permission escalation
- Intelligent scope selection (auto and manual modes)
- Interactive REPL: Explore available tools, resources, and prompts interactively.
- MCP Server Mode: Acts as an MCP server itself, allowing integration with AI assistants like Cursor.
- Verbose Logging: Detailed logging of JSON-RPC messages for in-depth debugging.
- Self-Update: Keep the tool up-to-date with a single command.
- Shell Autocompletion: Generates autocompletion scripts for Bash, Zsh, Fish, and PowerShell.
Getting Started
Installation
To build the tool from source and install it in your PATH:
go install github.com/giantswarm/mcp-debug@latest
Documentation
For detailed instructions on all features:
- ➡️ mcp-debug Usage Guide - Complete feature guide
- ➡️ OAuth 2.1 Documentation - Comprehensive OAuth authentication guide
OAuth 2.1 Quick Start
Connect to a protected MCP server with automatic discovery:
./mcp-debug --oauth --endpoint https://mcp.example.com/mcp
This automatically:
- Discovers the authorization server (RFC 9728)
- Validates PKCE support (required by MCP spec)
- Uses the official Client ID Metadata Document (CIMD)
- Falls back to Dynamic Client Registration if CIMD is not supported
- Opens your browser for authorization
- Connects with audience-bound tokens (RFC 8707)
Client ID Metadata Document (CIMD)
mcp-debug uses CIMD by default for OAuth authentication. The official client metadata is hosted at:
https://giantswarm.github.io/mcp-debug/client.json
This allows OAuth-protected MCP servers to identify mcp-debug without requiring pre-registration. The authorization server fetches the metadata from this URL and displays “MCP Debugger CLI” on the consent screen.
If you need to use a custom CIMD or disable it:
# Use a custom CIMD URL
./mcp-debug --oauth --oauth-client-id-metadata-url https://example.com/my-client.json --endpoint https://mcp.example.com/mcp
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →