MCP WatchdogRepository: github.com/vaibhav11123/mcp-watchdog VS Code / Cursor extension that runs a parallel health layer over MCP servers defined in This does not replace the editor’s built-in MCP integration. It opens its own MCP client connections only to monitor reachability and latency. Install
After install, reload the window if commands or views do not appear. Requirements
Quick start
ScreenshotsStatus bar — aggregate health (
Servers view — per-server state and last ping latency in the MCP Watchdog activity bar sidebar:
Example
|
| Setting | Default | Description |
|---|---|---|
pingIntervalMs |
30000 |
Ping cadence (ms). |
maxRetries |
5 |
Max reconnect attempts before marking failed. |
initialBackoffMs |
1000 |
First backoff after failure (ms). |
backoffMultiplier |
1.5 |
Backoff multiplier. |
maxBackoffMs |
30000 |
Backoff cap (ms). |
Changes apply on reload or when mcp.json is reloaded; live settings refresh without reload is not implemented yet.
Privacy & data
- No bundled analytics or telemetry from this extension.
- Traffic goes to your configured MCP servers only (stdio child processes and HTTP clients you define in
mcp.json). - Do not commit secrets inside
mcp.jsonin shared repos; use environment variables or secret stores appropriate to your team.
Known limitations
- Workspace
mcp.jsononly (first root folder). User-global MCP config paths are not read. - Independent of the editor’s MCP UI: native MCP may show different state until the next Watchdog ping.
- HTTP transport may combine SDK-level reconnection with Watchdog-level retries.
- Malformed
mcp.json: invalid JSON shows an error notification; fix the file and save.
Troubleshooting
| Symptom | What to check |
|---|---|
| No MCP Watchdog in Output / no status | Folder open? .vscode/mcp.json present? Try Developer: Show Running Extensions → MCP Watchdog activated. |
| No servers / 0/n | servers key missing or empty; path is wrong root in multi-root. |
| Connecting forever | npx/network blocked; stdio command wrong; HTTP URL/firewall. |
Ping failed: Not connected then retry |
Expected after killing a server or network blip; Watchdog should reconnect within your backoff settings. |
See Screenshots above for the Marketplace / README visuals.
Development
npm install
npm run compile
npm run build
- Run Extension / Run Extension (mcp-watchdog-test workspace) from
.vscode/launch.json. - Fixture:
mcp-watchdog-test/(optional; not shipped in VSIX). - Headless smoke:
npm run smoke.
See CHANGELOG.md.
Ship checklist (maintainers)
publisher— Currentlymcp-watchdog; change inpackage.jsonif you use a different Marketplace publisher id.repository/bugs/homepage— Update inpackage.jsonif you publish under a different GitHub org or repo name.version— Bump per semver; summarize inCHANGELOG.md.- README — Screenshots, confirm engine range matches lowest editor you support.
- Publish —
npx @vscode/vsce login <publisher>thennpx @vscode/vsce publish(afternpm run build).
npm run build
npx @vscode/vsce package
# install locally to verify
cursor --install-extension mcp-watchdog-<version>.vsix
License
MIT — see LICENSE.
Security: see SECURITY.md.

