troubleshoot-binlog-mcp
O que ela faz
Esta skill descobre por que o servidor de ferramentas de binlog usado pelo plugin não consegue iniciar ou se conectar. É para desenvolvedores que veem erros de conexão ou ferramentas de binlog ausentes na configuração do agente.
Quando usar
- ✓Quando o servidor de binlog mostra um erro de conexão fechada ou suas ferramentas não estão disponíveis.
- ✓Quando o servidor não inicia com uma mensagem sobre um pacote ausente ou um erro de inicialização.
- ✓Quando o plugin está instalado, mas suas ferramentas de binlog não parecem carregar.
Link da skill
https://github.com/dotnet/skills/blob/main/plugins/dotnet-msbuild/skills/troubleshoot-binlog-mcp/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Meu agente diz que a conexão com o servidor de binlog foi fechada. Você pode descobrir por que ele não inicia?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente verifica o erro e a configuração do host, compara o SDK do espaço de trabalho, os feeds de pacotes e as configurações de origem e sugere uma recuperação que siga as suas políticas.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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 |
Perguntas frequentes
Ela analisa erros dentro de um log de build?
Não. A análise de erros de build é feita com a skill de análise de falhas de binlog.
Ela contorna minhas configurações de segurança?
Não. A skill recupera a conexão sem contornar nenhuma política.
Precisa de um build para rodar?
Não. Ela diagnostica a inicialização do servidor e não precisa de um arquivo binlog nem de um build do projeto.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 5,8 mil
- Posição no ranking
- #14609
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
create-custom-agent
5,8 milAjuda seu agente a criar arquivos de agentes personalizados para o VS Code, com suas próprias ferramentas, instruções e transferências para outros agentes.
create-skill
5,8 milAjuda seu agente a criar uma nova skill de agente com nome válido, uma descrição clara de quando usá-la e um arquivo SKILL.md que segue o padrão.
csharp-scripts
5,8 milAjuda seu agente a rodar um pequeno programa C# como um único arquivo com a ferramenta de linha de comando do .NET, sem criar um projeto completo.
dotnet-pinvoke
5,8 milAjuda seu agente a chamar corretamente bibliotecas nativas em C ou C++ a partir do .NET, cobrindo assinaturas, tratamento de strings, memória e handles seguros.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.