本文へスキップ
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がスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/dotnet/skills/blob/main/plugins/dotnet-msbuild/skills/troubleshoot-binlog-mcp/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル