Skip to main content
Glama

MCP GDB Server

by signal-slot

MCP GDB 서버

Claude 또는 기타 AI 어시스턴트와 함께 사용할 수 있는 GDB 디버깅 기능을 제공하는 MCP(Model Context Protocol) 서버입니다.

특징

  • GDB 디버깅 세션 시작 및 관리
  • 분석을 위해 프로그램 및 코어 덤프를 로드합니다.
  • 중단점 설정, 코드 단계별 실행 및 메모리 검사
  • 호출 스택, 변수 및 레지스터 보기
  • 임의의 GDB 명령 실행

설치

지엑스피1

용법

Claude 또는 기타 MCP 지원 어시스턴트와 함께 사용

  1. Claude 데스크톱 앱이나 브라우저 확장 프로그램에서 MCP 설정을 구성하여 이 서버를 포함하세요.
{ "mcpServers": { "gdb": { "command": "node", "args": ["/path/to/mcp-gdb/build/index.js"], "disabled": false } } }
  1. 클로드를 재시작하거나 페이지를 새로고침하세요.
  2. 이제 클로드와의 대화에서 GDB 도구를 사용할 수 있습니다.

예제 명령

다음은 Claude를 통해 GDB MCP 서버를 사용하는 몇 가지 예입니다.

GDB 세션 시작
Use gdb_start to start a new debugging session
프로그램 로딩
Use gdb_load to load /path/to/my/program with the sessionId that was returned from gdb_start
중단점 설정
Use gdb_set_breakpoint to set a breakpoint at main in the active GDB session
프로그램 실행
Use gdb_continue to start execution
변수 검토
Use gdb_print to evaluate the expression "my_variable" in the current context
백트레이스 얻기
Use gdb_backtrace to see the current call stack
세션 종료
Use gdb_terminate to end the debugging session

지원되는 GDB 명령

  • gdb_start : 새로운 GDB 세션을 시작합니다
  • gdb_load : GDB에 프로그램을 로드합니다
  • gdb_command : 임의의 GDB 명령을 실행합니다.
  • gdb_terminate : GDB 세션을 종료합니다.
  • gdb_list_sessions : 모든 활성 GDB 세션을 나열합니다.
  • gdb_attach : 실행 중인 프로세스에 연결
  • gdb_load_core : 코어 덤프 파일을 로드합니다
  • gdb_set_breakpoint : 중단점을 설정합니다
  • gdb_continue : 프로그램 실행을 계속합니다.
  • gdb_step : 단계별 프로그램 실행
  • gdb_next : 함수 호출을 단계별로 실행
  • gdb_finish : 현재 함수가 반환될 때까지 실행합니다.
  • gdb_backtrace : 호출 스택 표시
  • gdb_print : 표현식의 값을 출력합니다.
  • gdb_examine : 메모리 검사
  • gdb_info_registers : 레지스터 표시

특허

MIT

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

Claude나 다른 AI 어시스턴트와 함께 사용할 수 있는 GDB 디버깅 기능을 제공하여 사용자가 디버깅 세션을 관리하고, 중단점을 설정하고, 변수를 검사하고, 자연어로 GDB 명령을 실행할 수 있도록 합니다.

  1. 특징
    1. 설치
      1. 용법
        1. Claude 또는 기타 MCP 지원 어시스턴트와 함께 사용
        2. 예제 명령
      2. 지원되는 GDB 명령
        1. 특허

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            Enables intelligent code analysis and debugging through the Perplexity AI's API, offering detailed error analysis, pattern detection, and comprehensive solutions, with integration support for the Claude desktop client.
            Last updated -
            1
            696
            11
            JavaScript
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A comprehensive code analysis and management tool that integrates with Claude Desktop to analyze code at project and file levels, helping adapt changes to projects intelligently.
            Last updated -
            37
            Python
            MIT License
          • A
            security
            F
            license
            A
            quality
            Enables managing Google Cloud Platform resources through natural language commands in Claude Desktop, supporting comprehensive operations across compute, storage, databases, networking, monitoring, and IAM without manual credential setup.
            Last updated -
            56
            20
            Python
            • Apple
          • -
            security
            F
            license
            -
            quality
            Allows Claude to directly debug a NodeJS server by setting breakpoints, inspecting variables and stepping through code.
            Last updated -
            417
            268
            JavaScript
            • Linux
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/signal-slot/mcp-gdb'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server