Skip to main content
Glama

MCP Server GDB

MCP 서버 GDB

MCP 프로토콜을 기반으로 하는 GDB/MI 프로토콜 서버로, AI 어시스턴트를 통해 원격 애플리케이션 디버깅 기능을 제공합니다.

특징

  • GDB 디버그 세션 생성 및 관리
  • 중단점 설정 및 관리
  • 스택 정보 및 변수 보기
  • 프로그램 실행을 제어합니다(실행, 일시 정지, 단계 등)
  • 동시 다중 세션 디버깅 지원
  • 에이전트의 행동을 검사하여 신속한 대응(WIP)을 개선할 수 있는 내장 TUI

설치

미리 빌드된 바이너리

릴리스 페이지에서 바이너리를 찾은 후 작업 플랫폼에 맞는 바이너리를 선택하면 바로 실행할 수 있습니다.

소스에서 빌드

저장소를 복제하고 cargo로 빌드합니다.

지엑스피1

용법

  1. 그냥 직접 실행하세요: ./mcp-server-gdb
  2. 서버는 두 가지 전송 모드를 지원합니다.
    • Stdio(기본값): 표준 입출력 전송
    • SSE: 서버에서 보낸 이벤트 전송, 기본값은 http://127.0.0.1:8080 입니다.

구성

src/config.rs 파일을 수정하거나 환경 변수를 사용하여 서버 구성을 조정할 수 있습니다.

  • 서버 IP 주소
  • 서버 포트
  • GDB 명령 시간 초과 시간(초)

지원되는 MCP 도구

세션 관리

  • create_session - 새로운 GDB 디버깅 세션을 생성합니다.
  • get_session - 특정 세션 정보 가져오기
  • get_all_sessions - 모든 세션 가져오기
  • close_session - 세션 닫기

디버그 제어

  • start_debugging - 디버깅 시작
  • stop_debugging - 디버깅 중지
  • continue_execution - 실행 계속
  • step_execution - 다음 줄로 이동
  • next_execution - 다음 줄로 넘어갑니다

중단점 관리

  • get_breakpoints - 중단점 목록 가져오기
  • set_breakpoint - 중단점 설정
  • delete_breakpoint - 중단점 삭제

디버그 정보

  • get_stack_frames - 스택 프레임 정보 가져오기
  • get_local_variables - 로컬 변수 가져오기
  • get_registers - 레지스터 가져오기
  • read_memory - 메모리 내용 읽기

특허

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

MCP 프로토콜을 기반으로 하는 GDB/MI 프로토콜 서버로, 원격 애플리케이션 디버깅 기능을 제공합니다.

  1. 특징
    1. 설치
      1. 미리 빌드된 바이너리
      2. 소스에서 빌드
    2. 용법
      1. 구성
        1. 지원되는 MCP 도구
          1. 세션 관리
          2. 디버그 제어
          3. 중단점 관리
          4. 디버그 정보
        2. 특허

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            An MCP server that provides a comprehensive interface to Semgrep, enabling users to scan code for security vulnerabilities, create custom rules, and analyze scan results through the Model Context Protocol.
            Last updated -
            6
            192
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol (MCP) server for Cursor IDE that simplifies the installation and configuration of other MCP servers.
            Last updated -
            882
            23
            JavaScript
            MIT License
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            An implementation of the Model Context Protocol (MCP) that enables interaction with debug adapters, allowing language models to control debuggers, set breakpoints, evaluate expressions, and navigate source code during debugging sessions.
            Last updated -
            2
            Python
            AGPL 3.0
          • -
            security
            A
            license
            -
            quality
            A MCP server for LLDB that allows automatic analyzing, debugging and disassembling of native apps.
            Last updated -
            1
            Python
            BSD 2-Clause "Simplified" License

          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/pansila/mcp_server_gdb'

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