JD

jkolo/debug-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

31 stars 10 forks 품질 70 트렌드 34AGPL-3.0

.NET 디버깅을위한 MCP 서버 - Breakpoint, Inspection, 예외 autopsy, 코드 분석 및 기타 34 도구. ICorDebug에 내장.

개요

- AI Agent를 사용하여 상호 작용하는 .NET 응용 프로그램을 디버깅 할 수 있습니다. debug-mcp는 구조화된 API 도구로 .NET 디버깅 기능을 노출하는 모델 Context Protocol 서버입니다. Claude, GPT 또는 Copilot과 같은 AI 보조를 허용합니다. - .NET 프로세스에 실행하거나 첨부 - Breakpoints, 예외 breakpoints, 및 tracepoints를 설정하십시오 - 코드 라인을 통해 단계 - 변수를 검사하고, 표현을 평가하고, 메모리를 읽으십시오 - Analyze stack traces and thread - 한 개의 호출 (자동화)과 전체 예외 컨텍스트를 얻으십시오 - go-to-definition을 가진 Navigate 코드, 사용 찾기 및 진단 - 공공 기호 서버의 자동적 해결 상징 DAP 프로토콜을 통해 외부 디버거를 사용하는 유사한 도구와 달리 ICorDebug APIs를 사용하여 디버깅-mcp 인터페이스 - JetBrains Rider에 사용되는 동일한 접근법. - ..

개요(AI 번역)

** .NET 디버깅용 MCP 서버 ** — AI Agent를 사용하여 상호 작용적으로 .NET 애플리케이션을 디버깅할 수 있습니다.

debug-mcp 란 무엇입니까?

debug-mcp는 구조화된 API 도구로 .NET 디버깅 기능을 노출하는 모델 Context Protocol 서버입니다. Claude, GPT 또는 Copilot과 같은 AI 보조를 허용합니다.

  • .NET 프로세스에 실행 또는 첨부
  • Breakpoints, 예외 Breakpoints 및 추적점 설정
  • 선에 의한 코드 라인을 통해 단계
  • 변수를 검사하고, 표현을 평가하고, 기억을 읽으십시오
  • 분석 스택 추적 및 스레드
  • 한 개의 호출 (exception autopsy)로 전체 예외 컨텍스트를 가져옵니다.
  • go-to-definition를 가진 Navigate 부호는, 사용법 및 진단을 찾아냅니다
  • 공개 심볼 서버에서 심볼을 자동으로 해결

DAP 프로토콜을 통해 외부 디버거를 사용하지 않는 유사한 도구와 달리, 디버깅-mcp 인터페이스 ** ICorDebug API를 사용하여 .NET 런타임**과는 달리 JetBrains Rider에 사용되는 동일한 접근법.

빠른 시작

실행

요구 사항

  • .NET 10 SDK 이상
  • Linux (Windows 및 macOS 지원 계획)

Claude 데스크탑 구성

claude_desktop_config.json에 추가:

Claude 코드 구성

.mcp.json에 추가:

예제 대화

도구 (34)

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

debug-mcp.net

MCP server for .NET debugging — enable AI agents to debug .NET applications interactively.

What is debug-mcp?

debug-mcp is a Model Context Protocol server that exposes .NET debugging capabilities as structured API tools. It allows AI assistants like Claude, GPT, or Copilot to:

  • Launch or attach to .NET processes
  • Set breakpoints, exception breakpoints, and tracepoints
  • Step through code line by line
  • Inspect variables, evaluate expressions, and read memory
  • Analyze stack traces and threads
  • Get full exception context with one call (exception autopsy)
  • Navigate code with go-to-definition, find usages, and diagnostics
  • Automatically resolve symbols from public symbol servers

Unlike similar tools that use external debuggers via DAP protocol, debug-mcp interfaces directly with the .NET runtime using ICorDebug APIs — the same approach used by JetBrains Rider.

Quick Start

Run

# No installation needed (.NET 10+)
dnx -y debug-mcp

Requirements

  • .NET 10 SDK or later
  • Linux (Windows and macOS support planned)

Configure with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "dotnet-debugger": {
      "command": "dnx",
      "args": ["-y", "debug-mcp"]
    }
  }
}

Configure with Claude Code

Add to your .mcp.json:

{
  "mcpServers": {
    "dotnet-debugger": {
      "command": "dnx",
      "args": ["-y", "debug-mcp"]
    }
  }
}

Example Conversation

You: Debug my ASP.NET app and find why GetUser returns null

Claude: I'll launch your application and investigate.
        [Calls debug_launch with program path]
        [Calls breakpoint_set at UserService.cs:42]
        [Calls debug_continue]
        [Calls breakpoint_wait with 30s timeout]

        The breakpoint was hit. Let me check the variables.
        [Calls variables_get for current frame]

        I found the issue: the `userId` parameter is an empty string.
        The bug is in the calling code at line 28 where...
You: My app throws NullReferenceException somewhere in checkout. Find it.

Claude: I'll set an exception breakpoint and trigger the flow.
        [Calls debug_launch with program path]
        [Calls breakpoint_set_exception for System.NullReferenceException]
        [Calls debug_continue]
        [Calls breakpoint_wait with include_autopsy: true]
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "dotnet-debugger": { "command": "dnx", "args": ["-y", "debug-mcp"] } } }