covdbg
What it does
C++ code coverage on Windows for AI agents. Find uncovered code from PDBs, no rebuild.
- Connects パソコンで動く
- Account or key Needs COVDBG_PROJECT_TOKEN
- Category 開発者ツール
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
ファイルをダブルクリックし、パソコン版 Claude アプリで Install を押す
試してみる
covdbg を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が covdbg を使っていると言うか、回答に covdbg のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ covdbg につなげません
covdbg はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · covdbg につなげるアプリを使う
- キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code はまだ covdbg につなげません
提供元はパソコン版 Claude アプリ用のインストールファイルしか用意していません
代わりにできること
A · covdbg につなげるアプリを使う
- キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
Cursor はまだ covdbg につなげません
提供元はパソコン版 Claude アプリ用のインストールファイルしか用意していません
代わりにできること
A · covdbg につなげるアプリを使う
- キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
VS Code はまだ covdbg につなげません
提供元はパソコン版 Claude アプリ用のインストールファイルしか用意していません
代わりにできること
A · covdbg につなげるアプリを使う
- キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
開発者向け:ターミナルのコマンドと JSON 設定
自分で入力する値
COVDBG_PROJECT_TOKEN秘密 envProject token for CI or headless use. Not needed after `covdbg login`.COVDBG_OUTPUTenvFixed default output location for coverage databases.
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
- 週あたりのダウンロードi
- npm/PyPIにない
- 確認済みドメイン
- ✓ covdbg.com
- 接続方法
- パソコンで動く
- 最新バージョンi
- 1.5.1
- レジストリ公開日i
- 2026年10月29日
- コードの最終更新i
- 2026年10月29日
- 作者
- liasoft
- パッケージ
mcpb: …/covdbg.mcpb- ウェブサイト
- covdbg.com
- レジストリでの状態
- 有効
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月12日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名はドメイン covdbg.com で確認済みです(レジストリがドメインの所有を確認しています)
- ✓ 合格
今もメンテナンスされている
コードの最終更新:14 日前
- ✓ 合格
ライセンスがある
Apache-2.0を使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5786件のうち0%よりスターが多い
- このカテゴリのほかの5786件のうち63%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5786件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
covdbgは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:COVDBG_PROJECT_TOKEN
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は14 日前、最新バージョン(1.5.1)がレジストリに届いたのは14 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにMCPBも必要です。
代わりに使えるものは?
同じカテゴリには:REA, GitHub, Serena MCP: the IDE for your agent
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
covdbg-mcp
MCP server for covdbg: C++ code coverage on Windows for AI agents. Run tests, find uncovered code, and add targeted tests. No rebuild required.
covdbg measures coverage of the Windows binaries you already build, using their PDB debug information: x64, ARM64 and 32-bit x86. It works like a debugger: it starts your executable, reads the PDB, and places lightweight probes while the program runs. The MCP server is built into the covdbg executable (since v1.3.0) and is started with covdbg mcp.
This repository holds the MCP registry metadata (server.json, glama.json) and the MCP Bundle manifest (manifest.json) for covdbg. The server itself ships with covdbg.
What an agent can do
- Run coverage on a test executable without rebuilding it.
- Rank files by uncovered lines.
- Read the uncovered code with surrounding context.
- Add a focused test, re-run it, and confirm the gap is closed.
- Query coverage databases (
.covdb) with read-only SQL, and merge them, also across checkouts and builds.
Requirements
- Windows x64, or Windows on ARM (ARM64)
- covdbg 1.3.0 or newer. This README describes covdbg 1.5.1.
- An executable with PDB debug symbols (MSVC or any PDB-producing toolchain). The x64 covdbg measures x64 and 32-bit x86 programs; the ARM64 covdbg measures ARM64 programs (covdbg 1.5 and newer).
- A one-time
covdbg login(covdbg 1.4 and newer sign in to one team, and runs need a seat in that team), orCOVDBG_PROJECT_TOKENfor CI. A public repository in GitHub Actions needs neither (covdbg 1.5 and newer, see Licensing in CI). - A
.covdbg.yamlnext to the target executable, or aconfig_pathpassed torun(see the configuration reference)
Install covdbg
- Installer (recommended): installer.msi, or installer-arm64.msi for Windows on ARM. It installs to
%LocalAppData%\Programs\Liasoft\covdbgand adds that directory to your userPATH. - Portable: portable.zip, or portable-arm64.zip for Windows on ARM. Extract it anywhere and add the directory to your
PATHyourself. Keep the agent DLLs next tocovdbg.exe: covdbg looks for them only there.
There is no separate 32-bit covdbg. The x64 build ships libcovdbg32.dll, a 32-bit build of its agent, and measures 32-bit programs with the same covdbg.exe.
Then open a new terminal and sign in:
covdbg --version
covdbg login
Sign-in is team-scoped: in the browser you choose one team (your personal team, or a team you own or hold a seat in), and the agent's runs are licensed for that team. Use covdbg login --team to choose it up front, and covdbg whoami to see which team is active.
Licensing in CI
In CI, set COVDBG_PROJECT_TOKEN in the server's environment; the run is licensed for the token's team.
A public repository in GitHub Actions needs no project token (covdbg 1.5 and newer). Grant the job permissions: id-token: write: without COVDBG_PROJECT_TOKEN and without a stored sign-in, covdbg presents the token GitHub issues to the job, which names the repository it runs in. GitHub issues no such token to a pull request from a fork. A private repository still needs a project token, and a project token that is set takes precedence.
Client setup
The server uses stdio transport. Start it from your project directory, or pass --workspace .
| Option | Environment variable | Default | Purpose |
|---|---|---|---|
--workspace | working directory | The project directory; the default root for discover | |
--query-timeout | COVDBG_MCP_QUERY_TIMEOUT_MS | 5000 | How long one query statement may run, 1 to 600000 ms (covdbg 1.5 and newer). The option wins over the variable. |
Claude Code
From the project directory:
claude mcp add covdbg -- covdbg mcp
Or add a project .mcp.json:
{
"mcpServers": { "covdbg": { "command": "covdbg", "args": ["mcp"] } } }
VS Code
.vscode/mcp.json:
{
"servers": { "covdbg": { "type": "stdio", "command": "covdbg", "args": ["mcp", "--workspace", "${workspaceFolder}"] } } }
Cursor
.cursor/mcp.json:
{
"mcpServers": { "covdbg": { "command": "covdbg", "args": ["mcp"] } } }
Claude Desktop (MCP Bundle)
- Download
covdbg.mcpbfrom the latest release. - Open it with Claude Desktop, or drag it into Settings → Extensions.
- Set the following:
- covdbg executable: the path to
covdbg.exe. The default is the MSI install location. - Workspace: your project directory.
- Project token: optional. Leave it empty if you have run
covdbg login; runs are then licensed for the team you signed in to (seecovdbg whoami).
The bundle does not contain covdbg itself. It launches your installed covdbg.exe, so covdbg updates take effect without a new bundle.
Tools
| Tool | Purpose | Main inputs |
|---|---|---|
guide | Workflow and configuration guidance. Call it before the first run. | optional topic (workflow, config, excludes, baseline, merging, uncovered, children, libraries) |
discover | Find executables and coverage databases | optional root |
run | Start a coverage run; returns a run session right away | target; optional target_arguments, config_path, output_path, follow_children |
wait_run | Wait briefly or collect the completed result | session_id; optional timeout_seconds |
cancel_run | End a run: covdbg, the target and every process they started | session_id |
open_coverage | Open an existing database read-only | path |
files | Rank files by uncovered lines | session_id; optional limit, max_coverage_percent |
code | Read uncovered source segments with context | session_id, file_path |
query | Run one read-only SQL statement, within a time limit | session_id, sql; optional max_rows |
merge | Combine databases, also from different checkouts and builds | input_paths, output_path |
close | Release a run or coverage session | session_id |
Limits and behavior
- Run session IDs start with
run-; coverage session IDs start withcovdb-. - At most 8 runs in flight and 32 open coverage sessions. A run counts while its covdbg process is alive; once
wait_runhas seen it finish, it no longer takes a slot. wait_runblocks for at most 30 seconds. If it reportsstillRunning, call it again.- Run outcomes are
success,nothing_measured,license_failure, orerror.nothing_measured(no_functions_to_trackbefore covdbg 1.5.1) means the target ran to its end, but no function passed the coverage filter, so the database covdbg wrote is empty;outputLinessay why, after "nothing was measured". Before covdbg 1.5.1, the target did not run at all. - covdbg's exit code does not carry the target's exit code, so check test results separately. From covdbg 1.5.1, covdbg says in
outputLines, below the program's output, how the program exited. cancel_run, andcloseon a run that is still going, end the run's whole process tree at once: covdbg, the target and every process either of them started (covdbg 1.5.1 and newer; before, a process they started kept running untilclose). A run that cannot be set up that way is not started, andrunsays why.- A
.covdbg.yamlthat covdbg refuses, such as a value of the wrong shape (include: "src/**"where a list belongs) or an unknowntype:, ends the run with outcomeerror, andoutputLinesname the key with its line and column. A key covdbg does not know is a warning inoutputLines, and the run goes on (covdbg 1.5.1 and newer). follow_childrenmeasures the processes the target starts. A launcher without debug information of its own, such asctest.exeorcmd.exe, runs unmeasured and covdbg measures its children, sorunwith targetctest.exe,target_arguments--test-dir buildandfollow_childrenmeasures the test binaries CTest runs. Every process of one binary adds its hits to one database (covdbg 1.5 and newer).querystops a statement still running at the time limit, 5000 ms unless--query-timeoutsays otherwise, and answers with an error; the session stays open. It also bounds a statement's size: at most 100 KiB of SQL, expressions nested 250 deep, 100SELECTs in one compound,LIKE/GLOBpatterns of 1000 bytes, and 16 MiB for any one string or blob (covdbg 1.5 and newer).mergematches source files recorded in different checkouts by their path relative to each run'ssource_root, and keeps different builds at one module path, such as the x64 and ARM64 builds of a test, side by side (covdbg 1.5 and newer).remappedModulesandremappedFilessay how many it matched that way.- covdbg 1.5.1 writes coverage databases with schema 9 and refuses
.covdbfiles written by covdbg 1.5.0 or earlier, and covdbg 1.5.0 refuses those of 1.5.1.open_coveragenames both versions. Record that coverage again, with the same covdbg everywhere databases are merged or opened.
Upgrading while the server runs
From covdbg 1.5.0, the installer can upgrade or uninstall covdbg while a client holds covdbg mcp open, without a reboot. The running server keeps answering from the old version, and the runs it starts use the newly installed covdbg.exe. Reconnect the server to get the new version of the server itself: in Claude Code, /mcp → covdbg → Reconnect.
Environment variables
| Variable | Purpose |
|---|---|
COVDBG_PROJECT_TOKEN | Project token for CI or headless use. Local use relies on covdbg login, which is bound to one team. |
COVDBG_OUTPUT | Fixed default output location. Avoid reusing one location across a suite, since later runs overwrite earlier results. |
COVDBG_MCP_QUERY_TIMEOUT_MS | Time limit for one query statement, 1 to 600000 ms (default 5000). A value outside that range is ignored. --query-timeout wins when both are given. |
Documentation
Publishing (maintainers)
Keep version in manifest.json and server.json, and the release tag in the server.json package URL, in sync.
- Build the bundle.
.mcpbignorelimits it tomanifest.json,icon.pngandLICENSE:
npx @anthropic-ai/mcpb validate manifest.json
npx @anthropic-ai/mcpb pack . covdbg.mcpb
- Create the GitHub release
vand uploadcovdbg.mcpbas an asset. - Put the bundle's hash into
fileSha256inserver.json:
(Get-FileHash covdbg.mcpb -Algorithm SHA256).Hash.ToLower()
- Publish to the MCP registry. The
com.covdbg/*namespace uses DNS authentication oncovdbg.com:
mcp-publisher login dns --domain covdbg.com --private-key <key>
mcp-publisher publish
- Glama picks up
glama.jsonfrom the repository.
License
The metadata in this repository is licensed under the Apache License 2.0. covdbg itself is licensed separately, with Free, Team, and Enterprise plans. See [covdbg.com](http