Delve MCP
델브-mcp
Delve 디버거 통합을 위한 MCP 서버
Go 프로그램용 Delve 디버거에 대한 완전한 인터페이스를 제공하는 TypeScript 기반 MCP 서버입니다. MCP 도구를 통해 모든 주요 Delve 명령과 기능을 구현합니다.
특징
자원
delve://URI를 통해 디버그 세션을 나열하고 액세스합니다.각 세션에는 해당 유형, 대상 및 포트에 대한 메타데이터가 있습니다.
세션 세부 정보 및 상태에 대한 JSON 표현
도구
다음을 사용하여 Go 프로그램을 디버깅, 추적 및 분석합니다.
디버그 명령(
debug,attach,exec,test)코어 덤프 분석
프로그램 추적
rr사용한 리플레이 디버깅DAP 서버 지원
조건을 사용한 중단점 관리
실행 제어(
continue,step,next)변수 검사 및 평가
백엔드 선택(
native,lldb,rr)로깅 구성
세션 관리
환경 설정
서버에는 다음이 필요합니다.
Delve를 설치했습니다(
go install github.com/go-delve/delve/cmd/dlv@latest)재생 기능: Mozilla
rr( https://github.com/mozilla/rr )Node.js와 npm
Related MCP server: MCP-Typescribe
설치
Delve MCP 서버를 설치하려면:
지엑스피1
개발
종속성 설치:
npm install서버를 빌드하세요:
npm run build자동 재빌드를 사용한 개발의 경우:
npm run watch구성
Claude Desktop과 함께 사용하려면 서버 구성을 추가하세요.
Linux의 경우:
~/.config/Claude/claude_desktop_config.json.MacOS의 경우:
~/Library/Application Support/Claude/claude_desktop_config.json.Windows의 경우:
%APPDATA%/Claude/claude_desktop_config.json.
{
"mcpServers": {
"delve-mcp": {
"command": "/path/to/delve-mcp/build/index.js"
}
}
}사용 가능한 도구
디버그 명령
debug- 현재 디렉토리 또는 지정된 패키지의 Go 패키지 디버깅attach- PID로 실행 중인 프로세스에 연결exec- 미리 컴파일된 바이너리를 실행하고 디버깅합니다.test- 현재 패키지 또는 지정된 패키지의 디버그 테스트core- 연관된 실행 파일이 있는 코어 덤프 파일을 검사합니다.dap- 디버그 어댑터 프로토콜(DAP) 서버 시작replay- rr 추적 녹음 재생trace- 함수 매칭을 통한 프로그램 실행 추적
제어 명령
setBreakpoint- 선택적 조건으로 중단점 설정removeBreakpoint- 기존 중단점 제거continue- 프로그램 실행을 계속합니다next- 다음 줄로 넘어갑니다step- 함수 호출로 들어가기stepout- 현재 함수에서 나가기variables- 현재 범위의 로컬 변수 나열evaluate- 현재 범위에서 표현식을 평가합니다.
구성 명령
version- Delve 버전 정보 가져오기setBackend- 디버그 백엔드 구성(native,lldb,rr)configureLogging- 디버그 로깅 구성 요소 구성
사용 예
디버그 세션 시작
// Debug current package
{ name: "debug" }
// Debug with specific package and build flags
{
name: "debug",
arguments: {
package: "./cmd/myapp",
buildFlags: "-tags=integration"
}
}중단점 관리
// Set a breakpoint
{
name: "setBreakpoint",
arguments: {
sessionId: "abc123",
file: "main.go",
line: 42,
condition: "count > 5"
}
}검사 상태
// List variables
{
name: "variables",
arguments: {
sessionId: "abc123"
}
}
// Evaluate expression
{
name: "evaluate",
arguments: {
sessionId: "abc123",
expr: "myVar.Field"
}
}특허
MIT.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceTypeScript-based MCP server designed to enhance code editing experiences by providing features such as hover information, code completion, and diagnostics.31426MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables LLMs to understand and work with TypeScript APIs they haven't been trained on by providing structured access to TypeScript type definitions and documentation.3046MIT
- AlicenseNot gradedqualityCmaintenanceA TypeScript-based MCP server that enables code search, file reading, and project management via the GitLab API.161ISC
- AlicenseNot gradedqualityBmaintenanceA standalone MCP server that provides TypeScript type inference and hover information using tsgo, enabling AI agents to get type details, diagnostics, references, and more without needing an editor.251MIT
Related MCP Connectors
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
A MCP server built for developers enabling Git based project management with project and personal…
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/dwisiswant0/delve-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server