본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)5.8k · #14609

troubleshoot-binlog-mcp

하는 일

이 스킬은 플러그인이 쓰는 binlog 도구 서버가 시작되거나 연결되지 못하는 이유를 알아냅니다. 에이전트 설정에서 연결 오류나 binlog 도구가 보이지 않는 문제를 보는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓binlog 서버에 연결이 닫혔다는 오류가 나오거나 도구를 쓸 수 없을 때.
  • ✓패키지가 없다는 메시지나 실행 오류로 서버가 시작되지 않을 때.
  • ✓플러그인을 설치했는데 binlog 도구가 나타나지 않을 때.

스킬 링크

https://github.com/dotnet/skills/blob/main/plugins/dotnet-msbuild/skills/troubleshoot-binlog-mcp/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/dotnet/skills/blob/main/plugins/dotnet-msbuild/skills/troubleshoot-binlog-mcp/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 에이전트가 binlog 서버 연결이 닫혔다고 합니다. 서버가 왜 시작되지 않는지 알아봐 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트가 오류와 호스트 설정을 확인하고, 작업 공간 SDK, 패키지 피드, 소스 설정을 비교한 뒤, 정책을 따르는 복구 방법을 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Troubleshoot Binlog MCP Startup

Explain why the plugin's binlog MCP server cannot connect and give an evidence-based, policy-safe recovery. This diagnoses the server launch, not failures recorded in a build. No binlog file or project build is needed.

This skill runs on demand. It cannot see a host error that was never exposed to the agent, inject session-start context, or guarantee activation merely because a plugin was installed.

1. Establish what failed

Use the user's error and any host MCP status or startup logs already available. CONNECTION_CLOSED alone says that the transport closed, not why. Do not translate it directly into "package missing."

  • If the binlog server is connected and its tools are discoverable, stop startup troubleshooting. Continue the original binlog analysis; do not change a working setup.
  • If the plugin's skills loaded but its binlog server did not, continue below.
  • If the plugin itself is not installed/enabled or no server is registered, address that host configuration first. Do not diagnose NuGet package resolution without a launch attempt.
  • If execution or host logs are unavailable, explain that limit and give the next command for the user to run. Never claim to have inspected logs or repaired a connection.

2. Match the host's workspace and SDK

Discover the affected workspace directory and the host's actual MCP command, arguments, and environment from available configuration. The shipped command is:

dotnet dnx Microsoft.AITools.BinlogMcp --yes --prerelease

Run diagnostics from that workspace with the host's environment, not from the plugin directory or a temporary directory with different NuGet settings. Inspect:

dotnet --info
dotnet --version
dotnet nuget list source

Check the applicable global.json and inherited NuGet configuration, including parent/user configuration, clear, disabled sources, and packageSourceMapping. A workspace clear can replace the default nuget.org source with a private mirror that lacks this package. An installed SDK is not necessarily the SDK selected in this directory. The shipped dotnet dnx command requires a .NET 10+ SDK.

Do not dump credential settings, private feed URLs, tokens, or credential-provider output into the answer. Inspect locally as needed and report a redacted source label and relevant error.

3. Capture the real launch error

Prefer an existing startup log from the failing host. Otherwise reproduce its unchanged launch command once, from the affected workspace, capturing both stdout and stderr plus the exit code. Do not initially add --source, replace the configuration, remove global.json, clear caches, or install another copy: those change the conditions being diagnosed.

A stdio MCP server may remain running waiting for protocol input. Keep stdin open while observing startup and use a bounded execution (for example, 30 seconds) with cleanup of only the diagnostic process tree, including credential-provider children. Use the host's supported timeout/cancellation facility; if it cannot safely clean up, ask the user to run the command locally instead. Do not leave a background server running or kill unrelated dotnet processes. A timeout, silence, or an open process is not proof that MCP initialized.

Only if package availability remains unclear, run this supporting probe under the same workspace settings with a bounded execution:

dotnet package search Microsoft.AITools.BinlogMcp --exact-match --prerelease --format json

Inspect the exact package ID and version in searchResult[].packages, and check both top-level and per-source problems. Exit code zero alone does not establish a successful search.

Observed evidence Diagnosis and next action
dnx reports no matching version in the configured feeds Those settings did not resolve the package. Check whether the approved mirror provides prerelease versions of this exact package.
Search returns no packages and no source problems Only the searched feeds lack a listed match. This is not proof that dnx must fail: a cached tool or unlisted version may still work.
Search has top-level/per-source problems, HTTP 401/403, TLS, network, or credential-provider errors Availability is unverified, not "package missing." Address the specific feed/access failure first, even if search exited zero.
Search finds the package but dnx fails
자주 묻는 질문

빌드 로그 안의 오류를 분석하나요?

아니요. 빌드 오류 분석은 binlog 실패 분석 스킬로 합니다.

보안 설정을 우회하나요?

아니요. 정책을 우회하지 않고 연결을 복구합니다.

빌드를 실행해야 하나요?

아니요. 서버 실행을 진단하며, binlog 파일이나 프로젝트 빌드는 필요하지 않습니다.

상세 정보

작성자의 원본 설명

Diagnose dotnet-msbuild binlog MCP startup failures. USE FOR: CONNECTION_CLOSED, binlog server won't connect, missing binlog tools, Microsoft.AITools.BinlogMcp not found, dnx launch errors. Checks workspace SDK, feeds, and source mapping without bypassing policy. DO NOT USE FOR: errors inside a binlog (use binlog-failure-analysis), capturing binlogs (use binlog-generation), unrelated MCP servers.

repo: dotnet/skills

인기도

GitHub 스타
5.8k
순위
#14609
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬